public static enum ManagedInstanceInstanceHealth.DetailedHealthState extends Enum<ManagedInstanceInstanceHealth.DetailedHealthState> implements com.google.protobuf.ProtocolMessageEnum
[Output Only] The current detailed instance health state.Protobuf enum
google.cloud.compute.v1.ManagedInstanceInstanceHealth.DetailedHealthState| Enum Constant and Description |
|---|
DRAINING
The instance is being drained.
|
HEALTHY
The instance is reachable i.e.
|
TIMEOUT
The instance is unreachable i.e.
|
UNDEFINED_DETAILED_HEALTH_STATE
A value indicating that the enum field is not set.
|
UNHEALTHY
The instance is reachable, but does not conform to the requirements defined by the health check.
|
UNKNOWN
The health checking system is aware of the instance but its health is not known at the moment.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
The instance is being drained.
|
static int |
HEALTHY_VALUE
The instance is reachable i.e.
|
static int |
TIMEOUT_VALUE
The instance is unreachable i.e.
|
static int |
UNDEFINED_DETAILED_HEALTH_STATE_VALUE
A value indicating that the enum field is not set.
|
static int |
UNHEALTHY_VALUE
The instance is reachable, but does not conform to the requirements defined by the health check.
|
static int |
UNKNOWN_VALUE
The health checking system is aware of the instance but its health is not known at the moment.
|
| Modifier and Type | Method and Description |
|---|---|
static ManagedInstanceInstanceHealth.DetailedHealthState |
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<ManagedInstanceInstanceHealth.DetailedHealthState> |
internalGetValueMap() |
static ManagedInstanceInstanceHealth.DetailedHealthState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ManagedInstanceInstanceHealth.DetailedHealthState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ManagedInstanceInstanceHealth.DetailedHealthState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedInstanceInstanceHealth.DetailedHealthState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedInstanceInstanceHealth.DetailedHealthState UNDEFINED_DETAILED_HEALTH_STATE
A value indicating that the enum field is not set.
UNDEFINED_DETAILED_HEALTH_STATE = 0;public static final ManagedInstanceInstanceHealth.DetailedHealthState DRAINING
The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.
DRAINING = 480455402;public static final ManagedInstanceInstanceHealth.DetailedHealthState HEALTHY
The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.
HEALTHY = 439801213;public static final ManagedInstanceInstanceHealth.DetailedHealthState TIMEOUT
The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout.
TIMEOUT = 477813057;public static final ManagedInstanceInstanceHealth.DetailedHealthState UNHEALTHY
The instance is reachable, but does not conform to the requirements defined by the health check.
UNHEALTHY = 462118084;public static final ManagedInstanceInstanceHealth.DetailedHealthState UNKNOWN
The health checking system is aware of the instance but its health is not known at the moment.
UNKNOWN = 433141802;public static final ManagedInstanceInstanceHealth.DetailedHealthState UNRECOGNIZED
public static final int UNDEFINED_DETAILED_HEALTH_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_DETAILED_HEALTH_STATE = 0;public static final int DRAINING_VALUE
The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.
DRAINING = 480455402;public static final int HEALTHY_VALUE
The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.
HEALTHY = 439801213;public static final int TIMEOUT_VALUE
The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout.
TIMEOUT = 477813057;public static final int UNHEALTHY_VALUE
The instance is reachable, but does not conform to the requirements defined by the health check.
UNHEALTHY = 462118084;public static final int UNKNOWN_VALUE
The health checking system is aware of the instance but its health is not known at the moment.
UNKNOWN = 433141802;public static ManagedInstanceInstanceHealth.DetailedHealthState[] values()
for (ManagedInstanceInstanceHealth.DetailedHealthState c : ManagedInstanceInstanceHealth.DetailedHealthState.values()) System.out.println(c);
public static ManagedInstanceInstanceHealth.DetailedHealthState 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 ManagedInstanceInstanceHealth.DetailedHealthState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ManagedInstanceInstanceHealth.DetailedHealthState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ManagedInstanceInstanceHealth.DetailedHealthState> 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 ManagedInstanceInstanceHealth.DetailedHealthState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.