Enum State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<State>
The various lifecycle states of the Autonomous Database.Protobuf enum
google.cloud.oracledatabase.v1.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the Autonomous Database is in available state.Indicates that the Autonomous Database is available but needs attention state.Indicates that the Autonomous Database backup is in progress.Indicates that the Autonomous Database is in inaccessible state.Indicates that the Autonomous Database's maintenance is in progress state.Indicates that the Autonomous Database is in provisioning state.Indicates that the Autonomous Database is in recreating state.Indicates that the Autonomous Database is in restarting state.Indicates that the Autonomous Database failed to restore.Indicates that the Autonomous Database restore is in progress.Indicates that the Autonomous Database's role change is in progress state.Indicates that the Autonomous Database scale is in progress.Indicates that the Autonomous Database is in standby state.Indicates that the Autonomous Database is in starting state.Default unspecified value.Indicates that the Autonomous Database is in stopped state.Indicates that the Autonomous Database is in stopping state.Indicates that the Autonomous Database is in terminated state.Indicates that the Autonomous Database is in terminating state.Indicates that the Autonomous Database is in unavailable state.Indicates that the Autonomous Database is in updating state.Indicates that the Autonomous Database is in upgrading state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the Autonomous Database is available but needs attention state.static final intIndicates that the Autonomous Database is in available state.static final intIndicates that the Autonomous Database backup is in progress.static final intIndicates that the Autonomous Database is in inaccessible state.static final intIndicates that the Autonomous Database's maintenance is in progress state.static final intIndicates that the Autonomous Database is in provisioning state.static final intIndicates that the Autonomous Database is in recreating state.static final intIndicates that the Autonomous Database is in restarting state.static final intIndicates that the Autonomous Database failed to restore.static final intIndicates that the Autonomous Database restore is in progress.static final intIndicates that the Autonomous Database's role change is in progress state.static final intIndicates that the Autonomous Database scale is in progress.static final intIndicates that the Autonomous Database is in standby state.static final intIndicates that the Autonomous Database is in starting state.static final intDefault unspecified value.static final intIndicates that the Autonomous Database is in stopped state.static final intIndicates that the Autonomous Database is in stopping state.static final intIndicates that the Autonomous Database is in terminated state.static final intIndicates that the Autonomous Database is in terminating state.static final intIndicates that the Autonomous Database is in unavailable state.static final intIndicates that the Autonomous Database is in updating state.static final intIndicates that the Autonomous Database is in upgrading state. -
Method Summary
Modifier and TypeMethodDescriptionstatic StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<State>static StatevalueOf(int value) Deprecated.static StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static StateReturns the enum constant of this type with the specified name.static State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
Default unspecified value.
STATE_UNSPECIFIED = 0; -
PROVISIONING
Indicates that the Autonomous Database is in provisioning state.
PROVISIONING = 1; -
AVAILABLE
Indicates that the Autonomous Database is in available state.
AVAILABLE = 2; -
STOPPING
Indicates that the Autonomous Database is in stopping state.
STOPPING = 3; -
STOPPED
Indicates that the Autonomous Database is in stopped state.
STOPPED = 4; -
STARTING
Indicates that the Autonomous Database is in starting state.
STARTING = 5; -
TERMINATING
Indicates that the Autonomous Database is in terminating state.
TERMINATING = 6; -
TERMINATED
Indicates that the Autonomous Database is in terminated state.
TERMINATED = 7; -
UNAVAILABLE
Indicates that the Autonomous Database is in unavailable state.
UNAVAILABLE = 8; -
RESTORE_IN_PROGRESS
Indicates that the Autonomous Database restore is in progress.
RESTORE_IN_PROGRESS = 9; -
RESTORE_FAILED
Indicates that the Autonomous Database failed to restore.
RESTORE_FAILED = 10; -
BACKUP_IN_PROGRESS
Indicates that the Autonomous Database backup is in progress.
BACKUP_IN_PROGRESS = 11; -
SCALE_IN_PROGRESS
Indicates that the Autonomous Database scale is in progress.
SCALE_IN_PROGRESS = 12; -
AVAILABLE_NEEDS_ATTENTION
Indicates that the Autonomous Database is available but needs attention state.
AVAILABLE_NEEDS_ATTENTION = 13; -
UPDATING
Indicates that the Autonomous Database is in updating state.
UPDATING = 14; -
MAINTENANCE_IN_PROGRESS
Indicates that the Autonomous Database's maintenance is in progress state.
MAINTENANCE_IN_PROGRESS = 15; -
RESTARTING
Indicates that the Autonomous Database is in restarting state.
RESTARTING = 16; -
RECREATING
Indicates that the Autonomous Database is in recreating state.
RECREATING = 17; -
ROLE_CHANGE_IN_PROGRESS
Indicates that the Autonomous Database's role change is in progress state.
ROLE_CHANGE_IN_PROGRESS = 18; -
UPGRADING
Indicates that the Autonomous Database is in upgrading state.
UPGRADING = 19; -
INACCESSIBLE
Indicates that the Autonomous Database is in inaccessible state.
INACCESSIBLE = 20; -
STANDBY
Indicates that the Autonomous Database is in standby state.
STANDBY = 21; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEDefault unspecified value.
STATE_UNSPECIFIED = 0;- See Also:
-
PROVISIONING_VALUE
public static final int PROVISIONING_VALUEIndicates that the Autonomous Database is in provisioning state.
PROVISIONING = 1;- See Also:
-
AVAILABLE_VALUE
public static final int AVAILABLE_VALUEIndicates that the Autonomous Database is in available state.
AVAILABLE = 2;- See Also:
-
STOPPING_VALUE
public static final int STOPPING_VALUEIndicates that the Autonomous Database is in stopping state.
STOPPING = 3;- See Also:
-
STOPPED_VALUE
public static final int STOPPED_VALUEIndicates that the Autonomous Database is in stopped state.
STOPPED = 4;- See Also:
-
STARTING_VALUE
public static final int STARTING_VALUEIndicates that the Autonomous Database is in starting state.
STARTING = 5;- See Also:
-
TERMINATING_VALUE
public static final int TERMINATING_VALUEIndicates that the Autonomous Database is in terminating state.
TERMINATING = 6;- See Also:
-
TERMINATED_VALUE
public static final int TERMINATED_VALUEIndicates that the Autonomous Database is in terminated state.
TERMINATED = 7;- See Also:
-
UNAVAILABLE_VALUE
public static final int UNAVAILABLE_VALUEIndicates that the Autonomous Database is in unavailable state.
UNAVAILABLE = 8;- See Also:
-
RESTORE_IN_PROGRESS_VALUE
public static final int RESTORE_IN_PROGRESS_VALUEIndicates that the Autonomous Database restore is in progress.
RESTORE_IN_PROGRESS = 9;- See Also:
-
RESTORE_FAILED_VALUE
public static final int RESTORE_FAILED_VALUEIndicates that the Autonomous Database failed to restore.
RESTORE_FAILED = 10;- See Also:
-
BACKUP_IN_PROGRESS_VALUE
public static final int BACKUP_IN_PROGRESS_VALUEIndicates that the Autonomous Database backup is in progress.
BACKUP_IN_PROGRESS = 11;- See Also:
-
SCALE_IN_PROGRESS_VALUE
public static final int SCALE_IN_PROGRESS_VALUEIndicates that the Autonomous Database scale is in progress.
SCALE_IN_PROGRESS = 12;- See Also:
-
AVAILABLE_NEEDS_ATTENTION_VALUE
public static final int AVAILABLE_NEEDS_ATTENTION_VALUEIndicates that the Autonomous Database is available but needs attention state.
AVAILABLE_NEEDS_ATTENTION = 13;- See Also:
-
UPDATING_VALUE
public static final int UPDATING_VALUEIndicates that the Autonomous Database is in updating state.
UPDATING = 14;- See Also:
-
MAINTENANCE_IN_PROGRESS_VALUE
public static final int MAINTENANCE_IN_PROGRESS_VALUEIndicates that the Autonomous Database's maintenance is in progress state.
MAINTENANCE_IN_PROGRESS = 15;- See Also:
-
RESTARTING_VALUE
public static final int RESTARTING_VALUEIndicates that the Autonomous Database is in restarting state.
RESTARTING = 16;- See Also:
-
RECREATING_VALUE
public static final int RECREATING_VALUEIndicates that the Autonomous Database is in recreating state.
RECREATING = 17;- See Also:
-
ROLE_CHANGE_IN_PROGRESS_VALUE
public static final int ROLE_CHANGE_IN_PROGRESS_VALUEIndicates that the Autonomous Database's role change is in progress state.
ROLE_CHANGE_IN_PROGRESS = 18;- See Also:
-
UPGRADING_VALUE
public static final int UPGRADING_VALUEIndicates that the Autonomous Database is in upgrading state.
UPGRADING = 19;- See Also:
-
INACCESSIBLE_VALUE
public static final int INACCESSIBLE_VALUEIndicates that the Autonomous Database is in inaccessible state.
INACCESSIBLE = 20;- See Also:
-
STANDBY_VALUE
public static final int STANDBY_VALUEIndicates that the Autonomous Database is in standby state.
STANDBY = 21;- 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
-
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
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
-