- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
public static final class TextStream.Builder extends GeneratedMessageV3.Builder<TextStream.Builder> implements TextStreamOrBuilder
Encoding of a text stream. For example, closed captions or subtitles.
Protobuf type google.cloud.video.transcoder.v1.TextStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TextStream.BuilderImplements
TextStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMapping(Iterable<? extends TextStream.TextMapping> values)
public TextStream.Builder addAllMapping(Iterable<? extends TextStream.TextMapping> values)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
values | Iterable<? extends com.google.cloud.video.transcoder.v1.TextStream.TextMapping> |
Type | Description |
TextStream.Builder |
addMapping(TextStream.TextMapping value)
public TextStream.Builder addMapping(TextStream.TextMapping value)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
value | TextStream.TextMapping |
Type | Description |
TextStream.Builder |
addMapping(TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder addMapping(TextStream.TextMapping.Builder builderForValue)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
builderForValue | TextStream.TextMapping.Builder |
Type | Description |
TextStream.Builder |
addMapping(int index, TextStream.TextMapping value)
public TextStream.Builder addMapping(int index, TextStream.TextMapping value)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
value | TextStream.TextMapping |
Type | Description |
TextStream.Builder |
addMapping(int index, TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder addMapping(int index, TextStream.TextMapping.Builder builderForValue)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
builderForValue | TextStream.TextMapping.Builder |
Type | Description |
TextStream.Builder |
addMappingBuilder()
public TextStream.TextMapping.Builder addMappingBuilder()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
TextStream.TextMapping.Builder |
addMappingBuilder(int index)
public TextStream.TextMapping.Builder addMappingBuilder(int index)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
Type | Description |
TextStream.TextMapping.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TextStream.Builder |
build()
public TextStream build()
Type | Description |
TextStream |
buildPartial()
public TextStream buildPartial()
Type | Description |
TextStream |
clear()
public TextStream.Builder clear()
Type | Description |
TextStream.Builder |
clearCodec()
public TextStream.Builder clearCodec()
The codec for this text stream. The default is webvtt
.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
Type | Description |
TextStream.Builder | This builder for chaining. |
clearDisplayName()
public TextStream.Builder clearDisplayName()
The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4;
Type | Description |
TextStream.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TextStream.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TextStream.Builder |
clearLanguageCode()
public TextStream.Builder clearLanguageCode()
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;
Type | Description |
TextStream.Builder | This builder for chaining. |
clearMapping()
public TextStream.Builder clearMapping()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
TextStream.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TextStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TextStream.Builder |
clone()
public TextStream.Builder clone()
Type | Description |
TextStream.Builder |
getCodec()
public String getCodec()
The codec for this text stream. The default is webvtt
.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
Type | Description |
String | The codec. |
getCodecBytes()
public ByteString getCodecBytes()
The codec for this text stream. The default is webvtt
.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
Type | Description |
ByteString | The bytes for codec. |
getDefaultInstanceForType()
public TextStream getDefaultInstanceForType()
Type | Description |
TextStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4;
Type | Description |
ByteString | The bytes for displayName. |
getLanguageCode()
public String getLanguageCode()
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;
Type | Description |
String | The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
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;
Type | Description |
ByteString | The bytes for languageCode. |
getMapping(int index)
public TextStream.TextMapping getMapping(int index)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
Type | Description |
TextStream.TextMapping |
getMappingBuilder(int index)
public TextStream.TextMapping.Builder getMappingBuilder(int index)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
Type | Description |
TextStream.TextMapping.Builder |
getMappingBuilderList()
public List<TextStream.TextMapping.Builder> getMappingBuilderList()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
List<Builder> |
getMappingCount()
public int getMappingCount()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
int |
getMappingList()
public List<TextStream.TextMapping> getMappingList()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
List<TextMapping> |
getMappingOrBuilder(int index)
public TextStream.TextMappingOrBuilder getMappingOrBuilder(int index)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
Type | Description |
TextStream.TextMappingOrBuilder |
getMappingOrBuilderList()
public List<? extends TextStream.TextMappingOrBuilder> getMappingOrBuilderList()
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Type | Description |
List<? extends com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TextStream other)
public TextStream.Builder mergeFrom(TextStream other)
Name | Description |
other | TextStream |
Type | Description |
TextStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TextStream.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TextStream.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TextStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TextStream.Builder |
removeMapping(int index)
public TextStream.Builder removeMapping(int index)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
Type | Description |
TextStream.Builder |
setCodec(String value)
public TextStream.Builder setCodec(String value)
The codec for this text stream. The default is webvtt
.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
Name | Description |
value | String The codec to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setCodecBytes(ByteString value)
public TextStream.Builder setCodecBytes(ByteString value)
The codec for this text stream. The default is webvtt
.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
Name | Description |
value | ByteString The bytes for codec to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setDisplayName(String value)
public TextStream.Builder setDisplayName(String value)
The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4;
Name | Description |
value | String The displayName to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public TextStream.Builder setDisplayNameBytes(ByteString value)
The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TextStream.Builder |
setLanguageCode(String value)
public TextStream.Builder setLanguageCode(String value)
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;
Name | Description |
value | String The languageCode to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public TextStream.Builder setLanguageCodeBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for languageCode to set. |
Type | Description |
TextStream.Builder | This builder for chaining. |
setMapping(int index, TextStream.TextMapping value)
public TextStream.Builder setMapping(int index, TextStream.TextMapping value)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
value | TextStream.TextMapping |
Type | Description |
TextStream.Builder |
setMapping(int index, TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder setMapping(int index, TextStream.TextMapping.Builder builderForValue)
The mapping for the Job.edit_list
atoms with text EditAtom.inputs
.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
Name | Description |
index | int |
builderForValue | TextStream.TextMapping.Builder |
Type | Description |
TextStream.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TextStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TextStream.Builder |