publicfinalclass AudioStreamextendsGeneratedMessageV3implementsAudioStreamOrBuilder
Audio stream resource.
Protobuf type google.cloud.video.transcoder.v1.AudioStream
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
BITRATE_BPS_FIELD_NUMBER
publicstaticfinalintBITRATE_BPS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CHANNEL_COUNT_FIELD_NUMBER
publicstaticfinalintCHANNEL_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CHANNEL_LAYOUT_FIELD_NUMBER
publicstaticfinalintCHANNEL_LAYOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
CODEC_FIELD_NUMBER
publicstaticfinalintCODEC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISPLAY_NAME_FIELD_NUMBER
publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LANGUAGE_CODE_FIELD_NUMBER
publicstaticfinalintLANGUAGE_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAPPING_FIELD_NUMBER
publicstaticfinalintMAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
SAMPLE_RATE_HERTZ_FIELD_NUMBER
publicstaticfinalintSAMPLE_RATE_HERTZ_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticAudioStreamgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticAudioStream.BuildernewBuilder()
newBuilder(AudioStream prototype)
publicstaticAudioStream.BuildernewBuilder(AudioStreamprototype)
publicstaticAudioStreamparseDelimitedFrom(InputStreaminput)
publicstaticAudioStreamparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticAudioStreamparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticAudioStreamparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticAudioStreamparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticAudioStreamparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticAudioStreamparseFrom(CodedInputStreaminput)
publicstaticAudioStreamparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticAudioStreamparseFrom(InputStreaminput)
publicstaticAudioStreamparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticAudioStreamparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticAudioStreamparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<AudioStream>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBitrateBps()
Required. Audio bitrate in bits per second. Must be between 1 and
10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The bitrateBps.
|
getChannelCount()
publicintgetChannelCount()
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;
| Returns |
| Type |
Description |
int |
The channelCount.
|
getChannelLayout(int index)
publicStringgetChannelLayout(intindex)
A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is ["fl", "fr"].
Supported channel names:
fl - Front left channel
fr - Front right channel
sl - Side left channel
sr - Side right channel
fc - Front center channel
lfe - Low frequency
repeated string channel_layout = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The channelLayout at the given index.
|
getChannelLayoutBytes(int index)
publicByteStringgetChannelLayoutBytes(intindex)
A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is ["fl", "fr"].
Supported channel names:
fl - Front left channel
fr - Front right channel
sl - Side left channel
sr - Side right channel
fc - Front center channel
lfe - Low frequency
repeated string channel_layout = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the channelLayout at the given index.
|
getChannelLayoutCount()
publicintgetChannelLayoutCount()
A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is ["fl", "fr"].
Supported channel names:
fl - Front left channel
fr - Front right channel
sl - Side left channel
sr - Side right channel
fc - Front center channel
lfe - Low frequency
repeated string channel_layout = 4;
| Returns |
| Type |
Description |
int |
The count of channelLayout.
|
getChannelLayoutList()
publicProtocolStringListgetChannelLayoutList()
A list of channel names specifying layout of the audio channels.
This only affects the metadata embedded in the container headers, if
supported by the specified format. The default is ["fl", "fr"].
Supported channel names:
fl - Front left channel
fr - Front right channel
sl - Side left channel
sr - Side right channel
fc - Front center channel
lfe - Low frequency
repeated string channel_layout = 4;
getCodec()
The codec for this audio stream. The default is aac.
Supported audio codecs:
aac
aac-he
aac-he-v2
mp3
ac3
eac3
string codec = 1;
| Returns |
| Type |
Description |
String |
The codec.
|
getCodecBytes()
publicByteStringgetCodecBytes()
The codec for this audio stream. The default is aac.
Supported audio codecs:
aac
aac-he
aac-he-v2
mp3
ac3
eac3
string codec = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for codec.
|
getDefaultInstanceForType()
publicAudioStreamgetDefaultInstanceForType()
getDisplayName()
publicStringgetDisplayName()
The name for this particular audio stream that
will be added to the HLS/DASH manifest. Not supported in MP4 files.
string display_name = 8;
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
publicByteStringgetDisplayNameBytes()
The name for this particular audio stream that
will be added to the HLS/DASH manifest. Not supported in MP4 files.
string display_name = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getLanguageCode()
publicStringgetLanguageCode()
| Returns |
| Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
publicByteStringgetLanguageCodeBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for languageCode.
|
getMapping(int index)
publicAudioStream.AudioMappinggetMapping(intindex)
The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
| Parameter |
| Name |
Description |
index |
int
|
getMappingCount()
publicintgetMappingCount()
The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
| Returns |
| Type |
Description |
int |
getMappingList()
publicList<AudioStream.AudioMapping>getMappingList()
The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
getMappingOrBuilder(int index)
publicAudioStream.AudioMappingOrBuildergetMappingOrBuilder(intindex)
The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
| Parameter |
| Name |
Description |
index |
int
|
getMappingOrBuilderList()
publicList<?extendsAudioStream.AudioMappingOrBuilder>getMappingOrBuilderList()
The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder> |
getParserForType()
publicParser<AudioStream>getParserForType()
Overrides
getSampleRateHertz()
publicintgetSampleRateHertz()
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
| Returns |
| Type |
Description |
int |
The sampleRateHertz.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicAudioStream.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedAudioStream.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicAudioStream.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides