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.Builder
addAllChannelLayout(Iterable<String> values)
A list of channel names specifying layout of the audio channels.AudioStream.Builder
addAllMapping(Iterable<? extends AudioStream.AudioMapping> values)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
addChannelLayout(String value)
A list of channel names specifying layout of the audio channels.AudioStream.Builder
addChannelLayoutBytes(com.google.protobuf.ByteString value)
A list of channel names specifying layout of the audio channels.AudioStream.Builder
addMapping(int index, AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
addMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
addMapping(AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
addMapping(AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.Builder
addMappingBuilder()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.Builder
addMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AudioStream
build()
AudioStream
buildPartial()
AudioStream.Builder
clear()
AudioStream.Builder
clearBitrateBps()
Required.AudioStream.Builder
clearChannelCount()
Number of audio channels.AudioStream.Builder
clearChannelLayout()
A list of channel names specifying layout of the audio channels.AudioStream.Builder
clearCodec()
The codec for this audio stream.AudioStream.Builder
clearDisplayName()
The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AudioStream.Builder
clearLanguageCode()
The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.Builder
clearMapping()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AudioStream.Builder
clearSampleRateHertz()
The audio sample rate in Hertz.AudioStream.Builder
clone()
int
getBitrateBps()
Required.int
getChannelCount()
Number of audio channels.String
getChannelLayout(int index)
A list of channel names specifying layout of the audio channels.com.google.protobuf.ByteString
getChannelLayoutBytes(int index)
A list of channel names specifying layout of the audio channels.int
getChannelLayoutCount()
A list of channel names specifying layout of the audio channels.com.google.protobuf.ProtocolStringList
getChannelLayoutList()
A list of channel names specifying layout of the audio channels.String
getCodec()
The codec for this audio stream.com.google.protobuf.ByteString
getCodecBytes()
The codec for this audio stream.AudioStream
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The name for this particular audio stream that will be added to the HLS/DASH manifest.com.google.protobuf.ByteString
getDisplayNameBytes()
The name for this particular audio stream that will be added to the HLS/DASH manifest.String
getLanguageCode()
The BCP-47 language code, such as `en-US` or `sr-Latn`.com.google.protobuf.ByteString
getLanguageCodeBytes()
The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.AudioMapping
getMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMapping.Builder
getMappingBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.List<AudioStream.AudioMapping.Builder>
getMappingBuilderList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.int
getMappingCount()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.List<AudioStream.AudioMapping>
getMappingList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.AudioMappingOrBuilder
getMappingOrBuilder(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.List<? extends AudioStream.AudioMappingOrBuilder>
getMappingOrBuilderList()
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.int
getSampleRateHertz()
The audio sample rate in Hertz.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AudioStream.Builder
mergeFrom(AudioStream other)
AudioStream.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AudioStream.Builder
mergeFrom(com.google.protobuf.Message other)
AudioStream.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AudioStream.Builder
removeMapping(int index)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
setBitrateBps(int value)
Required.AudioStream.Builder
setChannelCount(int value)
Number of audio channels.AudioStream.Builder
setChannelLayout(int index, String value)
A list of channel names specifying layout of the audio channels.AudioStream.Builder
setCodec(String value)
The codec for this audio stream.AudioStream.Builder
setCodecBytes(com.google.protobuf.ByteString value)
The codec for this audio stream.AudioStream.Builder
setDisplayName(String value)
The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The name for this particular audio stream that will be added to the HLS/DASH manifest.AudioStream.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AudioStream.Builder
setLanguageCode(String value)
The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
The BCP-47 language code, such as `en-US` or `sr-Latn`.AudioStream.Builder
setMapping(int index, AudioStream.AudioMapping value)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
setMapping(int index, AudioStream.AudioMapping.Builder builderForValue)
The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.AudioStream.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AudioStream.Builder
setSampleRateHertz(int value)
The audio sample rate in Hertz.AudioStream.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clear
public AudioStream.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
getDefaultInstanceForType
public AudioStream getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AudioStream build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AudioStream buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AudioStream.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
setField
public AudioStream.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clearField
public AudioStream.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
clearOneof
public AudioStream.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
setRepeatedField
public AudioStream.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
addRepeatedField
public AudioStream.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
mergeFrom
public AudioStream.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AudioStream.Builder>
-
mergeFrom
public AudioStream.Builder mergeFrom(AudioStream other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCodec
in 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:
getCodecBytes
in 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:
getBitrateBps
in 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:
getChannelCount
in 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:
getChannelLayoutList
in 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:
getChannelLayoutCount
in 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:
getChannelLayout
in 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:
getChannelLayoutBytes
in 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:
getMappingList
in 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:
getMappingCount
in 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:
getMapping
in 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:
getMappingOrBuilder
in 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:
getMappingOrBuilderList
in 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:
getSampleRateHertz
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
mergeUnknownFields
public final AudioStream.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AudioStream.Builder>
-
-