public final class AudioStream extends com.google.protobuf.GeneratedMessageV3 implements AudioStreamOrBuilder
Audio stream resource.Protobuf type
google.cloud.video.transcoder.v1.AudioStream| Modifier and Type | Class and Description |
|---|---|
static class |
AudioStream.AudioMapping
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
static interface |
AudioStream.AudioMappingOrBuilder |
static class |
AudioStream.Builder
Audio stream resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BITRATE_BPS_FIELD_NUMBER |
static int |
CHANNEL_COUNT_FIELD_NUMBER |
static int |
CHANNEL_LAYOUT_FIELD_NUMBER |
static int |
CODEC_FIELD_NUMBER |
static int |
MAPPING_FIELD_NUMBER |
static int |
SAMPLE_RATE_HERTZ_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBitrateBps()
Required.
|
int |
getChannelCount()
Number of audio channels.
|
String |
getChannelLayout(int index)
A list of channel names specifying layout of the audio channels.
|
com.google.protobuf.ByteString |
getChannelLayoutBytes(int index)
A list of channel names specifying layout of the audio channels.
|
int |
getChannelLayoutCount()
A list of channel names specifying layout of the audio channels.
|
com.google.protobuf.ProtocolStringList |
getChannelLayoutList()
A list of channel names specifying layout of the audio channels.
|
String |
getCodec()
The codec for this audio stream.
|
com.google.protobuf.ByteString |
getCodecBytes()
The codec for this audio stream.
|
static AudioStream |
getDefaultInstance() |
AudioStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AudioStream.AudioMapping |
getMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
int |
getMappingCount()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
List<AudioStream.AudioMapping> |
getMappingList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.AudioMappingOrBuilder |
getMappingOrBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
List<? extends AudioStream.AudioMappingOrBuilder> |
getMappingOrBuilderList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
com.google.protobuf.Parser<AudioStream> |
getParserForType() |
int |
getSampleRateHertz()
The audio sample rate in Hertz.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AudioStream.Builder |
newBuilder() |
static AudioStream.Builder |
newBuilder(AudioStream prototype) |
AudioStream.Builder |
newBuilderForType() |
protected AudioStream.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AudioStream |
parseDelimitedFrom(InputStream input) |
static AudioStream |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AudioStream |
parseFrom(byte[] data) |
static AudioStream |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AudioStream |
parseFrom(ByteBuffer data) |
static AudioStream |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AudioStream |
parseFrom(com.google.protobuf.ByteString data) |
static AudioStream |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AudioStream |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AudioStream |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AudioStream |
parseFrom(InputStream input) |
static AudioStream |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AudioStream> |
parser() |
AudioStream.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CODEC_FIELD_NUMBER
public static final int BITRATE_BPS_FIELD_NUMBER
public static final int CHANNEL_COUNT_FIELD_NUMBER
public static final int CHANNEL_LAYOUT_FIELD_NUMBER
public static final int MAPPING_FIELD_NUMBER
public static final int SAMPLE_RATE_HERTZ_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String 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;getCodec in interface AudioStreamOrBuilderpublic com.google.protobuf.ByteString getCodecBytes()
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;getCodecBytes in interface AudioStreamOrBuilderpublic int 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];getBitrateBps in interface AudioStreamOrBuilderpublic int getChannelCount()
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;getChannelCount in interface AudioStreamOrBuilderpublic com.google.protobuf.ProtocolStringList getChannelLayoutList()
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;getChannelLayoutList in interface AudioStreamOrBuilderpublic int getChannelLayoutCount()
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;getChannelLayoutCount in interface AudioStreamOrBuilderpublic String getChannelLayout(int index)
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;getChannelLayout in interface AudioStreamOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getChannelLayoutBytes(int index)
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;getChannelLayoutBytes in interface AudioStreamOrBuilderindex - The index of the value to return.public List<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;getMappingList in interface AudioStreamOrBuilderpublic List<? extends AudioStream.AudioMappingOrBuilder> getMappingOrBuilderList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;getMappingOrBuilderList in interface AudioStreamOrBuilderpublic int getMappingCount()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;getMappingCount in interface AudioStreamOrBuilderpublic AudioStream.AudioMapping getMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;getMapping in interface AudioStreamOrBuilderpublic AudioStream.AudioMappingOrBuilder getMappingOrBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;getMappingOrBuilder in interface AudioStreamOrBuilderpublic int getSampleRateHertz()
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;getSampleRateHertz in interface AudioStreamOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AudioStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AudioStream parseFrom(InputStream input) throws IOException
IOExceptionpublic static AudioStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AudioStream parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AudioStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AudioStream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AudioStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AudioStream.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AudioStream.Builder newBuilder()
public static AudioStream.Builder newBuilder(AudioStream prototype)
public AudioStream.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AudioStream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AudioStream getDefaultInstance()
public static com.google.protobuf.Parser<AudioStream> parser()
public com.google.protobuf.Parser<AudioStream> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AudioStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.