Enum AutonomousDatabaseProperties.DataSafeState
java.lang.Object
java.lang.Enum<AutonomousDatabaseProperties.DataSafeState>
com.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AutonomousDatabaseProperties.DataSafeState>
- Enclosing class:
- AutonomousDatabaseProperties
public static enum AutonomousDatabaseProperties.DataSafeState
extends Enum<AutonomousDatabaseProperties.DataSafeState>
implements com.google.protobuf.ProtocolMessageEnum
Varies states of the Data Safe registration for the Autonomous Database.Protobuf enum
google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault unspecified value.Deregistering data safe state.Failed data safe state.Not registered data safe state.Registered data safe state.Registering data safe state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault unspecified value.static final intDeregistering data safe state.static final intFailed data safe state.static final intNot registered data safe state.static final intRegistered data safe state.static final intRegistering data safe state. -
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<AutonomousDatabaseProperties.DataSafeState>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.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DATA_SAFE_STATE_UNSPECIFIED
Default unspecified value.
DATA_SAFE_STATE_UNSPECIFIED = 0; -
REGISTERING
Registering data safe state.
REGISTERING = 1; -
REGISTERED
Registered data safe state.
REGISTERED = 2; -
DEREGISTERING
Deregistering data safe state.
DEREGISTERING = 3; -
NOT_REGISTERED
Not registered data safe state.
NOT_REGISTERED = 4; -
FAILED
Failed data safe state.
FAILED = 5; -
UNRECOGNIZED
-
-
Field Details
-
DATA_SAFE_STATE_UNSPECIFIED_VALUE
public static final int DATA_SAFE_STATE_UNSPECIFIED_VALUEDefault unspecified value.
DATA_SAFE_STATE_UNSPECIFIED = 0;- See Also:
-
REGISTERING_VALUE
public static final int REGISTERING_VALUERegistering data safe state.
REGISTERING = 1;- See Also:
-
REGISTERED_VALUE
public static final int REGISTERED_VALUERegistered data safe state.
REGISTERED = 2;- See Also:
-
DEREGISTERING_VALUE
public static final int DEREGISTERING_VALUEDeregistering data safe state.
DEREGISTERING = 3;- See Also:
-
NOT_REGISTERED_VALUE
public static final int NOT_REGISTERED_VALUENot registered data safe state.
NOT_REGISTERED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEFailed data safe state.
FAILED = 5;- 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<AutonomousDatabaseProperties.DataSafeState> 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 AutonomousDatabaseProperties.DataSafeState 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
-