public static enum HealthStatusForNetworkEndpoint.HealthState extends Enum<HealthStatusForNetworkEndpoint.HealthState> implements com.google.protobuf.ProtocolMessageEnum
Health state of the network endpoint determined based on the health checks configured. Additional supported values which may be not listed in the enum directly due to technical reasons: DRAINING HEALTHY UNHEALTHY UNKNOWNProtobuf enum
google.cloud.compute.v1.HealthStatusForNetworkEndpoint.HealthState| Enum Constant and Description |
|---|
DRAINING
DRAINING = 480455402; |
HEALTHY
HEALTHY = 439801213; |
UNDEFINED_HEALTH_STATE
A value indicating that the enum field is not set.
|
UNHEALTHY
UNHEALTHY = 462118084; |
UNKNOWN
UNKNOWN = 433141802; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
DRAINING = 480455402; |
static int |
HEALTHY_VALUE
HEALTHY = 439801213; |
static int |
UNDEFINED_HEALTH_STATE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNHEALTHY_VALUE
UNHEALTHY = 462118084; |
static int |
UNKNOWN_VALUE
UNKNOWN = 433141802; |
| Modifier and Type | Method and Description |
|---|---|
static HealthStatusForNetworkEndpoint.HealthState |
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<HealthStatusForNetworkEndpoint.HealthState> |
internalGetValueMap() |
static HealthStatusForNetworkEndpoint.HealthState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthStatusForNetworkEndpoint.HealthState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthStatusForNetworkEndpoint.HealthState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthStatusForNetworkEndpoint.HealthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthStatusForNetworkEndpoint.HealthState UNDEFINED_HEALTH_STATE
A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATE = 0;public static final HealthStatusForNetworkEndpoint.HealthState DRAINING
DRAINING = 480455402;public static final HealthStatusForNetworkEndpoint.HealthState HEALTHY
HEALTHY = 439801213;public static final HealthStatusForNetworkEndpoint.HealthState UNHEALTHY
UNHEALTHY = 462118084;public static final HealthStatusForNetworkEndpoint.HealthState UNKNOWN
UNKNOWN = 433141802;public static final HealthStatusForNetworkEndpoint.HealthState UNRECOGNIZED
public static final int UNDEFINED_HEALTH_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATE = 0;public static final int DRAINING_VALUE
DRAINING = 480455402;public static final int HEALTHY_VALUE
HEALTHY = 439801213;public static final int UNHEALTHY_VALUE
UNHEALTHY = 462118084;public static final int UNKNOWN_VALUE
UNKNOWN = 433141802;public static HealthStatusForNetworkEndpoint.HealthState[] values()
for (HealthStatusForNetworkEndpoint.HealthState c : HealthStatusForNetworkEndpoint.HealthState.values()) System.out.println(c);
public static HealthStatusForNetworkEndpoint.HealthState 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 HealthStatusForNetworkEndpoint.HealthState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HealthStatusForNetworkEndpoint.HealthState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HealthStatusForNetworkEndpoint.HealthState> 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 HealthStatusForNetworkEndpoint.HealthState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.