Package viam.app.v1

Class Robot.LocationSecret.Builder

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

public static final class Robot.LocationSecret.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.LocationSecret,Robot.LocationSecret.Builder> implements Robot.LocationSecretOrBuilder
 Valid location secret that can be used for authentication to the robot.
 
Protobuf type viam.app.v1.LocationSecret
  • Method Details

    • getId

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

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

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

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

      public Robot.LocationSecret.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.
    • getSecret

      public String getSecret()
       secret payload
       
      string secret = 2 [json_name = "secret"];
      Specified by:
      getSecret in interface Robot.LocationSecretOrBuilder
      Returns:
      The secret.
    • getSecretBytes

      public com.google.protobuf.ByteString getSecretBytes()
       secret payload
       
      string secret = 2 [json_name = "secret"];
      Specified by:
      getSecretBytes in interface Robot.LocationSecretOrBuilder
      Returns:
      The bytes for secret.
    • setSecret

      public Robot.LocationSecret.Builder setSecret(String value)
       secret payload
       
      string secret = 2 [json_name = "secret"];
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      public Robot.LocationSecret.Builder clearSecret()
       secret payload
       
      string secret = 2 [json_name = "secret"];
      Returns:
      This builder for chaining.
    • setSecretBytes

      public Robot.LocationSecret.Builder setSecretBytes(com.google.protobuf.ByteString value)
       secret payload
       
      string secret = 2 [json_name = "secret"];
      Parameters:
      value - The bytes for secret to set.
      Returns:
      This builder for chaining.