- 0.55.0 (latest)
- 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 AudioStream.AudioMapping.Builder extends GeneratedMessageV3.Builder<AudioStream.AudioMapping.Builder> implements AudioStream.AudioMappingOrBuilder
The mapping for the input streams and audio channels.
Protobuf type google.cloud.video.livestream.v1.AudioStream.AudioMapping
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AudioStream.AudioMapping.BuilderImplements
AudioStream.AudioMappingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudioStream.AudioMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
build()
public AudioStream.AudioMapping build()
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping |
buildPartial()
public AudioStream.AudioMapping buildPartial()
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping |
clear()
public AudioStream.AudioMapping.Builder clear()
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
clearField(Descriptors.FieldDescriptor field)
public AudioStream.AudioMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
clearInputChannel()
public AudioStream.AudioMapping.Builder clearInputChannel()
Required. The zero-based index of the channel in the input stream.
int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
clearInputKey()
public AudioStream.AudioMapping.Builder clearInputKey()
Required. The Channel
InputAttachment.key that identifies the input that this
audio mapping applies to. If an active input doesn't have an audio
mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
clearInputTrack()
public AudioStream.AudioMapping.Builder clearInputTrack()
Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.
int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AudioStream.AudioMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
clearOutputChannel()
public AudioStream.AudioMapping.Builder clearOutputChannel()
Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.
int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
clone()
public AudioStream.AudioMapping.Builder clone()
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
getDefaultInstanceForType()
public AudioStream.AudioMapping getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInputChannel()
public int getInputChannel()
Required. The zero-based index of the channel in the input stream.
int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The inputChannel. |
getInputKey()
public String getInputKey()
Required. The Channel
InputAttachment.key that identifies the input that this
audio mapping applies to. If an active input doesn't have an audio
mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The inputKey. |
getInputKeyBytes()
public ByteString getInputKeyBytes()
Required. The Channel
InputAttachment.key that identifies the input that this
audio mapping applies to. If an active input doesn't have an audio
mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for inputKey. |
getInputTrack()
public int getInputTrack()
Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.
int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The inputTrack. |
getOutputChannel()
public int getOutputChannel()
Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.
int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int | The outputChannel. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AudioStream.AudioMapping other)
public AudioStream.AudioMapping.Builder mergeFrom(AudioStream.AudioMapping other)
Parameter | |
---|---|
Name | Description |
other | AudioStream.AudioMapping |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AudioStream.AudioMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AudioStream.AudioMapping.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudioStream.AudioMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AudioStream.AudioMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
setInputChannel(int value)
public AudioStream.AudioMapping.Builder setInputChannel(int value)
Required. The zero-based index of the channel in the input stream.
int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | int The inputChannel to set. |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
setInputKey(String value)
public AudioStream.AudioMapping.Builder setInputKey(String value)
Required. The Channel
InputAttachment.key that identifies the input that this
audio mapping applies to. If an active input doesn't have an audio
mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | String The inputKey to set. |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
setInputKeyBytes(ByteString value)
public AudioStream.AudioMapping.Builder setInputKeyBytes(ByteString value)
Required. The Channel
InputAttachment.key that identifies the input that this
audio mapping applies to. If an active input doesn't have an audio
mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for inputKey to set. |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
setInputTrack(int value)
public AudioStream.AudioMapping.Builder setInputTrack(int value)
Required. The zero-based index of the track in the input stream. All mappings in the same AudioStream must have the same input track.
int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | int The inputTrack to set. |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
setOutputChannel(int value)
public AudioStream.AudioMapping.Builder setOutputChannel(int value)
Required. The zero-based index of the channel in the output audio stream. Must be consistent with the input_channel.
int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | int The outputChannel to set. |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudioStream.AudioMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AudioStream.AudioMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AudioStream.AudioMapping.Builder |