Interface TextStream.TextMappingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextStream.TextMapping, TextStream.TextMapping.Builder
Enclosing class:
TextStream

public static interface TextStream.TextMappingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getInputKey

      String getInputKey()
       Optional. The `Channel`
       [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
       that identifies the input that this text mapping applies to.
       
      string input_key = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The inputKey.
    • getInputKeyBytes

      com.google.protobuf.ByteString getInputKeyBytes()
       Optional. The `Channel`
       [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
       that identifies the input that this text mapping applies to.
       
      string input_key = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for inputKey.
    • getInputTrack

      int getInputTrack()
       Optional. The zero-based index of the track in the input stream.
       
      int32 input_track = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The inputTrack.
    • getInputCeaChannel

      String getInputCeaChannel()
       Optional. The channel of the closed caption in the input stream.
       If this field is set, the output
       [codec][google.cloud.video.livestream.v1.TextStream.codec] must be
       `webvtt`. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the codec of
       the input closed caption is `cea608`; Must be one between `SERVICE1` and
       `SERVICE64`, if the codec of the input closed caption is `cea708`.
       
      string input_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The inputCeaChannel.
    • getInputCeaChannelBytes

      com.google.protobuf.ByteString getInputCeaChannelBytes()
       Optional. The channel of the closed caption in the input stream.
       If this field is set, the output
       [codec][google.cloud.video.livestream.v1.TextStream.codec] must be
       `webvtt`. Must be one of `CC1`, `CC2`, `CC3`, and `CC4`, if the codec of
       the input closed caption is `cea608`; Must be one between `SERVICE1` and
       `SERVICE64`, if the codec of the input closed caption is `cea708`.
       
      string input_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for inputCeaChannel.
    • getFromLanguageCode

      String getFromLanguageCode()
       Optional. The BCP-47 source language code, such as `en-US` or `sr-Latn`.
       If differ from the textStream's language code, enable translation. For
       more information on BCP-47 language codes, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      string from_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The fromLanguageCode.
    • getFromLanguageCodeBytes

      com.google.protobuf.ByteString getFromLanguageCodeBytes()
       Optional. The BCP-47 source language code, such as `en-US` or `sr-Latn`.
       If differ from the textStream's language code, enable translation. For
       more information on BCP-47 language codes, see
       https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
       
      string from_language_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for fromLanguageCode.