Class AudioStream.AudioMapping.Builder (1.2.5)

publicstaticfinalclass AudioStream.AudioMapping.BuilderextendsGeneratedMessageV3.Builder<AudioStream.AudioMapping.Builder>implementsAudioStream.AudioMappingOrBuilder

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

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicAudioStream.AudioMapping.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicAudioStream.AudioMappingbuild()
Returns
Type Description

buildPartial()

publicAudioStream.AudioMappingbuildPartial()
Returns
Type Description

clear()

publicAudioStream.AudioMapping.Builderclear()
Returns
Type Description
Overrides

clearAtomKey()

publicAudioStream.AudioMapping.BuilderclearAtomKey()

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)

publicAudioStream.AudioMapping.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearGainDb()

publicAudioStream.AudioMapping.BuilderclearGainDb()

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()

publicAudioStream.AudioMapping.BuilderclearInputChannel()

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()

publicAudioStream.AudioMapping.BuilderclearInputKey()

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()

publicAudioStream.AudioMapping.BuilderclearInputTrack()

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)

publicAudioStream.AudioMapping.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearOutputChannel()

publicAudioStream.AudioMapping.BuilderclearOutputChannel()

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()

publicAudioStream.AudioMapping.Builderclone()
Returns
Type Description
Overrides

getAtomKey()

publicStringgetAtomKey()

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()

publicByteStringgetAtomKeyBytes()

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()

publicAudioStream.AudioMappinggetDefaultInstanceForType()
Returns
Type Description

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getGainDb()

publicdoublegetGainDb()

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()

publicintgetInputChannel()

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()

publicStringgetInputKey()

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()

publicByteStringgetInputKeyBytes()

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()

publicintgetInputTrack()

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()

publicintgetOutputChannel()

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()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeFrom(AudioStream.AudioMapping other)

publicAudioStream.AudioMapping.BuildermergeFrom(AudioStream.AudioMappingother)
Parameter
Name Description
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicAudioStream.AudioMapping.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicAudioStream.AudioMapping.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalAudioStream.AudioMapping.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setAtomKey(String value)

publicAudioStream.AudioMapping.BuildersetAtomKey(Stringvalue)

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)

publicAudioStream.AudioMapping.BuildersetAtomKeyBytes(ByteStringvalue)

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)

publicAudioStream.AudioMapping.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setGainDb(double value)

publicAudioStream.AudioMapping.BuildersetGainDb(doublevalue)

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)

publicAudioStream.AudioMapping.BuildersetInputChannel(intvalue)

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)

publicAudioStream.AudioMapping.BuildersetInputKey(Stringvalue)

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)

publicAudioStream.AudioMapping.BuildersetInputKeyBytes(ByteStringvalue)

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)

publicAudioStream.AudioMapping.BuildersetInputTrack(intvalue)

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)

publicAudioStream.AudioMapping.BuildersetOutputChannel(intvalue)

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)

publicAudioStream.AudioMapping.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalAudioStream.AudioMapping.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.