Class AudioStream.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
com.google.cloud.video.transcoder.v1.AudioStream.Builder
- All Implemented Interfaces:
AudioStreamOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AudioStream
public static final class AudioStream.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
implements AudioStreamOrBuilder
Audio stream resource.Protobuf type
google.cloud.video.transcoder.v1.AudioStream-
Method Summary
Modifier and TypeMethodDescriptionaddAllChannelLayout(Iterable<String> values) A list of channel names specifying layout of the audio channels.addAllMapping(Iterable<? extends AudioStream.AudioMapping> values) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].addChannelLayout(String value) A list of channel names specifying layout of the audio channels.addChannelLayoutBytes(com.google.protobuf.ByteString value) A list of channel names specifying layout of the audio channels.addMapping(int index, AudioStream.AudioMapping value) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].addMapping(int index, AudioStream.AudioMapping.Builder builderForValue) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].addMapping(AudioStream.AudioMapping.Builder builderForValue) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].addMappingBuilder(int index) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].build()clear()Required.Number of audio channels.A list of channel names specifying layout of the audio channels.The codec for this audio stream.The name for this particular audio stream that will be added to the HLS/DASH manifest.The BCP-47 language code, such as `en-US` or `sr-Latn`.The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].The audio sample rate in Hertz.intRequired.intNumber of audio channels.getChannelLayout(int index) A list of channel names specifying layout of the audio channels.com.google.protobuf.ByteStringgetChannelLayoutBytes(int index) A list of channel names specifying layout of the audio channels.intA list of channel names specifying layout of the audio channels.com.google.protobuf.ProtocolStringListA list of channel names specifying layout of the audio channels.getCodec()The codec for this audio stream.com.google.protobuf.ByteStringThe codec for this audio stream.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name for this particular audio stream that will be added to the HLS/DASH manifest.com.google.protobuf.ByteStringThe name for this particular audio stream that will be added to the HLS/DASH manifest.The BCP-47 language code, such as `en-US` or `sr-Latn`.com.google.protobuf.ByteStringThe BCP-47 language code, such as `en-US` or `sr-Latn`.getMapping(int index) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].getMappingBuilder(int index) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].intThe mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].getMappingOrBuilder(int index) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].List<? extends AudioStream.AudioMappingOrBuilder>The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].intThe audio sample rate in Hertz.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(AudioStream other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMapping(int index) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].setBitrateBps(int value) Required.setChannelCount(int value) Number of audio channels.setChannelLayout(int index, String value) A list of channel names specifying layout of the audio channels.The codec for this audio stream.setCodecBytes(com.google.protobuf.ByteString value) The codec for this audio stream.setDisplayName(String value) The name for this particular audio stream that will be added to the HLS/DASH manifest.setDisplayNameBytes(com.google.protobuf.ByteString value) The name for this particular audio stream that will be added to the HLS/DASH manifest.setLanguageCode(String value) The BCP-47 language code, such as `en-US` or `sr-Latn`.setLanguageCodeBytes(com.google.protobuf.ByteString value) The BCP-47 language code, such as `en-US` or `sr-Latn`.setMapping(int index, AudioStream.AudioMapping value) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].setMapping(int index, AudioStream.AudioMapping.Builder builderForValue) The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].setSampleRateHertz(int value) The audio sample rate in Hertz.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AudioStream.Builder>
-
mergeFrom
public AudioStream.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>- Throws:
IOException
-
getCodec
The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3` - `vorbis`
string codec = 1;- Specified by:
getCodecin interfaceAudioStreamOrBuilder- Returns:
- The codec.
-
getCodecBytes
public 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` - `vorbis`
string codec = 1;- Specified by:
getCodecBytesin interfaceAudioStreamOrBuilder- Returns:
- The bytes for codec.
-
setCodec
The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3` - `vorbis`
string codec = 1;- Parameters:
value- The codec to set.- Returns:
- This builder for chaining.
-
clearCodec
The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3` - `vorbis`
string codec = 1;- Returns:
- This builder for chaining.
-
setCodecBytes
The codec for this audio stream. The default is `aac`. Supported audio codecs: - `aac` - `aac-he` - `aac-he-v2` - `mp3` - `ac3` - `eac3` - `vorbis`
string codec = 1;- Parameters:
value- The bytes for codec to set.- Returns:
- This builder for chaining.
-
getBitrateBps
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];- Specified by:
getBitrateBpsin interfaceAudioStreamOrBuilder- Returns:
- The bitrateBps.
-
setBitrateBps
Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000.
int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bitrateBps to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
getChannelCount
public int getChannelCount()Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;- Specified by:
getChannelCountin interfaceAudioStreamOrBuilder- Returns:
- The channelCount.
-
setChannelCount
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;- Parameters:
value- The channelCount to set.- Returns:
- This builder for chaining.
-
clearChannelCount
Number of audio channels. Must be between 1 and 6. The default is 2.
int32 channel_count = 3;- Returns:
- This builder for chaining.
-
getChannelLayoutList
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;- Specified by:
getChannelLayoutListin interfaceAudioStreamOrBuilder- Returns:
- A list containing the channelLayout.
-
getChannelLayoutCount
public 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;- Specified by:
getChannelLayoutCountin interfaceAudioStreamOrBuilder- Returns:
- The count of channelLayout.
-
getChannelLayout
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;- Specified by:
getChannelLayoutin interfaceAudioStreamOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The channelLayout at the given index.
-
getChannelLayoutBytes
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;- Specified by:
getChannelLayoutBytesin interfaceAudioStreamOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the channelLayout at the given index.
-
setChannelLayout
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;- Parameters:
index- The index to set the value at.value- The channelLayout to set.- Returns:
- This builder for chaining.
-
addChannelLayout
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;- Parameters:
value- The channelLayout to add.- Returns:
- This builder for chaining.
-
addAllChannelLayout
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;- Parameters:
values- The channelLayout to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addChannelLayoutBytes
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;- Parameters:
value- The bytes of the channelLayout to add.- Returns:
- This builder for chaining.
-
getMappingList
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingListin interfaceAudioStreamOrBuilder
-
getMappingCount
public int getMappingCount()The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingCountin interfaceAudioStreamOrBuilder
-
getMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingin interfaceAudioStreamOrBuilder
-
setMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
setMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addAllMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
clearMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
removeMapping
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
getMappingBuilder
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
getMappingOrBuilder
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingOrBuilderin interfaceAudioStreamOrBuilder
-
getMappingOrBuilderList
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingOrBuilderListin interfaceAudioStreamOrBuilder
-
addMappingBuilder
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
addMappingBuilder
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
getMappingBuilderList
The mapping for the [JobConfig.edit_list][google.cloud.video.transcoder.v1.JobConfig.edit_list] atoms with audio [EditAtom.inputs][google.cloud.video.transcoder.v1.EditAtom.inputs].
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; -
getSampleRateHertz
public int getSampleRateHertz()The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;- Specified by:
getSampleRateHertzin interfaceAudioStreamOrBuilder- Returns:
- The sampleRateHertz.
-
setSampleRateHertz
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;- Parameters:
value- The sampleRateHertz to set.- Returns:
- This builder for chaining.
-
clearSampleRateHertz
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;- Returns:
- This builder for chaining.
-
getLanguageCode
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. Not supported in MP4 files.
string language_code = 7;- Specified by:
getLanguageCodein interfaceAudioStreamOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()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. Not supported in MP4 files.
string language_code = 7;- Specified by:
getLanguageCodeBytesin interfaceAudioStreamOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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. Not supported in MP4 files.
string language_code = 7;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
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. Not supported in MP4 files.
string language_code = 7;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
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. Not supported in MP4 files.
string language_code = 7;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getDisplayName
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;- Specified by:
getDisplayNamein interfaceAudioStreamOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()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;- Specified by:
getDisplayNameBytesin interfaceAudioStreamOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
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:
- This builder for chaining.
-
setDisplayNameBytes
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;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-