Enum EncryptionInfo.Type

java.lang.Object
java.lang.Enum<EncryptionInfo.Type>
com.google.cloud.bigtable.admin.v2.models.EncryptionInfo.Type
All Implemented Interfaces:
Serializable, Comparable<EncryptionInfo.Type>
Enclosing class:
EncryptionInfo

public static enum EncryptionInfo.Type extends Enum<EncryptionInfo.Type>
  • Enum Constant Details

    • ENCRYPTION_TYPE_UNSPECIFIED

      public static final EncryptionInfo.Type ENCRYPTION_TYPE_UNSPECIFIED
      Encryption type was not specified, though data at rest remains encrypted.
    • GOOGLE_DEFAULT_ENCRYPTION

      public static final EncryptionInfo.Type GOOGLE_DEFAULT_ENCRYPTION
      The data backing this resource is encrypted at rest with a key that is fully managed by Google. No key version or status will be populated. This is the default state.
    • CUSTOMER_MANAGED_ENCRYPTION

      public static final EncryptionInfo.Type CUSTOMER_MANAGED_ENCRYPTION
      The data backing this resource is encrypted at rest with a key that is managed by the customer. The in-use version of the key and its status are populated for CMEK-protected tables. CMEK-protected backups are pinned to the key version that was in use at the time the backup was taken. This key version is populated but its status is not tracked and is reported as `UNKNOWN`.
    • UNRECOGNIZED

      public static final EncryptionInfo.Type UNRECOGNIZED
      Type not known by the client, please upgrade your client
  • Method Details

    • values

      public static EncryptionInfo.Type[] 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

      public static EncryptionInfo.Type 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
    • fromProto

      public static EncryptionInfo.Type fromProto(EncryptionInfo.EncryptionType proto)
      Wraps the EncryptionInfo protobuf.