Class AudioStream.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AudioStream.Builder> implements AudioStreamOrBuilder
Audio stream resource.
Protobuf typegoogle.cloud.video.transcoder.v1.AudioStream
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioStream.BuilderaddAllChannelLayout(Iterable<String> values)A list of channel names specifying layout of the audio channels.AudioStream.BuilderaddAllMapping(Iterable<? extends AudioStream.AudioMapping> values)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderaddChannelLayout(String value)A list of channel names specifying layout of the audio channels.AudioStream.BuilderaddChannelLayoutBytes(com.google.protobuf.ByteString value)A list of channel names specifying layout of the audio channels.AudioStream.BuilderaddMapping(int index, AudioStream.AudioMapping value)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderaddMapping(int index, AudioStream.AudioMapping.Builder builderForValue)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderaddMapping(AudioStream.AudioMapping value)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderaddMapping(AudioStream.AudioMapping.Builder builderForValue)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.BuilderaddMappingBuilder()The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.BuilderaddMappingBuilder(int index)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AudioStreambuild()AudioStreambuildPartial()AudioStream.Builderclear()AudioStream.BuilderclearBitrateBps()Required.AudioStream.BuilderclearChannelCount()Number of audio channels.AudioStream.BuilderclearChannelLayout()A list of channel names specifying layout of the audio channels.AudioStream.BuilderclearCodec()The codec for this audio stream.AudioStream.BuilderclearDisplayName()The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AudioStream.BuilderclearLanguageCode()The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.BuilderclearMapping()The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AudioStream.BuilderclearSampleRateHertz()The audio sample rate in Hertz.AudioStream.Builderclone()intgetBitrateBps()Required.intgetChannelCount()Number of audio channels.StringgetChannelLayout(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.intgetChannelLayoutCount()A list of channel names specifying layout of the audio channels.com.google.protobuf.ProtocolStringListgetChannelLayoutList()A list of channel names specifying layout of the audio channels.StringgetCodec()The codec for this audio stream.com.google.protobuf.ByteStringgetCodecBytes()The codec for this audio stream.AudioStreamgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The name for this particular audio stream that will be added to the HLS/DASH manifest.com.google.protobuf.ByteStringgetDisplayNameBytes()The name for this particular audio stream that will be added to the HLS/DASH manifest.StringgetLanguageCode()The BCP-47 language code, such as `en-US` or `sr-Latn`.com.google.protobuf.ByteStringgetLanguageCodeBytes()The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.AudioMappinggetMapping(int index)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.BuildergetMappingBuilder(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`.intgetMappingCount()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.AudioMappingOrBuildergetMappingOrBuilder(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`.intgetSampleRateHertz()The audio sample rate in Hertz.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AudioStream.BuildermergeFrom(AudioStream other)AudioStream.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AudioStream.BuildermergeFrom(com.google.protobuf.Message other)AudioStream.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AudioStream.BuilderremoveMapping(int index)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuildersetBitrateBps(int value)Required.AudioStream.BuildersetChannelCount(int value)Number of audio channels.AudioStream.BuildersetChannelLayout(int index, String value)A list of channel names specifying layout of the audio channels.AudioStream.BuildersetCodec(String value)The codec for this audio stream.AudioStream.BuildersetCodecBytes(com.google.protobuf.ByteString value)The codec for this audio stream.AudioStream.BuildersetDisplayName(String value)The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AudioStream.BuildersetLanguageCode(String value)The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.BuildersetMapping(int index, AudioStream.AudioMapping value)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuildersetMapping(int index, AudioStream.AudioMapping.Builder builderForValue)The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AudioStream.BuildersetSampleRateHertz(int value)The audio sample rate in Hertz.AudioStream.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clear
public AudioStream.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<AudioStream.Builder>
-
getDefaultInstanceForType
public AudioStream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AudioStream build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AudioStream buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AudioStream.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
setField
public AudioStream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clearField
public AudioStream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clearOneof
public AudioStream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
setRepeatedField
public AudioStream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
addRepeatedField
public AudioStream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
mergeFrom
public AudioStream.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>
-
mergeFrom
public AudioStream.Builder mergeFrom(AudioStream other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public 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;- 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`
string codec = 1;- Specified by:
getCodecBytesin interfaceAudioStreamOrBuilder- Returns:
- The bytes for codec.
-
setCodec
public 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;- Parameters:
value- The codec to set.- Returns:
- This builder for chaining.
-
clearCodec
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;- Returns:
- This builder for chaining.
-
setCodecBytes
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;- 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
public 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];- Parameters:
value- The bitrateBps to set.- Returns:
- This builder for chaining.
-
clearBitrateBps
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];- 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
public AudioStream.Builder setChannelCount(int value)
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
public AudioStream.Builder 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
public 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;- 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
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;- Parameters:
index- The index to set the value at.value- The channelLayout to set.- Returns:
- This builder for chaining.
-
addChannelLayout
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;- Parameters:
value- The channelLayout to add.- Returns:
- This builder for chaining.
-
addAllChannelLayout
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;- Parameters:
values- The channelLayout to add.- Returns:
- This builder for chaining.
-
clearChannelLayout
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;- Returns:
- This builder for chaining.
-
addChannelLayoutBytes
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;- Parameters:
value- The bytes of the channelLayout to add.- Returns:
- This builder for chaining.
-
getMappingList
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;- Specified by:
getMappingListin interfaceAudioStreamOrBuilder
-
getMappingCount
public int getMappingCount()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5;- Specified by:
getMappingCountin interfaceAudioStreamOrBuilder
-
getMapping
public 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;- Specified by:
getMappingin interfaceAudioStreamOrBuilder
-
setMapping
public 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;
-
setMapping
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;
-
addMapping
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;
-
addMapping
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;
-
addMapping
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;
-
addMapping
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;
-
addAllMapping
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;
-
clearMapping
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;
-
removeMapping
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;
-
getMappingBuilder
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;
-
getMappingOrBuilder
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;- Specified by:
getMappingOrBuilderin interfaceAudioStreamOrBuilder
-
getMappingOrBuilderList
public 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;- Specified by:
getMappingOrBuilderListin interfaceAudioStreamOrBuilder
-
addMappingBuilder
public 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;
-
addMappingBuilder
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;
-
getMappingBuilderList
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;
-
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
public AudioStream.Builder setSampleRateHertz(int value)
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
public AudioStream.Builder clearSampleRateHertz()
The audio sample rate in Hertz. The default is 48000 Hertz.
int32 sample_rate_hertz = 6;- Returns:
- This builder for chaining.
-
getLanguageCode
public String 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
public AudioStream.Builder setLanguageCode(String value)
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
public AudioStream.Builder 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
public AudioStream.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
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
public String 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
public AudioStream.Builder setDisplayName(String value)
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
public AudioStream.Builder 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
public AudioStream.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final AudioStream.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
mergeUnknownFields
public final AudioStream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
-