Enum Class Robot.ResourceStatus.Reachability

java.lang.Object
java.lang.Enum<Robot.ResourceStatus.Reachability>
com.viam.robot.v1.Robot.ResourceStatus.Reachability
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Robot.ResourceStatus.Reachability>, Constable
Enclosing class:
Robot.ResourceStatus

public static enum Robot.ResourceStatus.Reachability extends Enum<Robot.ResourceStatus.Reachability> implements com.google.protobuf.Internal.EnumLite
 whether calls to the resource by name can be routed through this machine.
 Independent of state, which for an unreachable resource is its last known state.
 
Protobuf enum viam.robot.v1.ResourceStatus.Reachability
  • Enum Constant Details

    • REACHABILITY_UNSPECIFIED

      public static final Robot.ResourceStatus.Reachability REACHABILITY_UNSPECIFIED
       set by machines that predate this field; treat as reachable.
       
      REACHABILITY_UNSPECIFIED = 0;
    • REACHABILITY_REACHABLE

      public static final Robot.ResourceStatus.Reachability REACHABILITY_REACHABLE
      REACHABILITY_REACHABLE = 1;
    • REACHABILITY_REMOTE_DISCONNECTED

      public static final Robot.ResourceStatus.Reachability REACHABILITY_REMOTE_DISCONNECTED
       the remote machine this resource is on is disconnected.
       
      REACHABILITY_REMOTE_DISCONNECTED = 2;
    • REACHABILITY_SHADOWED_BY_LOCAL

      public static final Robot.ResourceStatus.Reachability REACHABILITY_SHADOWED_BY_LOCAL
       a local resource has the same name, so calls by name go to the local resource.
       
      REACHABILITY_SHADOWED_BY_LOCAL = 3;
    • REACHABILITY_AMBIGUOUS_REMOTE

      public static final Robot.ResourceStatus.Reachability REACHABILITY_AMBIGUOUS_REMOTE
       multiple remote resources have the same name and no local resource claims it.
       
      REACHABILITY_AMBIGUOUS_REMOTE = 4;
    • UNRECOGNIZED

      public static final Robot.ResourceStatus.Reachability UNRECOGNIZED
  • Field Details

    • REACHABILITY_UNSPECIFIED_VALUE

      public static final int REACHABILITY_UNSPECIFIED_VALUE
       set by machines that predate this field; treat as reachable.
       
      REACHABILITY_UNSPECIFIED = 0;
      See Also:
    • REACHABILITY_REACHABLE_VALUE

      public static final int REACHABILITY_REACHABLE_VALUE
      REACHABILITY_REACHABLE = 1;
      See Also:
    • REACHABILITY_REMOTE_DISCONNECTED_VALUE

      public static final int REACHABILITY_REMOTE_DISCONNECTED_VALUE
       the remote machine this resource is on is disconnected.
       
      REACHABILITY_REMOTE_DISCONNECTED = 2;
      See Also:
    • REACHABILITY_SHADOWED_BY_LOCAL_VALUE

      public static final int REACHABILITY_SHADOWED_BY_LOCAL_VALUE
       a local resource has the same name, so calls by name go to the local resource.
       
      REACHABILITY_SHADOWED_BY_LOCAL = 3;
      See Also:
    • REACHABILITY_AMBIGUOUS_REMOTE_VALUE

      public static final int REACHABILITY_AMBIGUOUS_REMOTE_VALUE
       multiple remote resources have the same name and no local resource claims it.
       
      REACHABILITY_AMBIGUOUS_REMOTE = 4;
      See Also:
  • Method Details

    • values

      public static Robot.ResourceStatus.Reachability[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Robot.ResourceStatus.Reachability valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
    • valueOf

      @Deprecated public static Robot.ResourceStatus.Reachability valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Robot.ResourceStatus.Reachability forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Robot.ResourceStatus.Reachability> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()