Package viam.app.v1
Class Robot.MaintenanceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.MaintenanceConfig,Robot.MaintenanceConfig.Builder>
viam.app.v1.Robot.MaintenanceConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Robot.MaintenanceConfigOrBuilder
- Enclosing class:
- Robot.MaintenanceConfig
public static final class Robot.MaintenanceConfig.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.MaintenanceConfig,Robot.MaintenanceConfig.Builder>
implements Robot.MaintenanceConfigOrBuilder
Protobuf type
viam.app.v1.MaintenanceConfig
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
com.google.protobuf.ByteString
string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
boolean
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
setMaintenanceAllowedKey
(String value) string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
setMaintenanceAllowedKeyBytes
(com.google.protobuf.ByteString value) string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
setSensorName
(Common.ResourceName value) .viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
setSensorName
(Common.ResourceName.Builder builderForValue) .viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
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
-
hasSensorName
public boolean hasSensorName().viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
- Specified by:
hasSensorName
in interfaceRobot.MaintenanceConfigOrBuilder
- Returns:
- Whether the sensorName field is set.
-
getSensorName
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
- Specified by:
getSensorName
in interfaceRobot.MaintenanceConfigOrBuilder
- Returns:
- The sensorName.
-
setSensorName
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
-
setSensorName
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
-
mergeSensorName
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
-
clearSensorName
.viam.common.v1.ResourceName sensor_name = 1 [json_name = "sensorName"];
-
getMaintenanceAllowedKey
string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
- Specified by:
getMaintenanceAllowedKey
in interfaceRobot.MaintenanceConfigOrBuilder
- Returns:
- The maintenanceAllowedKey.
-
getMaintenanceAllowedKeyBytes
public com.google.protobuf.ByteString getMaintenanceAllowedKeyBytes()string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
- Specified by:
getMaintenanceAllowedKeyBytes
in interfaceRobot.MaintenanceConfigOrBuilder
- Returns:
- The bytes for maintenanceAllowedKey.
-
setMaintenanceAllowedKey
string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
- Parameters:
value
- The maintenanceAllowedKey to set.- Returns:
- This builder for chaining.
-
clearMaintenanceAllowedKey
string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
- Returns:
- This builder for chaining.
-
setMaintenanceAllowedKeyBytes
public Robot.MaintenanceConfig.Builder setMaintenanceAllowedKeyBytes(com.google.protobuf.ByteString value) string maintenance_allowed_key = 2 [json_name = "maintenanceAllowedKey"];
- Parameters:
value
- The bytes for maintenanceAllowedKey to set.- Returns:
- This builder for chaining.
-