Package com.viam.robot.v1
Class Robot.Operation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.Operation,Robot.Operation.Builder>
com.viam.robot.v1.Robot.Operation.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.OperationOrBuilder
,Cloneable
- Enclosing class:
- Robot.Operation
public static final class Robot.Operation.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Operation,Robot.Operation.Builder>
implements Robot.OperationOrBuilder
Protobuf type
viam.robot.v1.Operation
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
clearId()
string id = 1 [json_name = "id"];
string method = 2 [json_name = "method"];
optional string session_id = 5 [json_name = "sessionId"];
.google.protobuf.Timestamp started = 4 [json_name = "started"];
com.google.protobuf.Struct
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
getId()
string id = 1 [json_name = "id"];
com.google.protobuf.ByteString
string id = 1 [json_name = "id"];
string method = 2 [json_name = "method"];
com.google.protobuf.ByteString
string method = 2 [json_name = "method"];
optional string session_id = 5 [json_name = "sessionId"];
com.google.protobuf.ByteString
optional string session_id = 5 [json_name = "sessionId"];
com.google.protobuf.Timestamp
.google.protobuf.Timestamp started = 4 [json_name = "started"];
boolean
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
boolean
optional string session_id = 5 [json_name = "sessionId"];
boolean
.google.protobuf.Timestamp started = 4 [json_name = "started"];
mergeArguments
(com.google.protobuf.Struct value) .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
mergeStarted
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp started = 4 [json_name = "started"];
setArguments
(com.google.protobuf.Struct value) .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
setArguments
(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
string id = 1 [json_name = "id"];
setIdBytes
(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];
string method = 2 [json_name = "method"];
setMethodBytes
(com.google.protobuf.ByteString value) string method = 2 [json_name = "method"];
setSessionId
(String value) optional string session_id = 5 [json_name = "sessionId"];
setSessionIdBytes
(com.google.protobuf.ByteString value) optional string session_id = 5 [json_name = "sessionId"];
setStarted
(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp started = 4 [json_name = "started"];
setStarted
(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp started = 4 [json_name = "started"];
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
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceRobot.OperationOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceRobot.OperationOrBuilder
- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];
- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id"];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getMethod
string method = 2 [json_name = "method"];
- Specified by:
getMethod
in interfaceRobot.OperationOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 2 [json_name = "method"];
- Specified by:
getMethodBytes
in interfaceRobot.OperationOrBuilder
- Returns:
- The bytes for method.
-
setMethod
string method = 2 [json_name = "method"];
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
string method = 2 [json_name = "method"];
- Returns:
- This builder for chaining.
-
setMethodBytes
string method = 2 [json_name = "method"];
- Parameters:
value
- The bytes for method to set.- Returns:
- This builder for chaining.
-
hasArguments
public boolean hasArguments().google.protobuf.Struct arguments = 3 [json_name = "arguments"];
- Specified by:
hasArguments
in interfaceRobot.OperationOrBuilder
- Returns:
- Whether the arguments field is set.
-
getArguments
public com.google.protobuf.Struct getArguments().google.protobuf.Struct arguments = 3 [json_name = "arguments"];
- Specified by:
getArguments
in interfaceRobot.OperationOrBuilder
- Returns:
- The arguments.
-
setArguments
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
-
setArguments
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
-
mergeArguments
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
-
clearArguments
.google.protobuf.Struct arguments = 3 [json_name = "arguments"];
-
hasStarted
public boolean hasStarted().google.protobuf.Timestamp started = 4 [json_name = "started"];
- Specified by:
hasStarted
in interfaceRobot.OperationOrBuilder
- Returns:
- Whether the started field is set.
-
getStarted
public com.google.protobuf.Timestamp getStarted().google.protobuf.Timestamp started = 4 [json_name = "started"];
- Specified by:
getStarted
in interfaceRobot.OperationOrBuilder
- Returns:
- The started.
-
setStarted
.google.protobuf.Timestamp started = 4 [json_name = "started"];
-
setStarted
.google.protobuf.Timestamp started = 4 [json_name = "started"];
-
mergeStarted
.google.protobuf.Timestamp started = 4 [json_name = "started"];
-
clearStarted
.google.protobuf.Timestamp started = 4 [json_name = "started"];
-
hasSessionId
public boolean hasSessionId()optional string session_id = 5 [json_name = "sessionId"];
- Specified by:
hasSessionId
in interfaceRobot.OperationOrBuilder
- Returns:
- Whether the sessionId field is set.
-
getSessionId
optional string session_id = 5 [json_name = "sessionId"];
- Specified by:
getSessionId
in interfaceRobot.OperationOrBuilder
- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()optional string session_id = 5 [json_name = "sessionId"];
- Specified by:
getSessionIdBytes
in interfaceRobot.OperationOrBuilder
- Returns:
- The bytes for sessionId.
-
setSessionId
optional string session_id = 5 [json_name = "sessionId"];
- Parameters:
value
- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
optional string session_id = 5 [json_name = "sessionId"];
- Returns:
- This builder for chaining.
-
setSessionIdBytes
optional string session_id = 5 [json_name = "sessionId"];
- Parameters:
value
- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-