Package viam.app.v1
Class AppOuterClass.UpdateRobotPartRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<AppOuterClass.UpdateRobotPartRequest,AppOuterClass.UpdateRobotPartRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateRobotPartRequest,AppOuterClass.UpdateRobotPartRequest.Builder>
viam.app.v1.AppOuterClass.UpdateRobotPartRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.UpdateRobotPartRequestOrBuilder
- Enclosing class:
AppOuterClass.UpdateRobotPartRequest
public static final class AppOuterClass.UpdateRobotPartRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.UpdateRobotPartRequest,AppOuterClass.UpdateRobotPartRequest.Builder>
implements AppOuterClass.UpdateRobotPartRequestOrBuilder
Protobuf type
viam.app.v1.UpdateRobotPartRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionclearId()string id = 1 [json_name = "id"];optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];string name = 2 [json_name = "name"];.google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.getId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];com.google.protobuf.Timestampoptional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];getName()string name = 2 [json_name = "name"];com.google.protobuf.ByteStringstring name = 2 [json_name = "name"];com.google.protobuf.Struct.google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.com.google.protobuf.ByteStringrobot_config_json is the raw JSON string of the robot config, preserving user-defined key order.booleanoptional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];boolean.google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];booleanrobot_config_json is the raw JSON string of the robot config, preserving user-defined key order.mergeLastKnownUpdate(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];mergeRobotConfig(com.google.protobuf.Struct value) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];string id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];setLastKnownUpdate(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];setLastKnownUpdate(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];string name = 2 [json_name = "name"];setNameBytes(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];setRobotConfig(com.google.protobuf.Struct value) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];setRobotConfig(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];setRobotConfigJson(String value) robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.setRobotConfigJsonBytes(com.google.protobuf.ByteString value) robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public AppOuterClass.UpdateRobotPartRequest.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.
-
getName
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public AppOuterClass.UpdateRobotPartRequest.Builder setNameBytes(com.google.protobuf.ByteString value) string name = 2 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasRobotConfig
public boolean hasRobotConfig().google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];- Specified by:
hasRobotConfigin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- Whether the robotConfig field is set.
-
getRobotConfig
public com.google.protobuf.Struct getRobotConfig().google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"];- Specified by:
getRobotConfigin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The robotConfig.
-
setRobotConfig
public AppOuterClass.UpdateRobotPartRequest.Builder setRobotConfig(com.google.protobuf.Struct value) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; -
setRobotConfig
public AppOuterClass.UpdateRobotPartRequest.Builder setRobotConfig(com.google.protobuf.Struct.Builder builderForValue) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; -
mergeRobotConfig
public AppOuterClass.UpdateRobotPartRequest.Builder mergeRobotConfig(com.google.protobuf.Struct value) .google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; -
clearRobotConfig
.google.protobuf.Struct robot_config = 3 [json_name = "robotConfig"]; -
hasLastKnownUpdate
public boolean hasLastKnownUpdate()optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];- Specified by:
hasLastKnownUpdatein interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- Whether the lastKnownUpdate field is set.
-
getLastKnownUpdate
public com.google.protobuf.Timestamp getLastKnownUpdate()optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"];- Specified by:
getLastKnownUpdatein interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The lastKnownUpdate.
-
setLastKnownUpdate
public AppOuterClass.UpdateRobotPartRequest.Builder setLastKnownUpdate(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"]; -
setLastKnownUpdate
public AppOuterClass.UpdateRobotPartRequest.Builder setLastKnownUpdate(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"]; -
mergeLastKnownUpdate
public AppOuterClass.UpdateRobotPartRequest.Builder mergeLastKnownUpdate(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"]; -
clearLastKnownUpdate
optional .google.protobuf.Timestamp last_known_update = 4 [json_name = "lastKnownUpdate"]; -
hasRobotConfigJson
public boolean hasRobotConfigJson()robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Specified by:
hasRobotConfigJsonin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- Whether the robotConfigJson field is set.
-
getRobotConfigJson
robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Specified by:
getRobotConfigJsonin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The robotConfigJson.
-
getRobotConfigJsonBytes
public com.google.protobuf.ByteString getRobotConfigJsonBytes()robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Specified by:
getRobotConfigJsonBytesin interfaceAppOuterClass.UpdateRobotPartRequestOrBuilder- Returns:
- The bytes for robotConfigJson.
-
setRobotConfigJson
robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Parameters:
value- The robotConfigJson to set.- Returns:
- This builder for chaining.
-
clearRobotConfigJson
robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Returns:
- This builder for chaining.
-
setRobotConfigJsonBytes
public AppOuterClass.UpdateRobotPartRequest.Builder setRobotConfigJsonBytes(com.google.protobuf.ByteString value) robot_config_json is the raw JSON string of the robot config, preserving user-defined key order. When set, this takes precedence over robot_config for storage purposes.
optional string robot_config_json = 5 [json_name = "robotConfigJson"];- Parameters:
value- The bytes for robotConfigJson to set.- Returns:
- This builder for chaining.
-