Class TextStream.TextMapping.Builder (1.50.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public TextStream.TextMapping.Builder clear()
Returns
Type Description
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
Type Description
TextStream.TextMapping.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TextStream.TextMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
TextStream.TextMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TextStream.TextMapping.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for atomKey.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The inputTrack.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TextStream.TextMapping other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TextStream.TextMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The atomKey to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for atomKey to set.

Returns
Type Description
TextStream.TextMapping.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TextStream.TextMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The inputKey to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for inputKey to set.

Returns
Type Description
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
Name Description
value int

The inputTrack to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TextStream.TextMapping.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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