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
  • Method Details

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface Robot.OperationOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface Robot.OperationOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Robot.Operation.Builder setId(String value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Robot.Operation.Builder clearId()
      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Robot.Operation.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getMethod

      public String getMethod()
      string method = 2 [json_name = "method"];
      Specified by:
      getMethod in interface Robot.OperationOrBuilder
      Returns:
      The method.
    • getMethodBytes

      public com.google.protobuf.ByteString getMethodBytes()
      string method = 2 [json_name = "method"];
      Specified by:
      getMethodBytes in interface Robot.OperationOrBuilder
      Returns:
      The bytes for method.
    • setMethod

      public Robot.Operation.Builder setMethod(String value)
      string method = 2 [json_name = "method"];
      Parameters:
      value - The method to set.
      Returns:
      This builder for chaining.
    • clearMethod

      public Robot.Operation.Builder clearMethod()
      string method = 2 [json_name = "method"];
      Returns:
      This builder for chaining.
    • setMethodBytes

      public Robot.Operation.Builder setMethodBytes(com.google.protobuf.ByteString value)
      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 interface Robot.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 interface Robot.OperationOrBuilder
      Returns:
      The arguments.
    • setArguments

      public Robot.Operation.Builder setArguments(com.google.protobuf.Struct value)
      .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
    • setArguments

      public Robot.Operation.Builder setArguments(com.google.protobuf.Struct.Builder builderForValue)
      .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
    • mergeArguments

      public Robot.Operation.Builder mergeArguments(com.google.protobuf.Struct value)
      .google.protobuf.Struct arguments = 3 [json_name = "arguments"];
    • clearArguments

      public Robot.Operation.Builder 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 interface Robot.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 interface Robot.OperationOrBuilder
      Returns:
      The started.
    • setStarted

      public Robot.Operation.Builder setStarted(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp started = 4 [json_name = "started"];
    • setStarted

      public Robot.Operation.Builder setStarted(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp started = 4 [json_name = "started"];
    • mergeStarted

      public Robot.Operation.Builder mergeStarted(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp started = 4 [json_name = "started"];
    • clearStarted

      public Robot.Operation.Builder 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 interface Robot.OperationOrBuilder
      Returns:
      Whether the sessionId field is set.
    • getSessionId

      public String getSessionId()
      optional string session_id = 5 [json_name = "sessionId"];
      Specified by:
      getSessionId in interface Robot.OperationOrBuilder
      Returns:
      The sessionId.
    • getSessionIdBytes

      public com.google.protobuf.ByteString getSessionIdBytes()
      optional string session_id = 5 [json_name = "sessionId"];
      Specified by:
      getSessionIdBytes in interface Robot.OperationOrBuilder
      Returns:
      The bytes for sessionId.
    • setSessionId

      public Robot.Operation.Builder setSessionId(String value)
      optional string session_id = 5 [json_name = "sessionId"];
      Parameters:
      value - The sessionId to set.
      Returns:
      This builder for chaining.
    • clearSessionId

      public Robot.Operation.Builder clearSessionId()
      optional string session_id = 5 [json_name = "sessionId"];
      Returns:
      This builder for chaining.
    • setSessionIdBytes

      public Robot.Operation.Builder setSessionIdBytes(com.google.protobuf.ByteString value)
      optional string session_id = 5 [json_name = "sessionId"];
      Parameters:
      value - The bytes for sessionId to set.
      Returns:
      This builder for chaining.