Class TextStream.TextMapping.Builder (1.82.0)

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

The mapping for the JobConfig.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

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 JobConfig.edit_list.

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

Returns
Type Description
TextStream.TextMapping.Builder

This builder for chaining.

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.

getAtomKey()

public String getAtomKey()

Required. The EditAtom.key that references atom with text inputs in the JobConfig.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 JobConfig.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 GeneratedMessage.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

setAtomKey(String value)

public TextStream.TextMapping.Builder setAtomKey(String value)

Required. The EditAtom.key that references atom with text inputs in the JobConfig.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 JobConfig.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.

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.