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.ByteStringstring id = 1 [json_name = "id"];string method = 2 [json_name = "method"];com.google.protobuf.ByteStringstring method = 2 [json_name = "method"];optional string session_id = 5 [json_name = "sessionId"];com.google.protobuf.ByteStringoptional 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"];booleanoptional 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, 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
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceRobot.OperationOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin 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:
getMethodin interfaceRobot.OperationOrBuilder- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 2 [json_name = "method"];- Specified by:
getMethodBytesin 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:
hasArgumentsin 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:
getArgumentsin 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:
hasStartedin 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:
getStartedin 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:
hasSessionIdin interfaceRobot.OperationOrBuilder- Returns:
- Whether the sessionId field is set.
-
getSessionId
optional string session_id = 5 [json_name = "sessionId"];- Specified by:
getSessionIdin interfaceRobot.OperationOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()optional string session_id = 5 [json_name = "sessionId"];- Specified by:
getSessionIdBytesin 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.
-