Package com.viam.robot.v1
Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionpackage tarball is actively being fetched from the cloudpackage failed to download, extract, or complete first runfirst_run.sh script is executing (module packages only)tarball has been downloaded and is being extracted/verifiedpackage is fully installed and available for usestate is unknown or has not been set yet -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intpackage tarball is actively being fetched from the cloudstatic final intpackage failed to download, extract, or complete first runstatic final intfirst_run.sh script is executing (module packages only)static final inttarball has been downloaded and is being extracted/verifiedstatic final intpackage is fully installed and available for usestatic final intstate is unknown or has not been set yet -
Method Summary
Modifier and TypeMethodDescriptionstatic Robot.PackageStatus.StateforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Robot.PackageStatus.State> static com.google.protobuf.Internal.EnumVerifierstatic Robot.PackageStatus.StatevalueOf(int value) Deprecated.static Robot.PackageStatus.StateReturns the enum constant of this class with the specified name.static Robot.PackageStatus.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
state is unknown or has not been set yet
STATE_UNSPECIFIED = 0; -
STATE_DOWNLOADING
package tarball is actively being fetched from the cloud
STATE_DOWNLOADING = 1; -
STATE_LOADING
tarball has been downloaded and is being extracted/verified
STATE_LOADING = 2; -
STATE_FIRST_RUN
first_run.sh script is executing (module packages only)
STATE_FIRST_RUN = 3; -
STATE_READY
package is fully installed and available for use
STATE_READY = 4; -
STATE_FAILED
package failed to download, extract, or complete first run
STATE_FAILED = 5; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEstate is unknown or has not been set yet
STATE_UNSPECIFIED = 0;- See Also:
-
STATE_DOWNLOADING_VALUE
public static final int STATE_DOWNLOADING_VALUEpackage tarball is actively being fetched from the cloud
STATE_DOWNLOADING = 1;- See Also:
-
STATE_LOADING_VALUE
public static final int STATE_LOADING_VALUEtarball has been downloaded and is being extracted/verified
STATE_LOADING = 2;- See Also:
-
STATE_FIRST_RUN_VALUE
public static final int STATE_FIRST_RUN_VALUEfirst_run.sh script is executing (module packages only)
STATE_FIRST_RUN = 3;- See Also:
-
STATE_READY_VALUE
public static final int STATE_READY_VALUEpackage is fully installed and available for use
STATE_READY = 4;- See Also:
-
STATE_FAILED_VALUE
public static final int STATE_FAILED_VALUEpackage failed to download, extract, or complete first run
STATE_FAILED = 5;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Robot.PackageStatus.State> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-