Package com.google.cloud.osconfig.v1beta
Enum GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
- java.lang.Object
-
- java.lang.Enum<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType>
-
- com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType>
- Enclosing class:
- GuestPolicies.SoftwareRecipe.Step.ExtractArchive
public static enum GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType extends Enum<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType> implements com.google.protobuf.ProtocolMessageEnum
Specifying the type of archive.
Protobuf enumgoogle.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHIVE_TYPE_UNSPECIFIED
Indicates that the archive type isn't specified.TAR
Indicates that the archive is a tar archive with no encryption.TAR_BZIP
Indicates that the archive is a tar archive with bzip encryption.TAR_GZIP
Indicates that the archive is a tar archive with gzip encryption.TAR_LZMA
Indicates that the archive is a tar archive with lzma encryption.TAR_XZ
Indicates that the archive is a tar archive with xz encryption.UNRECOGNIZED
ZIP
Indicates that the archive is a zip archive.
-
Field Summary
Fields Modifier and Type Field Description static int
ARCHIVE_TYPE_UNSPECIFIED_VALUE
Indicates that the archive type isn't specified.static int
TAR_BZIP_VALUE
Indicates that the archive is a tar archive with bzip encryption.static int
TAR_GZIP_VALUE
Indicates that the archive is a tar archive with gzip encryption.static int
TAR_LZMA_VALUE
Indicates that the archive is a tar archive with lzma encryption.static int
TAR_VALUE
Indicates that the archive is a tar archive with no encryption.static int
TAR_XZ_VALUE
Indicates that the archive is a tar archive with xz encryption.static int
ZIP_VALUE
Indicates that the archive is a zip archive.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType>
internalGetValueMap()
static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
valueOf(int value)
Deprecated.static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARCHIVE_TYPE_UNSPECIFIED
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType ARCHIVE_TYPE_UNSPECIFIED
Indicates that the archive type isn't specified.
ARCHIVE_TYPE_UNSPECIFIED = 0;
-
TAR
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType TAR
Indicates that the archive is a tar archive with no encryption.
TAR = 1;
-
TAR_GZIP
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType TAR_GZIP
Indicates that the archive is a tar archive with gzip encryption.
TAR_GZIP = 2;
-
TAR_BZIP
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType TAR_BZIP
Indicates that the archive is a tar archive with bzip encryption.
TAR_BZIP = 3;
-
TAR_LZMA
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType TAR_LZMA
Indicates that the archive is a tar archive with lzma encryption.
TAR_LZMA = 4;
-
TAR_XZ
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType TAR_XZ
Indicates that the archive is a tar archive with xz encryption.
TAR_XZ = 5;
-
ZIP
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType ZIP
Indicates that the archive is a zip archive.
ZIP = 11;
-
UNRECOGNIZED
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType UNRECOGNIZED
-
-
Field Detail
-
ARCHIVE_TYPE_UNSPECIFIED_VALUE
public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE
Indicates that the archive type isn't specified.
ARCHIVE_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
TAR_VALUE
public static final int TAR_VALUE
Indicates that the archive is a tar archive with no encryption.
TAR = 1;
- See Also:
- Constant Field Values
-
TAR_GZIP_VALUE
public static final int TAR_GZIP_VALUE
Indicates that the archive is a tar archive with gzip encryption.
TAR_GZIP = 2;
- See Also:
- Constant Field Values
-
TAR_BZIP_VALUE
public static final int TAR_BZIP_VALUE
Indicates that the archive is a tar archive with bzip encryption.
TAR_BZIP = 3;
- See Also:
- Constant Field Values
-
TAR_LZMA_VALUE
public static final int TAR_LZMA_VALUE
Indicates that the archive is a tar archive with lzma encryption.
TAR_LZMA = 4;
- See Also:
- Constant Field Values
-
TAR_XZ_VALUE
public static final int TAR_XZ_VALUE
Indicates that the archive is a tar archive with xz encryption.
TAR_XZ = 5;
- See Also:
- Constant Field Values
-
ZIP_VALUE
public static final int ZIP_VALUE
Indicates that the archive is a zip archive.
ZIP = 11;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType c : GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-