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 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

      TextStream.TextMapping getMapping(int index)
       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

      TextStream.TextMappingOrBuilder getMappingOrBuilder(int index)
       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];