Interface DistributionStreamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DistributionStream,DistributionStream.Builder
@Generated
public interface DistributionStreamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.getElementaryStreams(int index) Required.com.google.protobuf.ByteStringgetElementaryStreamsBytes(int index) Required.intRequired.Required.getKey()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKey
String getKey()Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.
string key = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for key.
-
getContainer
String getContainer()Required. The container format. Supported container formats: - `ts`, must contain exactly one audio stream and up to one video stream. - `flv`, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()Required. The container format. Supported container formats: - `ts`, must contain exactly one audio stream and up to one video stream. - `flv`, must contain at most one audio stream and at most one video stream.
string container = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for container.
-
getElementaryStreamsList
Required. List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- A list containing the elementaryStreams.
-
getElementaryStreamsCount
int getElementaryStreamsCount()Required. List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The count of elementaryStreams.
-
getElementaryStreams
Required. List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the element to return.- Returns:
- The elementaryStreams at the given index.
-
getElementaryStreamsBytes
com.google.protobuf.ByteString getElementaryStreamsBytes(int index) Required. List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this stream. Must contain at least one audio stream and up to one video stream.
repeated string elementary_streams = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the elementaryStreams at the given index.
-