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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
ReturnsMethods
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;
ParameterName | Description |
values | Iterable<? extends com.google.cloud.video.transcoder.v1.TextStream.TextMapping>
|
ReturnsaddMapping(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;
ParameterReturnsaddMapping(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;
ParameterReturnsaddMapping(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;
ParametersReturnsaddMapping(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;
ParametersReturnsaddMappingBuilder()
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;
ReturnsaddMappingBuilder(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;
ParameterReturnsaddRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridesbuild()
public TextStream build()
ReturnsbuildPartial()
public TextStream buildPartial()
Returnsclear()
public TextStream.Builder clear()
ReturnsOverridesclearCodec()
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;
ReturnsclearField(Descriptors.FieldDescriptor field)
public TextStream.Builder clearField(Descriptors.FieldDescriptor field)
ParameterReturnsOverridesclearMapping()
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;
ReturnsclearOneof(Descriptors.OneofDescriptor oneof)
public TextStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
ParameterReturnsOverridesclone()
public TextStream.Builder clone()
ReturnsOverridesgetCodec()
The codec for this text stream. The default is webvtt
. Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
ReturnsType | 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;
ReturnsgetDefaultInstanceForType()
public TextStream getDefaultInstanceForType()
ReturnsgetDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
ReturnsOverridesgetMapping(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;
ParameterReturnsgetMappingBuilder(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;
ParameterReturnsgetMappingBuilderList()
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;
ReturnsgetMappingCount()
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;
ReturnsgetMappingList()
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;
ReturnsgetMappingOrBuilder(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;
ParameterReturnsgetMappingOrBuilderList()
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;
ReturnsType | Description |
List<? extends com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridesisInitialized()
public final boolean isInitialized()
ReturnsOverridesmergeFrom(TextStream other)
public TextStream.Builder mergeFrom(TextStream other)
ParameterReturnsmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsOverridesExceptionsmergeFrom(Message other)
public TextStream.Builder mergeFrom(Message other)
ParameterReturnsOverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverridesremoveMapping(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;
ParameterReturnssetCodec(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;
ParameterName | Description |
value | String
The codec to set. |
ReturnssetCodecBytes(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;
ParameterName | Description |
value | ByteString
The bytes for codec to set. |
ReturnssetField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridessetMapping(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;
ParametersReturnssetMapping(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;
ParametersReturnssetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
ParametersReturnsOverridessetUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverrides