public static final class AudioStream.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder> implements AudioStreamOrBuilder
Audio stream resource.Protobuf type
google.cloud.video.transcoder.v1.AudioStream| Modifier and Type | Method and Description |
|---|---|
AudioStream.Builder |
addAllChannelLayout(Iterable<String> values)
A list of channel names specifying layout of the audio channels.
|
AudioStream.Builder |
addAllMapping(Iterable<? extends AudioStream.AudioMapping> values)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
addChannelLayout(String value)
A list of channel names specifying layout of the audio channels.
|
AudioStream.Builder |
addChannelLayoutBytes(com.google.protobuf.ByteString value)
A list of channel names specifying layout of the audio channels.
|
AudioStream.Builder |
addMapping(AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
addMapping(AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
addMapping(int index,
AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
addMapping(int index,
AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.AudioMapping.Builder |
addMappingBuilder()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.AudioMapping.Builder |
addMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AudioStream |
build() |
AudioStream |
buildPartial() |
AudioStream.Builder |
clear() |
AudioStream.Builder |
clearBitrateBps()
Required.
|
AudioStream.Builder |
clearChannelCount()
Number of audio channels.
|
AudioStream.Builder |
clearChannelLayout()
A list of channel names specifying layout of the audio channels.
|
AudioStream.Builder |
clearCodec()
The codec for this audio stream.
|
AudioStream.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AudioStream.Builder |
clearMapping()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AudioStream.Builder |
clearSampleRateHertz()
The audio sample rate in Hertz.
|
AudioStream.Builder |
clone() |
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.
|
AudioStream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AudioStream.AudioMapping |
getMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.AudioMapping.Builder |
getMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
List<AudioStream.AudioMapping.Builder> |
getMappingBuilderList()
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`.
|
int |
getSampleRateHertz()
The audio sample rate in Hertz.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AudioStream.Builder |
mergeFrom(AudioStream other) |
AudioStream.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AudioStream.Builder |
mergeFrom(com.google.protobuf.Message other) |
AudioStream.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AudioStream.Builder |
removeMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
setBitrateBps(int value)
Required.
|
AudioStream.Builder |
setChannelCount(int value)
Number of audio channels.
|
AudioStream.Builder |
setChannelLayout(int index,
String value)
A list of channel names specifying layout of the audio channels.
|
AudioStream.Builder |
setCodec(String value)
The codec for this audio stream.
|
AudioStream.Builder |
setCodecBytes(com.google.protobuf.ByteString value)
The codec for this audio stream.
|
AudioStream.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AudioStream.Builder |
setMapping(int index,
AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
setMapping(int index,
AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
|
AudioStream.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AudioStream.Builder |
setSampleRateHertz(int value)
The audio sample rate in Hertz.
|
AudioStream.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AudioStream build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AudioStream buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AudioStream.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>public AudioStream.Builder mergeFrom(AudioStream other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public AudioStream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>IOExceptionpublic 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 AudioStream.Builder setCodec(String value)
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;value - The codec to set.public AudioStream.Builder clearCodec()
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;public AudioStream.Builder setCodecBytes(com.google.protobuf.ByteString value)
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;value - The bytes for codec to set.public 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 AudioStream.Builder setBitrateBps(int value)
Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];value - The bitrateBps to set.public AudioStream.Builder clearBitrateBps()
Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];public int getChannelCount()
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;getChannelCount in interface AudioStreamOrBuilderpublic AudioStream.Builder setChannelCount(int value)
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;value - The channelCount to set.public AudioStream.Builder clearChannelCount()
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;public 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 AudioStream.Builder setChannelLayout(int index, String value)
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;index - The index to set the value at.value - The channelLayout to set.public AudioStream.Builder addChannelLayout(String value)
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;value - The channelLayout to add.public AudioStream.Builder addAllChannelLayout(Iterable<String> values)
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;values - The channelLayout to add.public AudioStream.Builder clearChannelLayout()
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;public AudioStream.Builder addChannelLayoutBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the channelLayout to add.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 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.Builder setMapping(int index, AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder setMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder addMapping(AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder addMapping(int index, AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder addMapping(AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder addMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder addAllMapping(Iterable<? extends AudioStream.AudioMapping> values)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder clearMapping()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.Builder removeMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.AudioMapping.Builder getMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public 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 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 AudioStream.AudioMapping.Builder addMappingBuilder()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public AudioStream.AudioMapping.Builder addMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public List<AudioStream.AudioMapping.Builder> getMappingBuilderList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;public int getSampleRateHertz()
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;getSampleRateHertz in interface AudioStreamOrBuilderpublic AudioStream.Builder setSampleRateHertz(int value)
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;value - The sampleRateHertz to set.public AudioStream.Builder clearSampleRateHertz()
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;public final AudioStream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>public final AudioStream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>Copyright © 2022 Google LLC. All rights reserved.