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 enum
google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the archive type isn't specified.Indicates that the archive is a tar archive with no encryption.Indicates that the archive is a tar archive with bzip encryption.Indicates that the archive is a tar archive with gzip encryption.Indicates that the archive is a tar archive with lzma encryption.Indicates that the archive is a tar archive with xz encryption.Indicates that the archive is a zip archive. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the archive type isn't specified.static final intIndicates that the archive is a tar archive with bzip encryption.static final intIndicates that the archive is a tar archive with gzip encryption.static final intIndicates that the archive is a tar archive with lzma encryption.static final intIndicates that the archive is a tar archive with no encryption.static final intIndicates that the archive is a tar archive with xz encryption.static final intIndicates that the archive is a zip archive. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARCHIVE_TYPE_UNSPECIFIED
public static final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType ARCHIVE_TYPE_UNSPECIFIEDIndicates that the archive type isn't specified.
ARCHIVE_TYPE_UNSPECIFIED = 0; -
TAR
Indicates that the archive is a tar archive with no encryption.
TAR = 1; -
TAR_GZIP
Indicates that the archive is a tar archive with gzip encryption.
TAR_GZIP = 2; -
TAR_BZIP
Indicates that the archive is a tar archive with bzip encryption.
TAR_BZIP = 3; -
TAR_LZMA
Indicates that the archive is a tar archive with lzma encryption.
TAR_LZMA = 4; -
TAR_XZ
Indicates that the archive is a tar archive with xz encryption.
TAR_XZ = 5; -
ZIP
Indicates that the archive is a zip archive.
ZIP = 11; -
UNRECOGNIZED
-
-
Field Details
-
ARCHIVE_TYPE_UNSPECIFIED_VALUE
public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUEIndicates that the archive type isn't specified.
ARCHIVE_TYPE_UNSPECIFIED = 0;- See Also:
-
TAR_VALUE
public static final int TAR_VALUEIndicates that the archive is a tar archive with no encryption.
TAR = 1;- See Also:
-
TAR_GZIP_VALUE
public static final int TAR_GZIP_VALUEIndicates that the archive is a tar archive with gzip encryption.
TAR_GZIP = 2;- See Also:
-
TAR_BZIP_VALUE
public static final int TAR_BZIP_VALUEIndicates that the archive is a tar archive with bzip encryption.
TAR_BZIP = 3;- See Also:
-
TAR_LZMA_VALUE
public static final int TAR_LZMA_VALUEIndicates that the archive is a tar archive with lzma encryption.
TAR_LZMA = 4;- See Also:
-
TAR_XZ_VALUE
public static final int TAR_XZ_VALUEIndicates that the archive is a tar archive with xz encryption.
TAR_XZ = 5;- See Also:
-
ZIP_VALUE
public static final int ZIP_VALUEIndicates that the archive is a zip archive.
ZIP = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- 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 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
-