Enum 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 enum google.cloud.netapp.v1.EncryptionType
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null