- 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()
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;
Name | Description |
values | Iterable<String> The channelLayout to add. |
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;
Name | Description |
value | String The channelLayout to add. |
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;
Name | Description |
value | ByteString The bytes of the channelLayout to add. |
Type | Description |
AudioFormat.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudioFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AudioFormat.Builder |
build()
public AudioFormat build()
Type | Description |
AudioFormat |
buildPartial()
public AudioFormat buildPartial()
Type | Description |
AudioFormat |
clear()
public AudioFormat.Builder clear()
Type | Description |
AudioFormat.Builder |
clearChannelCount()
public AudioFormat.Builder clearChannelCount()
The number of audio channels.
int32 channel_count = 2;
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;
Type | Description |
AudioFormat.Builder | This builder for chaining. |
clearCodec()
public AudioFormat.Builder clearCodec()
Audio codec used in this audio stream.
string codec = 1;
Type | Description |
AudioFormat.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AudioFormat.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AudioFormat.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AudioFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AudioFormat.Builder |
clone()
public AudioFormat.Builder clone()
Type | Description |
AudioFormat.Builder |
getChannelCount()
public int getChannelCount()
The number of audio channels.
int32 channel_count = 2;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the channelLayout. |
getCodec()
public String getCodec()
Audio codec used in this audio stream.
string codec = 1;
Type | Description |
String | The codec. |
getCodecBytes()
public ByteString getCodecBytes()
Audio codec used in this audio stream.
string codec = 1;
Type | Description |
ByteString | The bytes for codec. |
getDefaultInstanceForType()
public AudioFormat getDefaultInstanceForType()
Type | Description |
AudioFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AudioFormat other)
public AudioFormat.Builder mergeFrom(AudioFormat other)
Name | Description |
other | AudioFormat |
Type | Description |
AudioFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AudioFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AudioFormat.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AudioFormat.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AudioFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudioFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AudioFormat.Builder |
setChannelCount(int value)
public AudioFormat.Builder setChannelCount(int value)
The number of audio channels.
int32 channel_count = 2;
Name | Description |
value | int The channelCount to set. |
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;
Name | Description |
index | int The index to set the value at. |
value | String The channelLayout to set. |
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;
Name | Description |
value | String The codec to set. |
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;
Name | Description |
value | ByteString The bytes for codec to set. |
Type | Description |
AudioFormat.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AudioFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AudioFormat.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudioFormat.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AudioFormat.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AudioFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AudioFormat.Builder |