Interface TextStreamOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextStream,TextStream.Builder
@Generated
public interface TextStreamOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCodec()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getMapping(int index) Optional.intOptional.Optional.getMappingOrBuilder(int index) Optional.List<? extends TextStream.TextMappingOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.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
-
getCodec
String getCodec()Required. The codec for this text stream. Supported text codecs: - `cea608` - `cea708` - `webvtt`
string codec = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The codec.
-
getCodecBytes
com.google.protobuf.ByteString getCodecBytes()Required. The codec for this text stream. Supported text codecs: - `cea608` - `cea708` - `webvtt`
string codec = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for codec.
-
getLanguageCode
String getLanguageCode()Optional. The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The BCP-47 language code, such as `en-US` or `sr-Latn`. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
getDisplayName
String getDisplayName()Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getOutputCeaChannel
String getOutputCeaChannel()Optional. The channel of the closed caption in the output stream. This field should only be set when textstream is used for partner distribution. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea608`; Must be one between `SERVICE1` and `SERVICE63`, if the [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea708`.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The outputCeaChannel.
-
getOutputCeaChannelBytes
com.google.protobuf.ByteString getOutputCeaChannelBytes()Optional. The channel of the closed caption in the output stream. This field should only be set when textstream is used for partner distribution. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea608`; Must be one between `SERVICE1` and `SERVICE63`, if the [codec][google.cloud.video.livestream.v1.TextStream.codec] is `cea708`.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for outputCeaChannel.
-
getMappingList
List<TextStream.TextMapping> getMappingList()Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMapping
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMappingCount
int getMappingCount()Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMappingOrBuilderList
List<? extends TextStream.TextMappingOrBuilder> getMappingOrBuilderList()Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMappingOrBuilder
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
-