Class Robot.GetVersionResponse.Builder

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

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

    • getPlatform

      public String getPlatform()
       platform type of viam-server (ie. `rdk` or `micro-rdk`).
       
      string platform = 1 [json_name = "platform"];
      Specified by:
      getPlatform in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The platform.
    • getPlatformBytes

      public com.google.protobuf.ByteString getPlatformBytes()
       platform type of viam-server (ie. `rdk` or `micro-rdk`).
       
      string platform = 1 [json_name = "platform"];
      Specified by:
      getPlatformBytes in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The bytes for platform.
    • setPlatform

      public Robot.GetVersionResponse.Builder setPlatform(String value)
       platform type of viam-server (ie. `rdk` or `micro-rdk`).
       
      string platform = 1 [json_name = "platform"];
      Parameters:
      value - The platform to set.
      Returns:
      This builder for chaining.
    • clearPlatform

      public Robot.GetVersionResponse.Builder clearPlatform()
       platform type of viam-server (ie. `rdk` or `micro-rdk`).
       
      string platform = 1 [json_name = "platform"];
      Returns:
      This builder for chaining.
    • setPlatformBytes

      public Robot.GetVersionResponse.Builder setPlatformBytes(com.google.protobuf.ByteString value)
       platform type of viam-server (ie. `rdk` or `micro-rdk`).
       
      string platform = 1 [json_name = "platform"];
      Parameters:
      value - The bytes for platform to set.
      Returns:
      This builder for chaining.
    • getVersion

      public String getVersion()
       version of viam-server. If built without a version, it will be dev-<git hash>.
       
      string version = 2 [json_name = "version"];
      Specified by:
      getVersion in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       version of viam-server. If built without a version, it will be dev-<git hash>.
       
      string version = 2 [json_name = "version"];
      Specified by:
      getVersionBytes in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public Robot.GetVersionResponse.Builder setVersion(String value)
       version of viam-server. If built without a version, it will be dev-<git hash>.
       
      string version = 2 [json_name = "version"];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public Robot.GetVersionResponse.Builder clearVersion()
       version of viam-server. If built without a version, it will be dev-<git hash>.
       
      string version = 2 [json_name = "version"];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public Robot.GetVersionResponse.Builder setVersionBytes(com.google.protobuf.ByteString value)
       version of viam-server. If built without a version, it will be dev-<git hash>.
       
      string version = 2 [json_name = "version"];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getApiVersion

      public String getApiVersion()
      string api_version = 3 [json_name = "apiVersion"];
      Specified by:
      getApiVersion in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The apiVersion.
    • getApiVersionBytes

      public com.google.protobuf.ByteString getApiVersionBytes()
      string api_version = 3 [json_name = "apiVersion"];
      Specified by:
      getApiVersionBytes in interface Robot.GetVersionResponseOrBuilder
      Returns:
      The bytes for apiVersion.
    • setApiVersion

      public Robot.GetVersionResponse.Builder setApiVersion(String value)
      string api_version = 3 [json_name = "apiVersion"];
      Parameters:
      value - The apiVersion to set.
      Returns:
      This builder for chaining.
    • clearApiVersion

      public Robot.GetVersionResponse.Builder clearApiVersion()
      string api_version = 3 [json_name = "apiVersion"];
      Returns:
      This builder for chaining.
    • setApiVersionBytes

      public Robot.GetVersionResponse.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
      string api_version = 3 [json_name = "apiVersion"];
      Parameters:
      value - The bytes for apiVersion to set.
      Returns:
      This builder for chaining.