Class AudioStreamProperty.Builder (0.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudioStreamProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

build()

public AudioStreamProperty build()
Returns
TypeDescription
AudioStreamProperty

buildPartial()

public AudioStreamProperty buildPartial()
Returns
TypeDescription
AudioStreamProperty

clear()

public AudioStreamProperty.Builder clear()
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

clearAudioFormat()

public AudioStreamProperty.Builder clearAudioFormat()

Properties of the audio format.

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

Returns
TypeDescription
AudioStreamProperty.Builder

clearField(Descriptors.FieldDescriptor field)

public AudioStreamProperty.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

clearIndex()

public AudioStreamProperty.Builder clearIndex()

Index of this audio stream.

int32 index = 1;

Returns
TypeDescription
AudioStreamProperty.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudioStreamProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

clone()

public AudioStreamProperty.Builder clone()
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

getAudioFormat()

public AudioFormat getAudioFormat()

Properties of the audio format.

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

Returns
TypeDescription
AudioFormat

The audioFormat.

getAudioFormatBuilder()

public AudioFormat.Builder getAudioFormatBuilder()

Properties of the audio format.

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

Returns
TypeDescription
AudioFormat.Builder

getAudioFormatOrBuilder()

public AudioFormatOrBuilder getAudioFormatOrBuilder()

Properties of the audio format.

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

Returns
TypeDescription
AudioFormatOrBuilder

getDefaultInstanceForType()

public AudioStreamProperty getDefaultInstanceForType()
Returns
TypeDescription
AudioStreamProperty

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndex()

public int getIndex()

Index of this audio stream.

int32 index = 1;

Returns
TypeDescription
int

The index.

hasAudioFormat()

public boolean hasAudioFormat()

Properties of the audio format.

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

Returns
TypeDescription
boolean

Whether the audioFormat field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAudioFormat
Returns
TypeDescription
AudioStreamProperty.Builder

mergeFrom(AudioStreamProperty other)

public AudioStreamProperty.Builder mergeFrom(AudioStreamProperty other)
Parameter
NameDescription
otherAudioStreamProperty
Returns
TypeDescription
AudioStreamProperty.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudioStreamProperty.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudioStreamProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAudioFormat
Returns
TypeDescription
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
NameDescription
builderForValueAudioFormat.Builder
Returns
TypeDescription
AudioStreamProperty.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AudioStreamProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

setIndex(int value)

public AudioStreamProperty.Builder setIndex(int value)

Index of this audio stream.

int32 index = 1;

Parameter
NameDescription
valueint

The index to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AudioStreamProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AudioStreamProperty.Builder
Overrides