Package com.google.container.v1
Enum DatabaseEncryption.CurrentState
java.lang.Object
java.lang.Enum<DatabaseEncryption.CurrentState>
com.google.container.v1.DatabaseEncryption.CurrentState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DatabaseEncryption.CurrentState>
- Enclosing class:
- DatabaseEncryption
public static enum DatabaseEncryption.CurrentState
extends Enum<DatabaseEncryption.CurrentState>
implements com.google.protobuf.ProtocolMessageEnum
Current State of etcd encryption.Protobuf enum
google.container.v1.DatabaseEncryption.CurrentState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEncryption of all objects in the storage is enabled.Enabling encryption of all objects in storage encountered an error.Enablement of the encryption of all objects in storage is pending.Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.De-crypting Secrets to plain text in etcd encountered an error.De-crypting Secrets to plain text in etcd is in progress.Secrets in etcd are encrypted.Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.Should never be set -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEncryption of all objects in the storage is enabled.static final intEnabling encryption of all objects in storage encountered an error.static final intEnablement of the encryption of all objects in storage is pending.static final intSecrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.static final intDe-crypting Secrets to plain text in etcd encountered an error.static final intDe-crypting Secrets to plain text in etcd is in progress.static final intSecrets in etcd are encrypted.static final intEncryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.static final intEncryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.static final intShould never be set -
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<DatabaseEncryption.CurrentState>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 DatabaseEncryption.CurrentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CURRENT_STATE_UNSPECIFIED
Should never be set
CURRENT_STATE_UNSPECIFIED = 0; -
CURRENT_STATE_ENCRYPTED
Secrets in etcd are encrypted.
CURRENT_STATE_ENCRYPTED = 7; -
CURRENT_STATE_DECRYPTED
Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.
CURRENT_STATE_DECRYPTED = 2; -
CURRENT_STATE_ENCRYPTION_PENDING
Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.
CURRENT_STATE_ENCRYPTION_PENDING = 3; -
CURRENT_STATE_ENCRYPTION_ERROR
Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.
CURRENT_STATE_ENCRYPTION_ERROR = 4; -
CURRENT_STATE_DECRYPTION_PENDING
De-crypting Secrets to plain text in etcd is in progress.
CURRENT_STATE_DECRYPTION_PENDING = 5; -
CURRENT_STATE_DECRYPTION_ERROR
De-crypting Secrets to plain text in etcd encountered an error.
CURRENT_STATE_DECRYPTION_ERROR = 6; -
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED
Encryption of all objects in the storage is enabled. It does not guarantee that all objects in the storage are encrypted, but eventually they will be.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 8; -
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING
Enablement of the encryption of all objects in storage is pending.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING = 9; -
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR
Enabling encryption of all objects in storage encountered an error.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR = 10; -
UNRECOGNIZED
-
-
Field Details
-
CURRENT_STATE_UNSPECIFIED_VALUE
public static final int CURRENT_STATE_UNSPECIFIED_VALUEShould never be set
CURRENT_STATE_UNSPECIFIED = 0;- See Also:
-
CURRENT_STATE_ENCRYPTED_VALUE
public static final int CURRENT_STATE_ENCRYPTED_VALUESecrets in etcd are encrypted.
CURRENT_STATE_ENCRYPTED = 7;- See Also:
-
CURRENT_STATE_DECRYPTED_VALUE
public static final int CURRENT_STATE_DECRYPTED_VALUESecrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.
CURRENT_STATE_DECRYPTED = 2;- See Also:
-
CURRENT_STATE_ENCRYPTION_PENDING_VALUE
public static final int CURRENT_STATE_ENCRYPTION_PENDING_VALUEEncryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.
CURRENT_STATE_ENCRYPTION_PENDING = 3;- See Also:
-
CURRENT_STATE_ENCRYPTION_ERROR_VALUE
public static final int CURRENT_STATE_ENCRYPTION_ERROR_VALUEEncryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.
CURRENT_STATE_ENCRYPTION_ERROR = 4;- See Also:
-
CURRENT_STATE_DECRYPTION_PENDING_VALUE
public static final int CURRENT_STATE_DECRYPTION_PENDING_VALUEDe-crypting Secrets to plain text in etcd is in progress.
CURRENT_STATE_DECRYPTION_PENDING = 5;- See Also:
-
CURRENT_STATE_DECRYPTION_ERROR_VALUE
public static final int CURRENT_STATE_DECRYPTION_ERROR_VALUEDe-crypting Secrets to plain text in etcd encountered an error.
CURRENT_STATE_DECRYPTION_ERROR = 6;- See Also:
-
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED_VALUE
public static final int CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED_VALUEEncryption of all objects in the storage is enabled. It does not guarantee that all objects in the storage are encrypted, but eventually they will be.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ENABLED = 8;- See Also:
-
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING_VALUE
public static final int CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING_VALUEEnablement of the encryption of all objects in storage is pending.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_PENDING = 9;- See Also:
-
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR_VALUE
public static final int CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR_VALUEEnabling encryption of all objects in storage encountered an error.
CURRENT_STATE_ALL_OBJECTS_ENCRYPTION_ERROR = 10;- 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<DatabaseEncryption.CurrentState> 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 DatabaseEncryption.CurrentState 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
-