Package viam.app.agent.v1
Enum Class Agent.PackageFormat
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Agent.PackageFormat>
,Constable
- Enclosing class:
- Agent
public static enum Agent.PackageFormat
extends Enum<Agent.PackageFormat>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.agent.v1.PackageFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionset executable permissionsdo nothingunknown/unset (autodetection may be attempted)decompress .xz filedecompress and set executable -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
set executable permissionsstatic final int
do nothingstatic final int
unknown/unset (autodetection may be attempted)static final int
decompress and set executablestatic final int
decompress .xz file -
Method Summary
Modifier and TypeMethodDescriptionstatic Agent.PackageFormat
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Agent.PackageFormat>
static com.google.protobuf.Internal.EnumVerifier
static Agent.PackageFormat
valueOf
(int value) Deprecated.static Agent.PackageFormat
Returns the enum constant of this class with the specified name.static Agent.PackageFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PACKAGE_FORMAT_UNSPECIFIED
unknown/unset (autodetection may be attempted)
PACKAGE_FORMAT_UNSPECIFIED = 0;
-
PACKAGE_FORMAT_RAW
do nothing
PACKAGE_FORMAT_RAW = 1;
-
PACKAGE_FORMAT_XZ
decompress .xz file
PACKAGE_FORMAT_XZ = 2;
-
PACKAGE_FORMAT_EXECUTABLE
set executable permissions
PACKAGE_FORMAT_EXECUTABLE = 3;
-
PACKAGE_FORMAT_XZ_EXECUTABLE
decompress and set executable
PACKAGE_FORMAT_XZ_EXECUTABLE = 4;
-
UNRECOGNIZED
-
-
Field Details
-
PACKAGE_FORMAT_UNSPECIFIED_VALUE
public static final int PACKAGE_FORMAT_UNSPECIFIED_VALUEunknown/unset (autodetection may be attempted)
PACKAGE_FORMAT_UNSPECIFIED = 0;
- See Also:
-
PACKAGE_FORMAT_RAW_VALUE
public static final int PACKAGE_FORMAT_RAW_VALUEdo nothing
PACKAGE_FORMAT_RAW = 1;
- See Also:
-
PACKAGE_FORMAT_XZ_VALUE
public static final int PACKAGE_FORMAT_XZ_VALUEdecompress .xz file
PACKAGE_FORMAT_XZ = 2;
- See Also:
-
PACKAGE_FORMAT_EXECUTABLE_VALUE
public static final int PACKAGE_FORMAT_EXECUTABLE_VALUEset executable permissions
PACKAGE_FORMAT_EXECUTABLE = 3;
- See Also:
-
PACKAGE_FORMAT_XZ_EXECUTABLE_VALUE
public static final int PACKAGE_FORMAT_XZ_EXECUTABLE_VALUEdecompress and set executable
PACKAGE_FORMAT_XZ_EXECUTABLE = 4;
- 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:
getNumber
in 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
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-