Class AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder (0.4.3)

public static final class AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder extends GeneratedMessageV3.Builder<AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder> implements AudioStream.AudioAtom.AudioChannel.AudioChannelInputOrBuilder

Identifies which input file, track, and channel should be used.

Protobuf type google.cloud.video.transcoder.v1beta1.AudioStream.AudioAtom.AudioChannel.AudioChannelInput

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

build()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput build()
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput

buildPartial()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput buildPartial()
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput

clear()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clear()
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

clearChannel()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearChannel()

Required. The zero-based index of the channel in the input file.

int32 channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

clearGainDb()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearGainDb()

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 4;

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

clearKey()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearKey()

Required. The Input.key that identifies the input file.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

clearTrack()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clearTrack()

Required. The zero-based index of the track in the input file.

int32 track = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

clone()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder clone()
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

getChannel()

public int getChannel()

Required. The zero-based index of the channel in the input file.

int32 channel = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The channel.

getDefaultInstanceForType()

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput getDefaultInstanceForType()
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGainDb()

public double getGainDb()

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 4;

Returns
TypeDescription
double

The gainDb.

getKey()

public String getKey()

Required. The Input.key that identifies the input file.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Required. The Input.key that identifies the input file.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for key.

getTrack()

public int getTrack()

Required. The zero-based index of the track in the input file.

int32 track = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The track.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AudioStream.AudioAtom.AudioChannel.AudioChannelInput other)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder mergeFrom(AudioStream.AudioAtom.AudioChannel.AudioChannelInput other)
Parameter
NameDescription
otherAudioStream.AudioAtom.AudioChannel.AudioChannelInput
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

setChannel(int value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setChannel(int value)

Required. The zero-based index of the channel in the input file.

int32 channel = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The channel to set.

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

setGainDb(double value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setGainDb(double value)

Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.

double gain_db = 4;

Parameter
NameDescription
valuedouble

The gainDb to set.

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

setKey(String value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setKey(String value)

Required. The Input.key that identifies the input file.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setKeyBytes(ByteString value)

Required. The Input.key that identifies the input file.

string key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides

setTrack(int value)

public AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setTrack(int value)

Required. The zero-based index of the track in the input file.

int32 track = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The track to set.

Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudioStream.AudioAtom.AudioChannel.AudioChannelInput.Builder
Overrides