Package com.viam.robot.v1
Interface Robot.GetMachineStatusResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.GetMachineStatusResponse
,Robot.GetMachineStatusResponse.Builder
- Enclosing class:
- Robot
public static interface Robot.GetMachineStatusResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.viam.robot.v1.ConfigStatus config = 2 [json_name = "config"];
getResources
(int index) repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
int
repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
getState()
.viam.robot.v1.GetMachineStatusResponse.State state = 3 [json_name = "state"];
int
.viam.robot.v1.GetMachineStatusResponse.State state = 3 [json_name = "state"];
boolean
.viam.robot.v1.ConfigStatus config = 2 [json_name = "config"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getResourcesList
List<Robot.ResourceStatus> getResourcesList()repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
-
getResources
repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
-
getResourcesCount
int getResourcesCount()repeated .viam.robot.v1.ResourceStatus resources = 1 [json_name = "resources"];
-
hasConfig
boolean hasConfig().viam.robot.v1.ConfigStatus config = 2 [json_name = "config"];
- Returns:
- Whether the config field is set.
-
getConfig
Robot.ConfigStatus getConfig().viam.robot.v1.ConfigStatus config = 2 [json_name = "config"];
- Returns:
- The config.
-
getStateValue
int getStateValue().viam.robot.v1.GetMachineStatusResponse.State state = 3 [json_name = "state"];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Robot.GetMachineStatusResponse.State getState().viam.robot.v1.GetMachineStatusResponse.State state = 3 [json_name = "state"];
- Returns:
- The state.
-