public static enum Service.State extends Enum<Service.State> implements com.google.protobuf.ProtocolMessageEnum
The current state of the metastore service.Protobuf enum
google.cloud.metastore.v1beta.Service.State| Enum Constant and Description |
|---|
ACTIVE
The metastore service is running and ready to serve queries.
|
CREATING
The metastore service is in the process of being created.
|
DELETING
The metastore service is undergoing deletion.
|
ERROR
The metastore service has encountered an error and cannot be used.
|
STATE_UNSPECIFIED
The state of the metastore service is unknown.
|
SUSPENDED
The metastore service is suspended and unable to serve queries.
|
SUSPENDING
The metastore service is entering suspension.
|
UNRECOGNIZED |
UPDATING
The metastore service is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The metastore service is running and ready to serve queries.
|
static int |
CREATING_VALUE
The metastore service is in the process of being created.
|
static int |
DELETING_VALUE
The metastore service is undergoing deletion.
|
static int |
ERROR_VALUE
The metastore service has encountered an error and cannot be used.
|
static int |
STATE_UNSPECIFIED_VALUE
The state of the metastore service is unknown.
|
static int |
SUSPENDED_VALUE
The metastore service is suspended and unable to serve queries.
|
static int |
SUSPENDING_VALUE
The metastore service is entering suspension.
|
static int |
UPDATING_VALUE
The metastore service is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Service.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<Service.State> |
internalGetValueMap() |
static Service.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Service.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Service.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Service.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Service.State STATE_UNSPECIFIED
The state of the metastore service is unknown.
STATE_UNSPECIFIED = 0;public static final Service.State CREATING
The metastore service is in the process of being created.
CREATING = 1;public static final Service.State ACTIVE
The metastore service is running and ready to serve queries.
ACTIVE = 2;public static final Service.State SUSPENDING
The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.
SUSPENDING = 3;public static final Service.State SUSPENDED
The metastore service is suspended and unable to serve queries.
SUSPENDED = 4;public static final Service.State UPDATING
The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.
UPDATING = 5;public static final Service.State DELETING
The metastore service is undergoing deletion. It cannot be used.
DELETING = 6;public static final Service.State ERROR
The metastore service has encountered an error and cannot be used. The metastore service should be deleted.
ERROR = 7;public static final Service.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
The state of the metastore service is unknown.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
The metastore service is in the process of being created.
CREATING = 1;public static final int ACTIVE_VALUE
The metastore service is running and ready to serve queries.
ACTIVE = 2;public static final int SUSPENDING_VALUE
The metastore service is entering suspension. Its query-serving availability may cease unexpectedly.
SUSPENDING = 3;public static final int SUSPENDED_VALUE
The metastore service is suspended and unable to serve queries.
SUSPENDED = 4;public static final int UPDATING_VALUE
The metastore service is being updated. It remains usable but cannot accept additional update requests or be deleted at this time.
UPDATING = 5;public static final int DELETING_VALUE
The metastore service is undergoing deletion. It cannot be used.
DELETING = 6;public static final int ERROR_VALUE
The metastore service has encountered an error and cannot be used. The metastore service should be deleted.
ERROR = 7;public static Service.State[] values()
for (Service.State c : Service.State.values()) System.out.println(c);
public static Service.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 Service.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Service.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Service.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 Service.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.