Class AudioStream.Builder (1.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.79.0 (latest)
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
publicstaticfinalclass AudioStream.BuilderextendsGeneratedMessageV3.Builder<AudioStream.Builder>implementsAudioStreamOrBuilderAudio stream resource.
Protobuf type google.cloud.video.transcoder.v1.AudioStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AudioStream.BuilderImplements
AudioStreamOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addAllChannelLayout(Iterable<String> values)
publicAudioStream.BuilderaddAllChannelLayout(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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
This builder for chaining.
addAllMapping(Iterable<? extends AudioStream.AudioMapping> values)
publicAudioStream.BuilderaddAllMapping(Iterable<?extendsAudioStream.AudioMapping>values) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addChannelLayout(String value)
publicAudioStream.BuilderaddChannelLayout(Stringvalue) 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
This builder for chaining.
addChannelLayoutBytes(ByteString value)
publicAudioStream.BuilderaddChannelLayoutBytes(ByteStringvalue) 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
This builder for chaining.
addMapping(AudioStream.AudioMapping value)
publicAudioStream.BuilderaddMapping(AudioStream.AudioMappingvalue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addMapping(AudioStream.AudioMapping.Builder builderForValue)
publicAudioStream.BuilderaddMapping(AudioStream.AudioMapping.BuilderbuilderForValue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addMapping(int index, AudioStream.AudioMapping value)
publicAudioStream.BuilderaddMapping(intindex,AudioStream.AudioMappingvalue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
publicAudioStream.BuilderaddMapping(intindex,AudioStream.AudioMapping.BuilderbuilderForValue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addMappingBuilder()
publicAudioStream.AudioMapping.BuilderaddMappingBuilder() The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addMappingBuilder(int index)
publicAudioStream.AudioMapping.BuilderaddMappingBuilder(intindex) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAudioStream.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicAudioStreambuild()buildPartial()
publicAudioStreambuildPartial()clear()
publicAudioStream.Builderclear()clearBitrateBps()
publicAudioStream.BuilderclearBitrateBps()Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];
This builder for chaining.
clearChannelCount()
publicAudioStream.BuilderclearChannelCount()Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;
This builder for chaining.
clearChannelLayout()
publicAudioStream.BuilderclearChannelLayout() 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
This builder for chaining.
clearCodec()
publicAudioStream.BuilderclearCodec() The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicAudioStream.BuilderclearField(Descriptors.FieldDescriptorfield)clearMapping()
publicAudioStream.BuilderclearMapping() The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
clearOneof(Descriptors.OneofDescriptor oneof)
publicAudioStream.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearSampleRateHertz()
publicAudioStream.BuilderclearSampleRateHertz()The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
This builder for chaining.
clone()
publicAudioStream.Builderclone()getBitrateBps()
publicintgetBitrateBps()Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];
The bitrateBps.
getChannelCount()
publicintgetChannelCount()Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;
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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
A list containing the channelLayout.
getCodec()
publicStringgetCodec() The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
The codec.
getCodecBytes()
publicByteStringgetCodecBytes() The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
The bytes for codec.
getDefaultInstanceForType()
publicAudioStreamgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()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;
getMappingBuilder(int index)
publicAudioStream.AudioMapping.BuildergetMappingBuilder(intindex) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
getMappingBuilderList()
publicList<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;
getMappingCount()
publicintgetMappingCount() The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
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;
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;
getSampleRateHertz()
publicintgetSampleRateHertz()The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
The sampleRateHertz.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(AudioStream other)
publicAudioStream.BuildermergeFrom(AudioStreamother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicAudioStream.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicAudioStream.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAudioStream.BuildermergeUnknownFields(UnknownFieldSetunknownFields)removeMapping(int index)
publicAudioStream.BuilderremoveMapping(intindex) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
setBitrateBps(int value)
publicAudioStream.BuildersetBitrateBps(intvalue)Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];
This builder for chaining.
setChannelCount(int value)
publicAudioStream.BuildersetChannelCount(intvalue)Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;
This builder for chaining.
setChannelLayout(int index, String value)
publicAudioStream.BuildersetChannelLayout(intindex,Stringvalue) 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
This builder for chaining.
setCodec(String value)
publicAudioStream.BuildersetCodec(Stringvalue) The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
This builder for chaining.
setCodecBytes(ByteString value)
publicAudioStream.BuildersetCodecBytes(ByteStringvalue) The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicAudioStream.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setMapping(int index, AudioStream.AudioMapping value)
publicAudioStream.BuildersetMapping(intindex,AudioStream.AudioMappingvalue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
setMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
publicAudioStream.BuildersetMapping(intindex,AudioStream.AudioMapping.BuilderbuilderForValue) The mapping for the Job.edit_list atoms with audio EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAudioStream.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setSampleRateHertz(int value)
publicAudioStream.BuildersetSampleRateHertz(intvalue)The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAudioStream.BuildersetUnknownFields(UnknownFieldSetunknownFields)