Package com.viam.component.audioinput.v1
Class Audioinput.ChunksRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.ChunksRequest,Audioinput.ChunksRequest.Builder>
com.viam.component.audioinput.v1.Audioinput.ChunksRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Audioinput.ChunksRequestOrBuilder
,Cloneable
- Enclosing class:
- Audioinput.ChunksRequest
public static final class Audioinput.ChunksRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.ChunksRequest,Audioinput.ChunksRequest.Builder>
implements Audioinput.ChunksRequestOrBuilder
Protobuf type
viam.component.audioinput.v1.ChunksRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionName of an audio inputRequested sample encoding format of the responsegetName()
Name of an audio inputcom.google.protobuf.ByteString
Name of an audio inputRequested sample encoding format of the responseint
Requested sample encoding format of the responseName of an audio inputsetNameBytes
(com.google.protobuf.ByteString value) Name of an audio inputRequested sample encoding format of the responsesetSampleFormatValue
(int value) Requested sample encoding format of the responseMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
Name of an audio input
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceAudioinput.ChunksRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of an audio input
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceAudioinput.ChunksRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of an audio input
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of an audio input
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of an audio input
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSampleFormatValue
public int getSampleFormatValue()Requested sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
- Specified by:
getSampleFormatValue
in interfaceAudioinput.ChunksRequestOrBuilder
- Returns:
- The enum numeric value on the wire for sampleFormat.
-
setSampleFormatValue
Requested sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
- Parameters:
value
- The sampleFormat to set.- Returns:
- This builder for chaining.
-
getSampleFormat
Requested sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
- Specified by:
getSampleFormat
in interfaceAudioinput.ChunksRequestOrBuilder
- Returns:
- The sampleFormat.
-
setSampleFormat
Requested sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
- Parameters:
value
- The enum numeric value on the wire for sampleFormat to set.- Returns:
- This builder for chaining.
-
clearSampleFormat
Requested sample encoding format of the response
.viam.component.audioinput.v1.SampleFormat sample_format = 2 [json_name = "sampleFormat"];
- Returns:
- This builder for chaining.
-