Class Robot.StartSessionResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionResponse,Robot.StartSessionResponse.Builder>
com.viam.robot.v1.Robot.StartSessionResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Robot.StartSessionResponseOrBuilder, Cloneable
Enclosing class:
Robot.StartSessionResponse

public static final class Robot.StartSessionResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.StartSessionResponse,Robot.StartSessionResponse.Builder> implements Robot.StartSessionResponseOrBuilder
Protobuf type viam.robot.v1.StartSessionResponse
  • Method Details

    • getId

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

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface Robot.StartSessionResponseOrBuilder
      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

      public Robot.StartSessionResponse.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.
    • hasHeartbeatWindow

      public boolean hasHeartbeatWindow()
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
      Specified by:
      hasHeartbeatWindow in interface Robot.StartSessionResponseOrBuilder
      Returns:
      Whether the heartbeatWindow field is set.
    • getHeartbeatWindow

      public com.google.protobuf.Duration getHeartbeatWindow()
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
      Specified by:
      getHeartbeatWindow in interface Robot.StartSessionResponseOrBuilder
      Returns:
      The heartbeatWindow.
    • setHeartbeatWindow

      public Robot.StartSessionResponse.Builder setHeartbeatWindow(com.google.protobuf.Duration value)
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
    • setHeartbeatWindow

      public Robot.StartSessionResponse.Builder setHeartbeatWindow(com.google.protobuf.Duration.Builder builderForValue)
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
    • mergeHeartbeatWindow

      public Robot.StartSessionResponse.Builder mergeHeartbeatWindow(com.google.protobuf.Duration value)
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];
    • clearHeartbeatWindow

      public Robot.StartSessionResponse.Builder clearHeartbeatWindow()
      .google.protobuf.Duration heartbeat_window = 2 [json_name = "heartbeatWindow"];