Package com.viam.common.v1
Class Common.DoCommandRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Common.DoCommandRequest,Common.DoCommandRequest.Builder>
com.viam.common.v1.Common.DoCommandRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Common.DoCommandRequestOrBuilder
,Cloneable
- Enclosing class:
- Common.DoCommandRequest
public static final class Common.DoCommandRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.DoCommandRequest,Common.DoCommandRequest.Builder>
implements Common.DoCommandRequestOrBuilder
DoCommandRequest represents a generic DoCommand inputProtobuf type
viam.common.v1.DoCommandRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct command = 2 [json_name = "command"];
string name = 1 [json_name = "name"];
com.google.protobuf.Struct
.google.protobuf.Struct command = 2 [json_name = "command"];
getName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
boolean
.google.protobuf.Struct command = 2 [json_name = "command"];
mergeCommand
(com.google.protobuf.Struct value) .google.protobuf.Struct command = 2 [json_name = "command"];
setCommand
(com.google.protobuf.Struct value) .google.protobuf.Struct command = 2 [json_name = "command"];
setCommand
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct command = 2 [json_name = "command"];
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, 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
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceCommon.DoCommandRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceCommon.DoCommandRequestOrBuilder
- 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.
-
hasCommand
public boolean hasCommand().google.protobuf.Struct command = 2 [json_name = "command"];
- Specified by:
hasCommand
in interfaceCommon.DoCommandRequestOrBuilder
- Returns:
- Whether the command field is set.
-
getCommand
public com.google.protobuf.Struct getCommand().google.protobuf.Struct command = 2 [json_name = "command"];
- Specified by:
getCommand
in interfaceCommon.DoCommandRequestOrBuilder
- Returns:
- The command.
-
setCommand
.google.protobuf.Struct command = 2 [json_name = "command"];
-
setCommand
public Common.DoCommandRequest.Builder setCommand(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct command = 2 [json_name = "command"];
-
mergeCommand
.google.protobuf.Struct command = 2 [json_name = "command"];
-
clearCommand
.google.protobuf.Struct command = 2 [json_name = "command"];
-