Enum EncryptionConfig.EncryptionState

java.lang.Object
java.lang.Enum<EncryptionConfig.EncryptionState>
com.google.cloud.dataplex.v1.EncryptionConfig.EncryptionState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EncryptionConfig.EncryptionState>
Enclosing class:
EncryptionConfig

public static enum EncryptionConfig.EncryptionState extends Enum<EncryptionConfig.EncryptionState> implements com.google.protobuf.ProtocolMessageEnum
 State of encryption of the databases when EncryptionConfig is created or
 updated.
 
Protobuf enum google.cloud.dataplex.v1.EncryptionConfig.EncryptionState
  • Enum Constant Details

    • ENCRYPTION_STATE_UNSPECIFIED

      public static final EncryptionConfig.EncryptionState ENCRYPTION_STATE_UNSPECIFIED
       State is not specified.
       
      ENCRYPTION_STATE_UNSPECIFIED = 0;
    • ENCRYPTING

      public static final EncryptionConfig.EncryptionState ENCRYPTING
       The encryption state of the database when the EncryptionConfig is created
       or updated. If the encryption fails, it is retried indefinitely and the
       state is shown as ENCRYPTING.
       
      ENCRYPTING = 1;
    • COMPLETED

      public static final EncryptionConfig.EncryptionState COMPLETED
       The encryption of data has completed successfully.
       
      COMPLETED = 2;
    • FAILED

      public static final EncryptionConfig.EncryptionState FAILED
       The encryption of data has failed.
       The state is set to FAILED when the encryption fails due to reasons like
       permission issues, invalid key etc.
       
      FAILED = 3;
    • UNRECOGNIZED

      public static final EncryptionConfig.EncryptionState UNRECOGNIZED
  • Field Details

    • ENCRYPTION_STATE_UNSPECIFIED_VALUE

      public static final int ENCRYPTION_STATE_UNSPECIFIED_VALUE
       State is not specified.
       
      ENCRYPTION_STATE_UNSPECIFIED = 0;
      See Also:
    • ENCRYPTING_VALUE

      public static final int ENCRYPTING_VALUE
       The encryption state of the database when the EncryptionConfig is created
       or updated. If the encryption fails, it is retried indefinitely and the
       state is shown as ENCRYPTING.
       
      ENCRYPTING = 1;
      See Also:
    • COMPLETED_VALUE

      public static final int COMPLETED_VALUE
       The encryption of data has completed successfully.
       
      COMPLETED = 2;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The encryption of data has failed.
       The state is set to FAILED when the encryption fails due to reasons like
       permission issues, invalid key etc.
       
      FAILED = 3;
      See Also:
  • Method Details

    • values

      public static EncryptionConfig.EncryptionState[] 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 EncryptionConfig.EncryptionState 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 EncryptionConfig.EncryptionState 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 EncryptionConfig.EncryptionState 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<EncryptionConfig.EncryptionState> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static EncryptionConfig.EncryptionState 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