Class TextStream.TextAtom.Builder (0.4.3)

public static final class TextStream.TextAtom.Builder extends GeneratedMessageV3.Builder<TextStream.TextAtom.Builder> implements TextStream.TextAtomOrBuilder

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

Protobuf type google.cloud.video.transcoder.v1beta1.TextStream.TextAtom

Methods

addAllInputs(Iterable<? extends TextStream.TextAtom.TextInput> values)

public TextStream.TextAtom.Builder addAllInputs(Iterable<? extends TextStream.TextAtom.TextInput> values)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput>
Returns
Type Description
TextStream.TextAtom.Builder

addInputs(TextStream.TextAtom.TextInput value)

public TextStream.TextAtom.Builder addInputs(TextStream.TextAtom.TextInput value)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
value TextStream.TextAtom.TextInput
Returns
Type Description
TextStream.TextAtom.Builder

addInputs(TextStream.TextAtom.TextInput.Builder builderForValue)

public TextStream.TextAtom.Builder addInputs(TextStream.TextAtom.TextInput.Builder builderForValue)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
builderForValue TextStream.TextAtom.TextInput.Builder
Returns
Type Description
TextStream.TextAtom.Builder

addInputs(int index, TextStream.TextAtom.TextInput value)

public TextStream.TextAtom.Builder addInputs(int index, TextStream.TextAtom.TextInput value)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameters
Name Description
index int
value TextStream.TextAtom.TextInput
Returns
Type Description
TextStream.TextAtom.Builder

addInputs(int index, TextStream.TextAtom.TextInput.Builder builderForValue)

public TextStream.TextAtom.Builder addInputs(int index, TextStream.TextAtom.TextInput.Builder builderForValue)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameters
Name Description
index int
builderForValue TextStream.TextAtom.TextInput.Builder
Returns
Type Description
TextStream.TextAtom.Builder

addInputsBuilder()

public TextStream.TextAtom.TextInput.Builder addInputsBuilder()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
TextStream.TextAtom.TextInput.Builder

addInputsBuilder(int index)

public TextStream.TextAtom.TextInput.Builder addInputsBuilder(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TextStream.TextAtom.TextInput.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

build()

public TextStream.TextAtom build()
Returns
Type Description
TextStream.TextAtom

buildPartial()

public TextStream.TextAtom buildPartial()
Returns
Type Description
TextStream.TextAtom

clear()

public TextStream.TextAtom.Builder clear()
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextAtom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

clearInputs()

public TextStream.TextAtom.Builder clearInputs()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
TextStream.TextAtom.Builder

clearKey()

public TextStream.TextAtom.Builder clearKey()

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TextStream.TextAtom.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TextStream.TextAtom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

clone()

public TextStream.TextAtom.Builder clone()
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

getDefaultInstanceForType()

public TextStream.TextAtom getDefaultInstanceForType()
Returns
Type Description
TextStream.TextAtom

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputs(int index)

public TextStream.TextAtom.TextInput getInputs(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TextStream.TextAtom.TextInput

getInputsBuilder(int index)

public TextStream.TextAtom.TextInput.Builder getInputsBuilder(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TextStream.TextAtom.TextInput.Builder

getInputsBuilderList()

public List<TextStream.TextAtom.TextInput.Builder> getInputsBuilderList()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
List<Builder>

getInputsCount()

public int getInputsCount()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
int

getInputsList()

public List<TextStream.TextAtom.TextInput> getInputsList()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
List<TextInput>

getInputsOrBuilder(int index)

public TextStream.TextAtom.TextInputOrBuilder getInputsOrBuilder(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TextStream.TextAtom.TextInputOrBuilder

getInputsOrBuilderList()

public List<? extends TextStream.TextAtom.TextInputOrBuilder> getInputsOrBuilderList()

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Returns
Type Description
List<? extends com.google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInputOrBuilder>

getKey()

public String getKey()

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for key.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TextStream.TextAtom other)

public TextStream.TextAtom.Builder mergeFrom(TextStream.TextAtom other)
Parameter
Name Description
other TextStream.TextAtom
Returns
Type Description
TextStream.TextAtom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TextStream.TextAtom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TextStream.TextAtom.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public TextStream.TextAtom.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

removeInputs(int index)

public TextStream.TextAtom.Builder removeInputs(int index)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameter
Name Description
index int
Returns
Type Description
TextStream.TextAtom.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

setInputs(int index, TextStream.TextAtom.TextInput value)

public TextStream.TextAtom.Builder setInputs(int index, TextStream.TextAtom.TextInput value)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameters
Name Description
index int
value TextStream.TextAtom.TextInput
Returns
Type Description
TextStream.TextAtom.Builder

setInputs(int index, TextStream.TextAtom.TextInput.Builder builderForValue)

public TextStream.TextAtom.Builder setInputs(int index, TextStream.TextAtom.TextInput.Builder builderForValue)

List of Job.inputs that should be embedded in this atom. Only one input is supported.

repeated .google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput inputs = 2;

Parameters
Name Description
index int
builderForValue TextStream.TextAtom.TextInput.Builder
Returns
Type Description
TextStream.TextAtom.Builder

setKey(String value)

public TextStream.TextAtom.Builder setKey(String value)

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The key to set.

Returns
Type Description
TextStream.TextAtom.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public TextStream.TextAtom.Builder setKeyBytes(ByteString value)

Required. The EditAtom.key that references atom with text inputs in the Job.edit_list.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
TextStream.TextAtom.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TextStream.TextAtom.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TextStream.TextAtom.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TextStream.TextAtom.Builder
Overrides