Class Robot.Session.Builder

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

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

    • getId

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

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

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

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

      public Robot.Session.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.
    • hasPeerConnectionInfo

      public boolean hasPeerConnectionInfo()
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];
      Specified by:
      hasPeerConnectionInfo in interface Robot.SessionOrBuilder
      Returns:
      Whether the peerConnectionInfo field is set.
    • getPeerConnectionInfo

      public Robot.PeerConnectionInfo getPeerConnectionInfo()
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];
      Specified by:
      getPeerConnectionInfo in interface Robot.SessionOrBuilder
      Returns:
      The peerConnectionInfo.
    • setPeerConnectionInfo

      public Robot.Session.Builder setPeerConnectionInfo(Robot.PeerConnectionInfo value)
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];
    • setPeerConnectionInfo

      public Robot.Session.Builder setPeerConnectionInfo(Robot.PeerConnectionInfo.Builder builderForValue)
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];
    • mergePeerConnectionInfo

      public Robot.Session.Builder mergePeerConnectionInfo(Robot.PeerConnectionInfo value)
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];
    • clearPeerConnectionInfo

      public Robot.Session.Builder clearPeerConnectionInfo()
      optional .viam.robot.v1.PeerConnectionInfo peer_connection_info = 2 [json_name = "peerConnectionInfo"];