Class AudioStream.AudioMapping.Builder (1.44.0)

public static final class AudioStream.AudioMapping.Builder extends GeneratedMessageV3.Builder<AudioStream.AudioMapping.Builder> implements AudioStream.AudioMappingOrBuilder

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

Protobuf type google.cloud.video.transcoder.v1.AudioStream.AudioMapping

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudioStream.AudioMapping build()
Returns
Type Description
AudioStream.AudioMapping

buildPartial()

public AudioStream.AudioMapping buildPartial()
Returns
Type Description
AudioStream.AudioMapping

clear()

public AudioStream.AudioMapping.Builder clear()
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

clearAtomKey()

public AudioStream.AudioMapping.Builder clearAtomKey()

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

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

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AudioStream.AudioMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

clearGainDb()

public AudioStream.AudioMapping.Builder clearGainDb()

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 6;

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

clearInputChannel()

public AudioStream.AudioMapping.Builder clearInputChannel()

Required. The zero-based index of the channel in the input audio stream.

int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

clearInputKey()

public AudioStream.AudioMapping.Builder clearInputKey()

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

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

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

clearInputTrack()

public AudioStream.AudioMapping.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
AudioStream.AudioMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudioStream.AudioMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

clearOutputChannel()

public AudioStream.AudioMapping.Builder clearOutputChannel()

Required. The zero-based index of the channel in the output audio stream.

int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

clone()

public AudioStream.AudioMapping.Builder clone()
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

getAtomKey()

public String getAtomKey()

Required. The EditAtom.key that references the atom with audio 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 the atom with audio 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 AudioStream.AudioMapping getDefaultInstanceForType()
Returns
Type Description
AudioStream.AudioMapping

getDescriptorForType()

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

getGainDb()

public double getGainDb()

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 6;

Returns
Type Description
double

The gainDb.

getInputChannel()

public int getInputChannel()

Required. The zero-based index of the channel in the input audio stream.

int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The inputChannel.

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.

getOutputChannel()

public int getOutputChannel()

Required. The zero-based index of the channel in the output audio stream.

int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The outputChannel.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AudioStream.AudioMapping other)

public AudioStream.AudioMapping.Builder mergeFrom(AudioStream.AudioMapping other)
Parameter
Name Description
other AudioStream.AudioMapping
Returns
Type Description
AudioStream.AudioMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudioStream.AudioMapping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

setAtomKey(String value)

public AudioStream.AudioMapping.Builder setAtomKey(String value)

Required. The EditAtom.key that references the atom with audio 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
AudioStream.AudioMapping.Builder

This builder for chaining.

setAtomKeyBytes(ByteString value)

public AudioStream.AudioMapping.Builder setAtomKeyBytes(ByteString value)

Required. The EditAtom.key that references the atom with audio 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
AudioStream.AudioMapping.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGainDb(double value)

public AudioStream.AudioMapping.Builder setGainDb(double value)

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 6;

Parameter
Name Description
value double

The gainDb to set.

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

setInputChannel(int value)

public AudioStream.AudioMapping.Builder setInputChannel(int value)

Required. The zero-based index of the channel in the input audio stream.

int32 input_channel = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The inputChannel to set.

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

setInputKey(String value)

public AudioStream.AudioMapping.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
AudioStream.AudioMapping.Builder

This builder for chaining.

setInputKeyBytes(ByteString value)

public AudioStream.AudioMapping.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
AudioStream.AudioMapping.Builder

This builder for chaining.

setInputTrack(int value)

public AudioStream.AudioMapping.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
AudioStream.AudioMapping.Builder

This builder for chaining.

setOutputChannel(int value)

public AudioStream.AudioMapping.Builder setOutputChannel(int value)

Required. The zero-based index of the channel in the output audio stream.

int32 output_channel = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The outputChannel to set.

Returns
Type Description
AudioStream.AudioMapping.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides