Package viam.app.v1

Class Robot.ConfigRequest.Builder

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

public static final class Robot.ConfigRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ConfigRequest,Robot.ConfigRequest.Builder> implements Robot.ConfigRequestOrBuilder
Protobuf type viam.app.v1.ConfigRequest
  • Method Details

    • getId

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

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

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

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

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

      public boolean hasAgentInfo()
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];
      Specified by:
      hasAgentInfo in interface Robot.ConfigRequestOrBuilder
      Returns:
      Whether the agentInfo field is set.
    • getAgentInfo

      public Robot.AgentInfo getAgentInfo()
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];
      Specified by:
      getAgentInfo in interface Robot.ConfigRequestOrBuilder
      Returns:
      The agentInfo.
    • setAgentInfo

      public Robot.ConfigRequest.Builder setAgentInfo(Robot.AgentInfo value)
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];
    • setAgentInfo

      public Robot.ConfigRequest.Builder setAgentInfo(Robot.AgentInfo.Builder builderForValue)
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];
    • mergeAgentInfo

      public Robot.ConfigRequest.Builder mergeAgentInfo(Robot.AgentInfo value)
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];
    • clearAgentInfo

      public Robot.ConfigRequest.Builder clearAgentInfo()
       Details about the RDK (os, version) are updated during this request.
       
      optional .viam.app.v1.AgentInfo agent_info = 2 [json_name = "agentInfo"];