Interface Robot.ResourceStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Robot.ResourceStatus, Robot.ResourceStatus.Builder
Enclosing class:
Robot

public static interface Robot.ResourceStatusOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • hasName

      boolean hasName()
       resource name.
       
      .viam.common.v1.ResourceName name = 1 [json_name = "name"];
      Returns:
      Whether the name field is set.
    • getName

       resource name.
       
      .viam.common.v1.ResourceName name = 1 [json_name = "name"];
      Returns:
      The name.
    • getStateValue

      int getStateValue()
       current state.
       
      .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       current state.
       
      .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
      Returns:
      The state.
    • hasLastUpdated

      boolean hasLastUpdated()
       state transition timestamp.
       
      .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
      Returns:
      Whether the lastUpdated field is set.
    • getLastUpdated

      com.google.protobuf.Timestamp getLastUpdated()
       state transition timestamp.
       
      .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
      Returns:
      The lastUpdated.
    • getRevision

      String getRevision()
       revision of the last config that successfully updated this resource.
       
      string revision = 4 [json_name = "revision"];
      Returns:
      The revision.
    • getRevisionBytes

      com.google.protobuf.ByteString getRevisionBytes()
       revision of the last config that successfully updated this resource.
       
      string revision = 4 [json_name = "revision"];
      Returns:
      The bytes for revision.
    • getError

      String getError()
       error details for a resource. This is guaranteed to be null if the
       resource is ready and non-null if the resource unhealthy.
       
      string error = 5 [json_name = "error"];
      Returns:
      The error.
    • getErrorBytes

      com.google.protobuf.ByteString getErrorBytes()
       error details for a resource. This is guaranteed to be null if the
       resource is ready and non-null if the resource unhealthy.
       
      string error = 5 [json_name = "error"];
      Returns:
      The bytes for error.
    • hasCloudMetadata

      boolean hasCloudMetadata()
       infomation about resource orgID, locationID and partID
       
      optional .viam.robot.v1.GetCloudMetadataResponse cloud_metadata = 6 [json_name = "cloudMetadata"];
      Returns:
      Whether the cloudMetadata field is set.
    • getCloudMetadata

      Robot.GetCloudMetadataResponse getCloudMetadata()
       infomation about resource orgID, locationID and partID
       
      optional .viam.robot.v1.GetCloudMetadataResponse cloud_metadata = 6 [json_name = "cloudMetadata"];
      Returns:
      The cloudMetadata.