Package com.viam.robot.v1
Class Robot.GetCloudMetadataResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.GetCloudMetadataResponse,Robot.GetCloudMetadataResponse.Builder>
com.viam.robot.v1.Robot.GetCloudMetadataResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Robot.GetCloudMetadataResponseOrBuilder
,Cloneable
- Enclosing class:
- Robot.GetCloudMetadataResponse
public static final class Robot.GetCloudMetadataResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.GetCloudMetadataResponse,Robot.GetCloudMetadataResponse.Builder>
implements Robot.GetCloudMetadataResponseOrBuilder
Protobuf type
viam.robot.v1.GetCloudMetadataResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring location_id = 3 [json_name = "locationId"];
string machine_id = 4 [json_name = "machineId"];
string machine_part_id = 5 [json_name = "machinePartId"];
string primary_org_id = 2 [json_name = "primaryOrgId"];
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.string location_id = 3 [json_name = "locationId"];
com.google.protobuf.ByteString
string location_id = 3 [json_name = "locationId"];
string machine_id = 4 [json_name = "machineId"];
com.google.protobuf.ByteString
string machine_id = 4 [json_name = "machineId"];
string machine_part_id = 5 [json_name = "machinePartId"];
com.google.protobuf.ByteString
string machine_part_id = 5 [json_name = "machinePartId"];
string primary_org_id = 2 [json_name = "primaryOrgId"];
com.google.protobuf.ByteString
string primary_org_id = 2 [json_name = "primaryOrgId"];
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.com.google.protobuf.ByteString
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.setLocationId
(String value) string location_id = 3 [json_name = "locationId"];
setLocationIdBytes
(com.google.protobuf.ByteString value) string location_id = 3 [json_name = "locationId"];
setMachineId
(String value) string machine_id = 4 [json_name = "machineId"];
setMachineIdBytes
(com.google.protobuf.ByteString value) string machine_id = 4 [json_name = "machineId"];
setMachinePartId
(String value) string machine_part_id = 5 [json_name = "machinePartId"];
setMachinePartIdBytes
(com.google.protobuf.ByteString value) string machine_part_id = 5 [json_name = "machinePartId"];
setPrimaryOrgId
(String value) string primary_org_id = 2 [json_name = "primaryOrgId"];
setPrimaryOrgIdBytes
(com.google.protobuf.ByteString value) string primary_org_id = 2 [json_name = "primaryOrgId"];
setRobotPartId
(String value) Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.setRobotPartIdBytes
(com.google.protobuf.ByteString value) Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated.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
-
getRobotPartId
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. See robot/v1/robot.proto;l=315Deprecated: use machine_part_id field.
string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
- Specified by:
getRobotPartId
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The robotPartId.
-
getRobotPartIdBytes
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. See robot/v1/robot.proto;l=315Deprecated: use machine_part_id field.
string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
- Specified by:
getRobotPartIdBytes
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The bytes for robotPartId.
-
setRobotPartId
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. See robot/v1/robot.proto;l=315Deprecated: use machine_part_id field.
string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
- Parameters:
value
- The robotPartId to set.- Returns:
- This builder for chaining.
-
clearRobotPartId
Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. See robot/v1/robot.proto;l=315Deprecated: use machine_part_id field.
string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
- Returns:
- This builder for chaining.
-
setRobotPartIdBytes
@Deprecated public Robot.GetCloudMetadataResponse.Builder setRobotPartIdBytes(com.google.protobuf.ByteString value) Deprecated.viam.robot.v1.GetCloudMetadataResponse.robot_part_id is deprecated. See robot/v1/robot.proto;l=315Deprecated: use machine_part_id field.
string robot_part_id = 1 [json_name = "robotPartId", deprecated = true];
- Parameters:
value
- The bytes for robotPartId to set.- Returns:
- This builder for chaining.
-
getPrimaryOrgId
string primary_org_id = 2 [json_name = "primaryOrgId"];
- Specified by:
getPrimaryOrgId
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The primaryOrgId.
-
getPrimaryOrgIdBytes
public com.google.protobuf.ByteString getPrimaryOrgIdBytes()string primary_org_id = 2 [json_name = "primaryOrgId"];
- Specified by:
getPrimaryOrgIdBytes
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The bytes for primaryOrgId.
-
setPrimaryOrgId
string primary_org_id = 2 [json_name = "primaryOrgId"];
- Parameters:
value
- The primaryOrgId to set.- Returns:
- This builder for chaining.
-
clearPrimaryOrgId
string primary_org_id = 2 [json_name = "primaryOrgId"];
- Returns:
- This builder for chaining.
-
setPrimaryOrgIdBytes
public Robot.GetCloudMetadataResponse.Builder setPrimaryOrgIdBytes(com.google.protobuf.ByteString value) string primary_org_id = 2 [json_name = "primaryOrgId"];
- Parameters:
value
- The bytes for primaryOrgId to set.- Returns:
- This builder for chaining.
-
getLocationId
string location_id = 3 [json_name = "locationId"];
- Specified by:
getLocationId
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The locationId.
-
getLocationIdBytes
public com.google.protobuf.ByteString getLocationIdBytes()string location_id = 3 [json_name = "locationId"];
- Specified by:
getLocationIdBytes
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The bytes for locationId.
-
setLocationId
string location_id = 3 [json_name = "locationId"];
- Parameters:
value
- The locationId to set.- Returns:
- This builder for chaining.
-
clearLocationId
string location_id = 3 [json_name = "locationId"];
- Returns:
- This builder for chaining.
-
setLocationIdBytes
public Robot.GetCloudMetadataResponse.Builder setLocationIdBytes(com.google.protobuf.ByteString value) string location_id = 3 [json_name = "locationId"];
- Parameters:
value
- The bytes for locationId to set.- Returns:
- This builder for chaining.
-
getMachineId
string machine_id = 4 [json_name = "machineId"];
- Specified by:
getMachineId
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The machineId.
-
getMachineIdBytes
public com.google.protobuf.ByteString getMachineIdBytes()string machine_id = 4 [json_name = "machineId"];
- Specified by:
getMachineIdBytes
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The bytes for machineId.
-
setMachineId
string machine_id = 4 [json_name = "machineId"];
- Parameters:
value
- The machineId to set.- Returns:
- This builder for chaining.
-
clearMachineId
string machine_id = 4 [json_name = "machineId"];
- Returns:
- This builder for chaining.
-
setMachineIdBytes
public Robot.GetCloudMetadataResponse.Builder setMachineIdBytes(com.google.protobuf.ByteString value) string machine_id = 4 [json_name = "machineId"];
- Parameters:
value
- The bytes for machineId to set.- Returns:
- This builder for chaining.
-
getMachinePartId
string machine_part_id = 5 [json_name = "machinePartId"];
- Specified by:
getMachinePartId
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The machinePartId.
-
getMachinePartIdBytes
public com.google.protobuf.ByteString getMachinePartIdBytes()string machine_part_id = 5 [json_name = "machinePartId"];
- Specified by:
getMachinePartIdBytes
in interfaceRobot.GetCloudMetadataResponseOrBuilder
- Returns:
- The bytes for machinePartId.
-
setMachinePartId
string machine_part_id = 5 [json_name = "machinePartId"];
- Parameters:
value
- The machinePartId to set.- Returns:
- This builder for chaining.
-
clearMachinePartId
string machine_part_id = 5 [json_name = "machinePartId"];
- Returns:
- This builder for chaining.
-
setMachinePartIdBytes
public Robot.GetCloudMetadataResponse.Builder setMachinePartIdBytes(com.google.protobuf.ByteString value) string machine_part_id = 5 [json_name = "machinePartId"];
- Parameters:
value
- The bytes for machinePartId to set.- Returns:
- This builder for chaining.
-