public static enum FeatureResourceState.State extends Enum<FeatureResourceState.State> implements com.google.protobuf.ProtocolMessageEnum
State describes the lifecycle status of a Feature.Protobuf enum
google.cloud.gkehub.v1alpha.FeatureResourceState.State| Enum Constant and Description |
|---|
ACTIVE
The Feature is enabled in this Hub, and the Feature resource is fully
available.
|
DISABLING
The Feature is being disabled in this Hub, and the Feature resource
is being deleted.
|
ENABLING
The Feature is being enabled, and the Feature resource is being created.
|
SERVICE_UPDATING
The Feature resource is being updated by the Hub Service.
|
STATE_UNSPECIFIED
State is unknown or not set.
|
UNRECOGNIZED |
UPDATING
The Feature resource is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
The Feature is enabled in this Hub, and the Feature resource is fully
available.
|
static int |
DISABLING_VALUE
The Feature is being disabled in this Hub, and the Feature resource
is being deleted.
|
static int |
ENABLING_VALUE
The Feature is being enabled, and the Feature resource is being created.
|
static int |
SERVICE_UPDATING_VALUE
The Feature resource is being updated by the Hub Service.
|
static int |
STATE_UNSPECIFIED_VALUE
State is unknown or not set.
|
static int |
UPDATING_VALUE
The Feature resource is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static FeatureResourceState.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<FeatureResourceState.State> |
internalGetValueMap() |
static FeatureResourceState.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FeatureResourceState.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FeatureResourceState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureResourceState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureResourceState.State STATE_UNSPECIFIED
State is unknown or not set.
STATE_UNSPECIFIED = 0;public static final FeatureResourceState.State ENABLING
The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.
ENABLING = 1;public static final FeatureResourceState.State ACTIVE
The Feature is enabled in this Hub, and the Feature resource is fully available.
ACTIVE = 2;public static final FeatureResourceState.State DISABLING
The Feature is being disabled in this Hub, and the Feature resource is being deleted.
DISABLING = 3;public static final FeatureResourceState.State UPDATING
The Feature resource is being updated.
UPDATING = 4;public static final FeatureResourceState.State SERVICE_UPDATING
The Feature resource is being updated by the Hub Service.
SERVICE_UPDATING = 5;public static final FeatureResourceState.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
State is unknown or not set.
STATE_UNSPECIFIED = 0;public static final int ENABLING_VALUE
The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.
ENABLING = 1;public static final int ACTIVE_VALUE
The Feature is enabled in this Hub, and the Feature resource is fully available.
ACTIVE = 2;public static final int DISABLING_VALUE
The Feature is being disabled in this Hub, and the Feature resource is being deleted.
DISABLING = 3;public static final int UPDATING_VALUE
The Feature resource is being updated.
UPDATING = 4;public static final int SERVICE_UPDATING_VALUE
The Feature resource is being updated by the Hub Service.
SERVICE_UPDATING = 5;public static FeatureResourceState.State[] values()
for (FeatureResourceState.State c : FeatureResourceState.State.values()) System.out.println(c);
public static FeatureResourceState.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 FeatureResourceState.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FeatureResourceState.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FeatureResourceState.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 FeatureResourceState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.