Class AudioStreamProperty.Builder (0.54.0)

public static final class AudioStreamProperty.Builder extends GeneratedMessageV3.Builder<AudioStreamProperty.Builder> implements AudioStreamPropertyOrBuilder

Properties of the audio stream.

Protobuf type google.cloud.video.livestream.v1.AudioStreamProperty

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudioStreamProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudioStreamProperty.Builder
Overrides

build()

public AudioStreamProperty build()
Returns
Type Description
AudioStreamProperty

buildPartial()

public AudioStreamProperty buildPartial()
Returns
Type Description
AudioStreamProperty

clear()

public AudioStreamProperty.Builder clear()
Returns
Type Description
AudioStreamProperty.Builder
Overrides

clearAudioFormat()

public AudioStreamProperty.Builder clearAudioFormat()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
Type Description
AudioStreamProperty.Builder

clearField(Descriptors.FieldDescriptor field)

public AudioStreamProperty.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AudioStreamProperty.Builder
Overrides

clearIndex()

public AudioStreamProperty.Builder clearIndex()

Index of this audio stream.

int32 index = 1;

Returns
Type Description
AudioStreamProperty.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudioStreamProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AudioStreamProperty.Builder
Overrides

clone()

public AudioStreamProperty.Builder clone()
Returns
Type Description
AudioStreamProperty.Builder
Overrides

getAudioFormat()

public AudioFormat getAudioFormat()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
Type Description
AudioFormat

The audioFormat.

getAudioFormatBuilder()

public AudioFormat.Builder getAudioFormatBuilder()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
Type Description
AudioFormat.Builder

getAudioFormatOrBuilder()

public AudioFormatOrBuilder getAudioFormatOrBuilder()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
Type Description
AudioFormatOrBuilder

getDefaultInstanceForType()

public AudioStreamProperty getDefaultInstanceForType()
Returns
Type Description
AudioStreamProperty

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndex()

public int getIndex()

Index of this audio stream.

int32 index = 1;

Returns
Type Description
int

The index.

hasAudioFormat()

public boolean hasAudioFormat()

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Returns
Type Description
boolean

Whether the audioFormat field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAudioFormat(AudioFormat value)

public AudioStreamProperty.Builder mergeAudioFormat(AudioFormat value)

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Parameter
Name Description
value AudioFormat
Returns
Type Description
AudioStreamProperty.Builder

mergeFrom(AudioStreamProperty other)

public AudioStreamProperty.Builder mergeFrom(AudioStreamProperty other)
Parameter
Name Description
other AudioStreamProperty
Returns
Type Description
AudioStreamProperty.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AudioStreamProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudioStreamProperty.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AudioStreamProperty.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AudioStreamProperty.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudioStreamProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudioStreamProperty.Builder
Overrides

setAudioFormat(AudioFormat value)

public AudioStreamProperty.Builder setAudioFormat(AudioFormat value)

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Parameter
Name Description
value AudioFormat
Returns
Type Description
AudioStreamProperty.Builder

setAudioFormat(AudioFormat.Builder builderForValue)

public AudioStreamProperty.Builder setAudioFormat(AudioFormat.Builder builderForValue)

Properties of the audio format.

.google.cloud.video.livestream.v1.AudioFormat audio_format = 2;

Parameter
Name Description
builderForValue AudioFormat.Builder
Returns
Type Description
AudioStreamProperty.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AudioStreamProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudioStreamProperty.Builder
Overrides

setIndex(int value)

public AudioStreamProperty.Builder setIndex(int value)

Index of this audio stream.

int32 index = 1;

Parameter
Name Description
value int

The index to set.

Returns
Type Description
AudioStreamProperty.Builder

This builder for chaining.

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

public AudioStreamProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AudioStreamProperty.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AudioStreamProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudioStreamProperty.Builder
Overrides