Class Robot.ResourceStatus

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.ResourceStatus,Robot.ResourceStatus.Builder>
com.viam.robot.v1.Robot.ResourceStatus
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Robot.ResourceStatusOrBuilder
Enclosing class:
Robot

public static final class Robot.ResourceStatus extends com.google.protobuf.GeneratedMessageLite<Robot.ResourceStatus,Robot.ResourceStatus.Builder> implements Robot.ResourceStatusOrBuilder
Protobuf type viam.robot.v1.ResourceStatus
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type viam.robot.v1.ResourceStatus
    static enum 
    Protobuf enum viam.robot.v1.ResourceStatus.State

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    infomation about resource orgID, locationID and partID
     
    error details for a resource.
    com.google.protobuf.ByteString
    error details for a resource.
    com.google.protobuf.Timestamp
    state transition timestamp.
    resource name.
    revision of the last config that successfully updated this resource.
    com.google.protobuf.ByteString
    revision of the last config that successfully updated this resource.
    current state.
    int
    current state.
    boolean
    infomation about resource orgID, locationID and partID
    boolean
    state transition timestamp.
    boolean
    resource name.
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Robot.ResourceStatus>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

  • Method Details

    • hasName

      public boolean hasName()
       resource name.
       
      .viam.common.v1.ResourceName name = 1 [json_name = "name"];
      Specified by:
      hasName in interface Robot.ResourceStatusOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public Common.ResourceName getName()
       resource name.
       
      .viam.common.v1.ResourceName name = 1 [json_name = "name"];
      Specified by:
      getName in interface Robot.ResourceStatusOrBuilder
      Returns:
      The name.
    • getStateValue

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

      public Robot.ResourceStatus.State getState()
       current state.
       
      .viam.robot.v1.ResourceStatus.State state = 2 [json_name = "state"];
      Specified by:
      getState in interface Robot.ResourceStatusOrBuilder
      Returns:
      The state.
    • hasLastUpdated

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

      public com.google.protobuf.Timestamp getLastUpdated()
       state transition timestamp.
       
      .google.protobuf.Timestamp last_updated = 3 [json_name = "lastUpdated"];
      Specified by:
      getLastUpdated in interface Robot.ResourceStatusOrBuilder
      Returns:
      The lastUpdated.
    • getRevision

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

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

      public 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"];
      Specified by:
      getError in interface Robot.ResourceStatusOrBuilder
      Returns:
      The error.
    • getErrorBytes

      public 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"];
      Specified by:
      getErrorBytes in interface Robot.ResourceStatusOrBuilder
      Returns:
      The bytes for error.
    • hasCloudMetadata

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

      public Robot.GetCloudMetadataResponse getCloudMetadata()
       infomation about resource orgID, locationID and partID
       
      optional .viam.robot.v1.GetCloudMetadataResponse cloud_metadata = 6 [json_name = "cloudMetadata"];
      Specified by:
      getCloudMetadata in interface Robot.ResourceStatusOrBuilder
      Returns:
      The cloudMetadata.
    • parseFrom

      public static Robot.ResourceStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Robot.ResourceStatus parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Robot.ResourceStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Robot.ResourceStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Robot.ResourceStatus.Builder newBuilder()
    • newBuilder

      public static Robot.ResourceStatus.Builder newBuilder(Robot.ResourceStatus prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Robot.ResourceStatus,Robot.ResourceStatus.Builder>
    • getDefaultInstance

      public static Robot.ResourceStatus getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Robot.ResourceStatus> parser()