Package com.viam.component.audioout.v1
Class Audioout.PlayRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Audioout.PlayRequest,Audioout.PlayRequest.Builder>
com.viam.component.audioout.v1.Audioout.PlayRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Audioout.PlayRequestOrBuilder,Cloneable
- Enclosing class:
- Audioout.PlayRequest
public static final class Audioout.PlayRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Audioout.PlayRequest,Audioout.PlayRequest.Builder>
implements Audioout.PlayRequestOrBuilder
Protobuf type
viam.component.audioout.v1.PlayRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionbytes audio_data = 2 [json_name = "audioData"];Info describing the audio_data.google.protobuf.Struct extra = 99 [json_name = "extra"];string name = 1 [json_name = "name"];com.google.protobuf.ByteStringbytes audio_data = 2 [json_name = "audioData"];Info describing the audio_datacom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];getName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringstring name = 1 [json_name = "name"];booleanInfo describing the audio_databooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];mergeAudioInfo(Common.AudioInfo value) Info describing the audio_datamergeExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];setAudioData(com.google.protobuf.ByteString value) bytes audio_data = 2 [json_name = "audioData"];setAudioInfo(Common.AudioInfo value) Info describing the audio_datasetAudioInfo(Common.AudioInfo.Builder builderForValue) Info describing the audio_datasetExtra(com.google.protobuf.Struct value) .google.protobuf.Struct extra = 99 [json_name = "extra"];setExtra(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct extra = 99 [json_name = "extra"];string name = 1 [json_name = "name"];setNameBytes(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceAudioout.PlayRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceAudioout.PlayRequestOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAudioData
public com.google.protobuf.ByteString getAudioData()bytes audio_data = 2 [json_name = "audioData"];- Specified by:
getAudioDatain interfaceAudioout.PlayRequestOrBuilder- Returns:
- The audioData.
-
setAudioData
bytes audio_data = 2 [json_name = "audioData"];- Parameters:
value- The audioData to set.- Returns:
- This builder for chaining.
-
clearAudioData
bytes audio_data = 2 [json_name = "audioData"];- Returns:
- This builder for chaining.
-
hasAudioInfo
public boolean hasAudioInfo()Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"];- Specified by:
hasAudioInfoin interfaceAudioout.PlayRequestOrBuilder- Returns:
- Whether the audioInfo field is set.
-
getAudioInfo
Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"];- Specified by:
getAudioInfoin interfaceAudioout.PlayRequestOrBuilder- Returns:
- The audioInfo.
-
setAudioInfo
Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"]; -
setAudioInfo
Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"]; -
mergeAudioInfo
Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"]; -
clearAudioInfo
Info describing the audio_data
.viam.common.v1.AudioInfo audio_info = 3 [json_name = "audioInfo"]; -
hasExtra
public boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
hasExtrain interfaceAudioout.PlayRequestOrBuilder- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Specified by:
getExtrain interfaceAudioout.PlayRequestOrBuilder- Returns:
- The extra.
-
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
setExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
mergeExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"]; -
clearExtra
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-