public static enum Subnetwork.State extends Enum<Subnetwork.State> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READYProtobuf enum
google.cloud.compute.v1.Subnetwork.State| Enum Constant and Description |
|---|
DRAINING
Subnetwork is being drained.
|
READY
Subnetwork is ready for use.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
Subnetwork is being drained.
|
static int |
READY_VALUE
Subnetwork is ready for use.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static Subnetwork.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<Subnetwork.State> |
internalGetValueMap() |
static Subnetwork.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Subnetwork.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Subnetwork.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subnetwork.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subnetwork.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final Subnetwork.State DRAINING
Subnetwork is being drained.
DRAINING = 480455402;public static final Subnetwork.State READY
Subnetwork is ready for use.
READY = 77848963;public static final Subnetwork.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int DRAINING_VALUE
Subnetwork is being drained.
DRAINING = 480455402;public static final int READY_VALUE
Subnetwork is ready for use.
READY = 77848963;public static Subnetwork.State[] values()
for (Subnetwork.State c : Subnetwork.State.values()) System.out.println(c);
public static Subnetwork.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 Subnetwork.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Subnetwork.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Subnetwork.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 Subnetwork.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.