Package com.google.cloud.netapp.v1
Enum EncryptionType
- java.lang.Object
-
- java.lang.Enum<EncryptionType>
-
- com.google.cloud.netapp.v1.EncryptionType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EncryptionType>
public enum EncryptionType extends Enum<EncryptionType> implements com.google.protobuf.ProtocolMessageEnum
Defined the current volume encryption key source.
Protobuf enumgoogle.cloud.netapp.v1.EncryptionType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOUD_KMSCustomer managed encryption key, which is stored in KMS.ENCRYPTION_TYPE_UNSPECIFIEDThe source of encryption key is not specified.SERVICE_MANAGEDGoogle managed encryption key.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCLOUD_KMS_VALUECustomer managed encryption key, which is stored in KMS.static intENCRYPTION_TYPE_UNSPECIFIED_VALUEThe source of encryption key is not specified.static intSERVICE_MANAGED_VALUEGoogle managed encryption key.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EncryptionTypeforNumber(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<EncryptionType>internalGetValueMap()static EncryptionTypevalueOf(int value)Deprecated.static EncryptionTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static EncryptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EncryptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENCRYPTION_TYPE_UNSPECIFIED
public static final EncryptionType ENCRYPTION_TYPE_UNSPECIFIED
The source of encryption key is not specified.
ENCRYPTION_TYPE_UNSPECIFIED = 0;
-
SERVICE_MANAGED
public static final EncryptionType SERVICE_MANAGED
Google managed encryption key.
SERVICE_MANAGED = 1;
-
CLOUD_KMS
public static final EncryptionType CLOUD_KMS
Customer managed encryption key, which is stored in KMS.
CLOUD_KMS = 2;
-
UNRECOGNIZED
public static final EncryptionType UNRECOGNIZED
-
-
Field Detail
-
ENCRYPTION_TYPE_UNSPECIFIED_VALUE
public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE
The source of encryption key is not specified.
ENCRYPTION_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
SERVICE_MANAGED_VALUE
public static final int SERVICE_MANAGED_VALUE
Google managed encryption key.
SERVICE_MANAGED = 1;- See Also:
- Constant Field Values
-
CLOUD_KMS_VALUE
public static final int CLOUD_KMS_VALUE
Customer managed encryption key, which is stored in KMS.
CLOUD_KMS = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EncryptionType[] 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 (EncryptionType c : EncryptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncryptionType 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 EncryptionType 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 EncryptionType 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<EncryptionType> 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 EncryptionType 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
-
-