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
NameDescription
valuesIterable<? extends com.google.cloud.video.transcoder.v1beta1.TextStream.TextAtom.TextInput>
Returns
TypeDescription
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
NameDescription
valueTextStream.TextAtom.TextInput
Returns
TypeDescription
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
NameDescription
builderForValueTextStream.TextAtom.TextInput.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTextStream.TextAtom.TextInput
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTextStream.TextAtom.TextInput.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtom.TextInput.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

build()

public TextStream.TextAtom build()
Returns
TypeDescription
TextStream.TextAtom

buildPartial()

public TextStream.TextAtom buildPartial()
Returns
TypeDescription
TextStream.TextAtom

clear()

public TextStream.TextAtom.Builder clear()
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextAtom.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TextStream.TextAtom.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TextStream.TextAtom.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

clone()

public TextStream.TextAtom.Builder clone()
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

getDefaultInstanceForType()

public TextStream.TextAtom getDefaultInstanceForType()
Returns
TypeDescription
TextStream.TextAtom

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for key.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TextStream.TextAtom other)

public TextStream.TextAtom.Builder mergeFrom(TextStream.TextAtom other)
Parameter
NameDescription
otherTextStream.TextAtom
Returns
TypeDescription
TextStream.TextAtom.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TextStream.TextAtom.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TextStream.TextAtom.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TextStream.TextAtom.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextAtom.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTextStream.TextAtom.TextInput
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTextStream.TextAtom.TextInput.Builder
Returns
TypeDescription
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
NameDescription
valueString

The key to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextAtom.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TextStream.TextAtom.Builder
Overrides