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_UNSPECIFIEDIndicates that the archive type isn't specified.TARIndicates that the archive is a tar archive with no encryption.TAR_BZIPIndicates that the archive is a tar archive with bzip encryption.TAR_GZIPIndicates that the archive is a tar archive with gzip encryption.TAR_LZMAIndicates that the archive is a tar archive with lzma encryption.TAR_XZIndicates that the archive is a tar archive with xz encryption.UNRECOGNIZEDZIPIndicates that the archive is a zip archive.
-
Field Summary
Fields Modifier and Type Field Description static intARCHIVE_TYPE_UNSPECIFIED_VALUEIndicates that the archive type isn't specified.static intTAR_BZIP_VALUEIndicates that the archive is a tar archive with bzip encryption.static intTAR_GZIP_VALUEIndicates that the archive is a tar archive with gzip encryption.static intTAR_LZMA_VALUEIndicates that the archive is a tar archive with lzma encryption.static intTAR_VALUEIndicates that the archive is a tar archive with no encryption.static intTAR_XZ_VALUEIndicates that the archive is a tar archive with xz encryption.static intZIP_VALUEIndicates 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.ArchiveTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType>internalGetValueMap()static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveTypevalueOf(int value)Deprecated.static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveTypevalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-