Class AudioStream.AudioMapping.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudioStream.AudioMapping build()
Returns
TypeDescription
AudioStream.AudioMapping

buildPartial()

public AudioStream.AudioMapping buildPartial()
Returns
TypeDescription
AudioStream.AudioMapping

clear()

public AudioStream.AudioMapping.Builder clear()
Returns
TypeDescription
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
TypeDescription
AudioStream.AudioMapping.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudioStream.AudioMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AudioStream.AudioMapping.Builder

This builder for chaining.

clone()

public AudioStream.AudioMapping.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for atomKey.

getDefaultInstanceForType()

public AudioStream.AudioMapping getDefaultInstanceForType()
Returns
TypeDescription
AudioStream.AudioMapping

getDescriptorForType()

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

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
TypeDescription
int

The outputChannel.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AudioStream.AudioMapping other)

public AudioStream.AudioMapping.Builder mergeFrom(AudioStream.AudioMapping other)
Parameter
NameDescription
otherAudioStream.AudioMapping
Returns
TypeDescription
AudioStream.AudioMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudioStream.AudioMapping.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AudioStream.AudioMapping.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The atomKey to set.

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

The bytes for atomKey to set.

Returns
TypeDescription
AudioStream.AudioMapping.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AudioStream.AudioMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The gainDb to set.

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

The inputChannel to set.

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

The inputKey to set.

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

The bytes for inputKey to set.

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

The inputTrack to set.

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

The outputChannel to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudioStream.AudioMapping.Builder
Overrides