Package com.viam.component.audioinput.v1
Class Audioinput.RecordRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.RecordRequest,Audioinput.RecordRequest.Builder>
com.viam.component.audioinput.v1.Audioinput.RecordRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Audioinput.RecordRequestOrBuilder
,Cloneable
- Enclosing class:
- Audioinput.RecordRequest
public static final class Audioinput.RecordRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Audioinput.RecordRequest,Audioinput.RecordRequest.Builder>
implements Audioinput.RecordRequestOrBuilder
Protobuf type
viam.component.audioinput.v1.RecordRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Duration duration = 2 [json_name = "duration"];
Name of an audio inputcom.google.protobuf.Duration
.google.protobuf.Duration duration = 2 [json_name = "duration"];
getName()
Name of an audio inputcom.google.protobuf.ByteString
Name of an audio inputboolean
.google.protobuf.Duration duration = 2 [json_name = "duration"];
mergeDuration
(com.google.protobuf.Duration value) .google.protobuf.Duration duration = 2 [json_name = "duration"];
setDuration
(com.google.protobuf.Duration value) .google.protobuf.Duration duration = 2 [json_name = "duration"];
setDuration
(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration duration = 2 [json_name = "duration"];
Name of an audio inputsetNameBytes
(com.google.protobuf.ByteString value) Name of an audio inputMethods 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.RecordRequestOrBuilder
- 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.RecordRequestOrBuilder
- 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.
-
hasDuration
public boolean hasDuration().google.protobuf.Duration duration = 2 [json_name = "duration"];
- Specified by:
hasDuration
in interfaceAudioinput.RecordRequestOrBuilder
- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration().google.protobuf.Duration duration = 2 [json_name = "duration"];
- Specified by:
getDuration
in interfaceAudioinput.RecordRequestOrBuilder
- Returns:
- The duration.
-
setDuration
.google.protobuf.Duration duration = 2 [json_name = "duration"];
-
setDuration
public Audioinput.RecordRequest.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration duration = 2 [json_name = "duration"];
-
mergeDuration
.google.protobuf.Duration duration = 2 [json_name = "duration"];
-
clearDuration
.google.protobuf.Duration duration = 2 [json_name = "duration"];
-