Package com.google.cloud.dataplex.v1
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 Summary
Enum ConstantsEnum ConstantDescriptionThe encryption of data has completed successfully.The encryption state of the database when the EncryptionConfig is created or updated.State is not specified.The encryption of data has failed. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe encryption of data has completed successfully.static final intThe encryption state of the database when the EncryptionConfig is created or updated.static final intState is not specified.static final intThe encryption of data has failed. -
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<EncryptionConfig.EncryptionState>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.static EncryptionConfig.EncryptionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENCRYPTION_STATE_UNSPECIFIED
State is not specified.
ENCRYPTION_STATE_UNSPECIFIED = 0; -
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
The encryption of data has completed successfully.
COMPLETED = 2; -
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
-
-
Field Details
-
ENCRYPTION_STATE_UNSPECIFIED_VALUE
public static final int ENCRYPTION_STATE_UNSPECIFIED_VALUEState is not specified.
ENCRYPTION_STATE_UNSPECIFIED = 0;- See Also:
-
ENCRYPTING_VALUE
public static final int ENCRYPTING_VALUEThe 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_VALUEThe encryption of data has completed successfully.
COMPLETED = 2;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe 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
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.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<EncryptionConfig.EncryptionState> 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 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 nameNullPointerException- if the argument is null
-