Class AudioStream.AudioMapping (1.45.0)

publicstaticfinalclass AudioStream.AudioMappingextendsGeneratedMessageV3implementsAudioStream.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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ATOM_KEY_FIELD_NUMBER

publicstaticfinalintATOM_KEY_FIELD_NUMBER
Field Value
Type Description
int

GAIN_DB_FIELD_NUMBER

publicstaticfinalintGAIN_DB_FIELD_NUMBER
Field Value
Type Description
int

INPUT_CHANNEL_FIELD_NUMBER

publicstaticfinalintINPUT_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

INPUT_KEY_FIELD_NUMBER

publicstaticfinalintINPUT_KEY_FIELD_NUMBER
Field Value
Type Description
int

INPUT_TRACK_FIELD_NUMBER

publicstaticfinalintINPUT_TRACK_FIELD_NUMBER
Field Value
Type Description
int

OUTPUT_CHANNEL_FIELD_NUMBER

publicstaticfinalintOUTPUT_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticAudioStream.AudioMappinggetDefaultInstance()
Returns
Type Description
AudioStream.AudioMapping

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticAudioStream.AudioMapping.BuildernewBuilder()
Returns
Type Description
AudioStream.AudioMapping.Builder

newBuilder(AudioStream.AudioMapping prototype)

publicstaticAudioStream.AudioMapping.BuildernewBuilder(AudioStream.AudioMappingprototype)
Parameter
Name Description
prototype AudioStream.AudioMapping
Returns
Type Description
AudioStream.AudioMapping.Builder

parseDelimitedFrom(InputStream input)

publicstaticAudioStream.AudioMappingparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticAudioStream.AudioMappingparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticAudioStream.AudioMappingparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticAudioStream.AudioMappingparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticAudioStream.AudioMappingparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticAudioStream.AudioMappingparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticAudioStream.AudioMappingparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStream.AudioMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<AudioStream.AudioMapping>parser()
Returns
Type Description
Parser<AudioMapping>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
AudioStream.AudioMapping

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.

getParserForType()

publicParser<AudioStream.AudioMapping>getParserForType()
Returns
Type Description
Parser<AudioMapping>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicAudioStream.AudioMapping.BuildernewBuilderForType()
Returns
Type Description
AudioStream.AudioMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedAudioStream.AudioMapping.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AudioStream.AudioMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicAudioStream.AudioMapping.BuildertoBuilder()
Returns
Type Description
AudioStream.AudioMapping.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.