public static enum MembershipState.Code extends Enum<MembershipState.Code> implements com.google.protobuf.ProtocolMessageEnum
Code describes the state of a Membership resource.Protobuf enum
google.cloud.gkehub.v1beta1.MembershipState.Code| Enum Constant and Description |
|---|
CODE_UNSPECIFIED
The code is not set.
|
CREATING
The cluster is being registered.
|
DELETING
The cluster is being unregistered.
|
READY
The cluster is registered.
|
SERVICE_UPDATING
The Membership is being updated by the Hub Service.
|
UNRECOGNIZED |
UPDATING
The Membership is being updated.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_UNSPECIFIED_VALUE
The code is not set.
|
static int |
CREATING_VALUE
The cluster is being registered.
|
static int |
DELETING_VALUE
The cluster is being unregistered.
|
static int |
READY_VALUE
The cluster is registered.
|
static int |
SERVICE_UPDATING_VALUE
The Membership is being updated by the Hub Service.
|
static int |
UPDATING_VALUE
The Membership is being updated.
|
| Modifier and Type | Method and Description |
|---|---|
static MembershipState.Code |
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<MembershipState.Code> |
internalGetValueMap() |
static MembershipState.Code |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MembershipState.Code |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MembershipState.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipState.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipState.Code CODE_UNSPECIFIED
The code is not set.
CODE_UNSPECIFIED = 0;public static final MembershipState.Code CREATING
The cluster is being registered.
CREATING = 1;public static final MembershipState.Code READY
The cluster is registered.
READY = 2;public static final MembershipState.Code DELETING
The cluster is being unregistered.
DELETING = 3;public static final MembershipState.Code UPDATING
The Membership is being updated.
UPDATING = 4;public static final MembershipState.Code SERVICE_UPDATING
The Membership is being updated by the Hub Service.
SERVICE_UPDATING = 5;public static final MembershipState.Code UNRECOGNIZED
public static final int CODE_UNSPECIFIED_VALUE
The code is not set.
CODE_UNSPECIFIED = 0;public static final int CREATING_VALUE
The cluster is being registered.
CREATING = 1;public static final int READY_VALUE
The cluster is registered.
READY = 2;public static final int DELETING_VALUE
The cluster is being unregistered.
DELETING = 3;public static final int UPDATING_VALUE
The Membership is being updated.
UPDATING = 4;public static final int SERVICE_UPDATING_VALUE
The Membership is being updated by the Hub Service.
SERVICE_UPDATING = 5;public static MembershipState.Code[] values()
for (MembershipState.Code c : MembershipState.Code.values()) System.out.println(c);
public static MembershipState.Code 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 MembershipState.Code valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static MembershipState.Code forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MembershipState.Code> 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 MembershipState.Code valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.