Class TextStream.TextMapping.Builder (1.11.0)

public static final class TextStream.TextMapping.Builder extends GeneratedMessageV3.Builder<TextStream.TextMapping.Builder> implements TextStream.TextMappingOrBuilder

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

Protobuf type google.cloud.video.transcoder.v1.TextStream.TextMapping

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearAtomKey()

public TextStream.TextMapping.Builder clearAtomKey()

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

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

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TextStream.TextMapping.Builder
Overrides

clearInputKey()

public TextStream.TextMapping.Builder clearInputKey()

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

clearInputTrack()

public TextStream.TextMapping.Builder clearInputTrack()

Required. The zero-based index of the track in the input file.

int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAtomKey()

public String getAtomKey()

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

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

Returns
TypeDescription
String

The atomKey.

getAtomKeyBytes()

public ByteString getAtomKeyBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for atomKey.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInputKey()

public String getInputKey()

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The inputKey.

getInputKeyBytes()

public ByteString getInputKeyBytes()

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for inputKey.

getInputTrack()

public int getInputTrack()

Required. The zero-based index of the track in the input file.

int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The inputTrack.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TextStream.TextMapping other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TextStream.TextMapping.Builder
Overrides

setAtomKey(String value)

public TextStream.TextMapping.Builder setAtomKey(String value)

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

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

Parameter
NameDescription
valueString

The atomKey to set.

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

setAtomKeyBytes(ByteString value)

public TextStream.TextMapping.Builder setAtomKeyBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for atomKey to set.

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInputKey(String value)

public TextStream.TextMapping.Builder setInputKey(String value)

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The inputKey to set.

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

setInputKeyBytes(ByteString value)

public TextStream.TextMapping.Builder setInputKeyBytes(ByteString value)

Required. The Input.key that identifies the input file.

string input_key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for inputKey to set.

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

setInputTrack(int value)

public TextStream.TextMapping.Builder setInputTrack(int value)

Required. The zero-based index of the track in the input file.

int32 input_track = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The inputTrack to set.

Returns
TypeDescription
TextStream.TextMapping.Builder

This builder for chaining.

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

public TextStream.TextMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TextStream.TextMapping.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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