Package com.viam.robot.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring api_version = 3 [json_name = "apiVersion"];
platform type of viam-server (ie.version of viam-server.string api_version = 3 [json_name = "apiVersion"];
com.google.protobuf.ByteString
string api_version = 3 [json_name = "apiVersion"];
platform type of viam-server (ie.com.google.protobuf.ByteString
platform type of viam-server (ie.version of viam-server.com.google.protobuf.ByteString
version of viam-server.setApiVersion
(String value) string api_version = 3 [json_name = "apiVersion"];
setApiVersionBytes
(com.google.protobuf.ByteString value) string api_version = 3 [json_name = "apiVersion"];
setPlatform
(String value) platform type of viam-server (ie.setPlatformBytes
(com.google.protobuf.ByteString value) platform type of viam-server (ie.setVersion
(String value) version of viam-server.setVersionBytes
(com.google.protobuf.ByteString value) version of viam-server.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPlatform
platform type of viam-server (ie. `rdk` or `micro-rdk`).
string platform = 1 [json_name = "platform"];
- Specified by:
getPlatform
in interfaceRobot.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 interfaceRobot.GetVersionResponseOrBuilder
- Returns:
- The bytes for platform.
-
setPlatform
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
platform type of viam-server (ie. `rdk` or `micro-rdk`).
string platform = 1 [json_name = "platform"];
- Returns:
- This builder for chaining.
-
setPlatformBytes
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
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 interfaceRobot.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 interfaceRobot.GetVersionResponseOrBuilder
- Returns:
- The bytes for version.
-
setVersion
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
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
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
string api_version = 3 [json_name = "apiVersion"];
- Specified by:
getApiVersion
in interfaceRobot.GetVersionResponseOrBuilder
- Returns:
- The apiVersion.
-
getApiVersionBytes
public com.google.protobuf.ByteString getApiVersionBytes()string api_version = 3 [json_name = "apiVersion"];
- Specified by:
getApiVersionBytes
in interfaceRobot.GetVersionResponseOrBuilder
- Returns:
- The bytes for apiVersion.
-
setApiVersion
string api_version = 3 [json_name = "apiVersion"];
- Parameters:
value
- The apiVersion to set.- Returns:
- This builder for chaining.
-
clearApiVersion
string api_version = 3 [json_name = "apiVersion"];
- Returns:
- This builder for chaining.
-
setApiVersionBytes
string api_version = 3 [json_name = "apiVersion"];
- Parameters:
value
- The bytes for apiVersion to set.- Returns:
- This builder for chaining.
-