Interface TextStreamOrBuilder

public interface TextStreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCodec()

public abstract String getCodec()

The codec for this text stream. The default is "webvtt". Supported text codecs:

  • 'srt'
  • 'ttml'
  • 'cea608'
  • 'cea708'
  • 'webvtt'

string codec = 1;

Returns
TypeDescription
String

The codec.

getCodecBytes()

public abstract ByteString getCodecBytes()

The codec for this text stream. The default is "webvtt". Supported text codecs:

  • 'srt'
  • 'ttml'
  • 'cea608'
  • 'cea708'
  • 'webvtt'

string codec = 1;

Returns
TypeDescription
ByteString

The bytes for codec.

getLanguageCode()

public abstract String getLanguageCode()

Required. 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) = REQUIRED];

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Required. 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) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for languageCode.

getMapping(int index)

public abstract TextStream.TextAtom getMapping(int index)

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom mapping = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtom

getMappingCount()

public abstract int getMappingCount()

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom mapping = 3;

Returns
TypeDescription
int

getMappingList()

public abstract List<TextStream.TextAtom> getMappingList()

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom mapping = 3;

Returns
TypeDescription
List<TextAtom>

getMappingOrBuilder(int index)

public abstract TextStream.TextAtomOrBuilder getMappingOrBuilder(int index)

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom mapping = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtomOrBuilder

getMappingOrBuilderList()

public abstract List<? extends TextStream.TextAtomOrBuilder> getMappingOrBuilderList()

The mapping for the Job.edit_list atoms with text EditAtom.inputs.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom mapping = 3;

Returns
TypeDescription
List<? extends com.google.cloud.video.transcoder.v1beta1.TextStream.TextAtomOrBuilder>