public static enum Restore.State extends Enum<Restore.State> implements com.google.protobuf.ProtocolMessageEnum
The current state of the restore.Protobuf enum
google.cloud.metastore.v1beta.Restore.State| Enum Constant and Description |
|---|
CANCELLED
The metadata restore is cancelled.
|
FAILED
The metadata restore failed.
|
RUNNING
The metadata restore is running.
|
STATE_UNSPECIFIED
The state of the metadata restore is unknown.
|
SUCCEEDED
The metadata restore completed successfully.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CANCELLED_VALUE
The metadata restore is cancelled.
|
static int |
FAILED_VALUE
The metadata restore failed.
|
static int |
RUNNING_VALUE
The metadata restore is running.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the metadata restore is unknown.
|
static int |
SUCCEEDED_VALUE
The metadata restore completed successfully.
|
| Modifier and Type | Method and Description |
|---|---|
static Restore.State |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Restore.State> |
internalGetValueMap() |
static Restore.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Restore.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Restore.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Restore.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restore.State STATE_UNSPECIFIED
The state of the metadata restore is unknown.
STATE_UNSPECIFIED = 0;public static final Restore.State RUNNING
The metadata restore is running.
RUNNING = 1;public static final Restore.State SUCCEEDED
The metadata restore completed successfully.
SUCCEEDED = 2;public static final Restore.State FAILED
The metadata restore failed.
FAILED = 3;public static final Restore.State CANCELLED
The metadata restore is cancelled.
CANCELLED = 4;public static final Restore.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the metadata restore is unknown.
STATE_UNSPECIFIED = 0;public static final int RUNNING_VALUE
The metadata restore is running.
RUNNING = 1;public static final int SUCCEEDED_VALUE
The metadata restore completed successfully.
SUCCEEDED = 2;public static final int FAILED_VALUE
The metadata restore failed.
FAILED = 3;public static final int CANCELLED_VALUE
The metadata restore is cancelled.
CANCELLED = 4;public static Restore.State[] values()
for (Restore.State c : Restore.State.values()) System.out.println(c);
public static Restore.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Restore.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Restore.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Restore.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Restore.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.