Enum Class Robot.PackageStatus.State

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

public static enum Robot.PackageStatus.State extends Enum<Robot.PackageStatus.State> implements com.google.protobuf.Internal.EnumLite
Protobuf enum viam.robot.v1.PackageStatus.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Robot.PackageStatus.State STATE_UNSPECIFIED
       state is unknown or has not been set yet
       
      STATE_UNSPECIFIED = 0;
    • STATE_DOWNLOADING

      public static final Robot.PackageStatus.State STATE_DOWNLOADING
       package tarball is actively being fetched from the cloud
       
      STATE_DOWNLOADING = 1;
    • STATE_LOADING

      public static final Robot.PackageStatus.State STATE_LOADING
       tarball has been downloaded and is being extracted/verified
       
      STATE_LOADING = 2;
    • STATE_FIRST_RUN

      public static final Robot.PackageStatus.State STATE_FIRST_RUN
       first_run.sh script is executing (module packages only)
       
      STATE_FIRST_RUN = 3;
    • STATE_READY

      public static final Robot.PackageStatus.State STATE_READY
       package is fully installed and available for use
       
      STATE_READY = 4;
    • STATE_FAILED

      public static final Robot.PackageStatus.State STATE_FAILED
       package failed to download, extract, or complete first run
       
      STATE_FAILED = 5;
    • UNRECOGNIZED

      public static final Robot.PackageStatus.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       state is unknown or has not been set yet
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • STATE_DOWNLOADING_VALUE

      public static final int STATE_DOWNLOADING_VALUE
       package tarball is actively being fetched from the cloud
       
      STATE_DOWNLOADING = 1;
      See Also:
    • STATE_LOADING_VALUE

      public static final int STATE_LOADING_VALUE
       tarball has been downloaded and is being extracted/verified
       
      STATE_LOADING = 2;
      See Also:
    • STATE_FIRST_RUN_VALUE

      public static final int STATE_FIRST_RUN_VALUE
       first_run.sh script is executing (module packages only)
       
      STATE_FIRST_RUN = 3;
      See Also:
    • STATE_READY_VALUE

      public static final int STATE_READY_VALUE
       package is fully installed and available for use
       
      STATE_READY = 4;
      See Also:
    • STATE_FAILED_VALUE

      public static final int STATE_FAILED_VALUE
       package failed to download, extract, or complete first run
       
      STATE_FAILED = 5;
      See Also:
  • Method Details

    • values

      public static Robot.PackageStatus.State[] 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.PackageStatus.State 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.PackageStatus.State 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.PackageStatus.State forNumber(int value)
    • internalGetValueMap

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

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