- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class AudioFormat.Builder extends GeneratedMessageV3.Builder<AudioFormat.Builder> implements AudioFormatOrBuilder
Properties of the audio format.
Protobuf type google.cloud.video.livestream.v1.AudioFormat
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AudioFormat.BuilderImplements
AudioFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllChannelLayout(Iterable<String> values)
public AudioFormat.Builder addAllChannelLayout(Iterable<String> values)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The channelLayout to add. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
addChannelLayout(String value)
public AudioFormat.Builder addChannelLayout(String value)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameter | |
---|---|
Name | Description |
value |
String The channelLayout to add. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
addChannelLayoutBytes(ByteString value)
public AudioFormat.Builder addChannelLayoutBytes(ByteString value)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the channelLayout to add. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudioFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
build()
public AudioFormat build()
Returns | |
---|---|
Type | Description |
AudioFormat |
buildPartial()
public AudioFormat buildPartial()
Returns | |
---|---|
Type | Description |
AudioFormat |
clear()
public AudioFormat.Builder clear()
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
clearChannelCount()
public AudioFormat.Builder clearChannelCount()
The number of audio channels.
int32 channel_count = 2;
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
clearChannelLayout()
public AudioFormat.Builder clearChannelLayout()
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
clearCodec()
public AudioFormat.Builder clearCodec()
Audio codec used in this audio stream.
string codec = 1;
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AudioFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AudioFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
clone()
public AudioFormat.Builder clone()
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
getChannelCount()
public int getChannelCount()
The number of audio channels.
int32 channel_count = 2;
Returns | |
---|---|
Type | Description |
int |
The channelCount. |
getChannelLayout(int index)
public String getChannelLayout(int index)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The channelLayout at the given index. |
getChannelLayoutBytes(int index)
public ByteString getChannelLayoutBytes(int index)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the channelLayout at the given index. |
getChannelLayoutCount()
public int getChannelLayoutCount()
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Returns | |
---|---|
Type | Description |
int |
The count of channelLayout. |
getChannelLayoutList()
public ProtocolStringList getChannelLayoutList()
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the channelLayout. |
getCodec()
public String getCodec()
Audio codec used in this audio stream.
string codec = 1;
Returns | |
---|---|
Type | Description |
String |
The codec. |
getCodecBytes()
public ByteString getCodecBytes()
Audio codec used in this audio stream.
string codec = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for codec. |
getDefaultInstanceForType()
public AudioFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AudioFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AudioFormat other)
public AudioFormat.Builder mergeFrom(AudioFormat other)
Parameter | |
---|---|
Name | Description |
other |
AudioFormat |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AudioFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AudioFormat.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudioFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
setChannelCount(int value)
public AudioFormat.Builder setChannelCount(int value)
The number of audio channels.
int32 channel_count = 2;
Parameter | |
---|---|
Name | Description |
value |
int The channelCount to set. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
setChannelLayout(int index, String value)
public AudioFormat.Builder setChannelLayout(int index, String value)
A list of channel names specifying the layout of the audio channels.
repeated string channel_layout = 3;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The channelLayout to set. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
setCodec(String value)
public AudioFormat.Builder setCodec(String value)
Audio codec used in this audio stream.
string codec = 1;
Parameter | |
---|---|
Name | Description |
value |
String The codec to set. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
setCodecBytes(ByteString value)
public AudioFormat.Builder setCodecBytes(ByteString value)
Audio codec used in this audio stream.
string codec = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for codec to set. |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AudioFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudioFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AudioFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AudioFormat.Builder |