Class AudioStream.Builder (1.13.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()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The channelLayout to add. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping> |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The channelLayout to add. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the channelLayout to add. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AudioStream.AudioMapping |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AudioStream.AudioMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AudioStream.AudioMapping |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AudioStream.AudioMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AudioStream.AudioMapping.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AudioStream.AudioMapping.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicAudioStream.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
build()
publicAudioStreambuild()| Returns | |
|---|---|
| Type | Description |
AudioStream |
|
buildPartial()
publicAudioStreambuildPartial()| Returns | |
|---|---|
| Type | Description |
AudioStream |
|
clear()
publicAudioStream.Builderclear()| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
clearDisplayName()
publicAudioStream.BuilderclearDisplayName()The name for this particular audio stream that will be added to the HLS/DASH manifest.
string display_name = 8;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicAudioStream.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
clearLanguageCode()
publicAudioStream.BuilderclearLanguageCode() The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 7;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicAudioStream.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
clearSampleRateHertz()
publicAudioStream.BuilderclearSampleRateHertz()The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
clone()
publicAudioStream.Builderclone()| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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];
| 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- 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 channelfr- Front right channelsl- Side left channelsr- Side right channelfc- Front center channellfe- Low frequency
repeated string channel_layout = 4;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
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;
| Returns | |
|---|---|
| Type | Description |
String |
The codec. |
getCodecBytes()
publicByteStringgetCodecBytes() The codec for this audio stream. The default is aac.
Supported audio codecs:
aacaac-heaac-he-v2mp3ac3eac3
string codec = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for codec. |
getDefaultInstanceForType()
publicAudioStreamgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AudioStream |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
publicStringgetDisplayName()The name for this particular audio stream that will be added to the HLS/DASH manifest.
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.
string display_name = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getLanguageCode()
publicStringgetLanguageCode() The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
publicByteStringgetLanguageCodeBytes() The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 7;
| 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 |
| Returns | |
|---|---|
| Type | Description |
AudioStream.AudioMapping |
|
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AudioStream.AudioMapping.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<AudioMapping> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AudioStream.AudioMappingOrBuilder |
|
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> |
|
getSampleRateHertz()
publicintgetSampleRateHertz()The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The sampleRateHertz. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AudioStream other)
publicAudioStream.BuildermergeFrom(AudioStreamother)| Parameter | |
|---|---|
| Name | Description |
other |
AudioStream |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicAudioStream.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicAudioStream.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalAudioStream.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
int The bitrateBps to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
int The channelCount to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The channelLayout to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
String The codec to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for codec to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
setDisplayName(String value)
publicAudioStream.BuildersetDisplayName(Stringvalue)The name for this particular audio stream that will be added to the HLS/DASH manifest.
string display_name = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
String The displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
publicAudioStream.BuildersetDisplayNameBytes(ByteStringvalue)The name for this particular audio stream that will be added to the HLS/DASH manifest.
string display_name = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicAudioStream.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
setLanguageCode(String value)
publicAudioStream.BuildersetLanguageCode(Stringvalue) The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
String The languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
publicAudioStream.BuildersetLanguageCodeBytes(ByteStringvalue) The BCP-47 language code, such as en-US or sr-Latn. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for languageCode to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AudioStream.AudioMapping |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AudioStream.AudioMapping.Builder |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicAudioStream.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|
setSampleRateHertz(int value)
publicAudioStream.BuildersetSampleRateHertz(intvalue)The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
int The sampleRateHertz to set. |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalAudioStream.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
AudioStream.Builder |
|