public static enum HealthCheckOuterClass.HealthStatus extends Enum<HealthCheckOuterClass.HealthStatus> implements com.google.protobuf.ProtocolMessageEnum
Endpoint health status.
Protobuf enum envoy.api.v2.core.HealthStatus
| Enum Constant and Description |
|---|
DRAINING
Connection draining in progress.
|
HEALTHY
Healthy.
|
TIMEOUT
Health check timed out.
|
UNHEALTHY
Unhealthy.
|
UNKNOWN
The health status is not known.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
Connection draining in progress.
|
static int |
HEALTHY_VALUE
Healthy.
|
static int |
TIMEOUT_VALUE
Health check timed out.
|
static int |
UNHEALTHY_VALUE
Unhealthy.
|
static int |
UNKNOWN_VALUE
The health status is not known.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckOuterClass.HealthStatus |
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<HealthCheckOuterClass.HealthStatus> |
internalGetValueMap() |
static HealthCheckOuterClass.HealthStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthCheckOuterClass.HealthStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthCheckOuterClass.HealthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckOuterClass.HealthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckOuterClass.HealthStatus UNKNOWN
The health status is not known. This is interpreted by Envoy as *HEALTHY*.
UNKNOWN = 0;public static final HealthCheckOuterClass.HealthStatus HEALTHY
Healthy.
HEALTHY = 1;public static final HealthCheckOuterClass.HealthStatus UNHEALTHY
Unhealthy.
UNHEALTHY = 2;public static final HealthCheckOuterClass.HealthStatus DRAINING
Connection draining in progress. E.g., `<https://aws.amazon.com/blogs/aws/elb-connection-draining-remove-instances-from-service-with-care/>`_ or `<https://cloud.google.com/compute/docs/load-balancing/enabling-connection-draining>`_. This is interpreted by Envoy as *UNHEALTHY*.
DRAINING = 3;public static final HealthCheckOuterClass.HealthStatus TIMEOUT
Health check timed out. This is part of HDS and is interpreted by Envoy as *UNHEALTHY*.
TIMEOUT = 4;public static final HealthCheckOuterClass.HealthStatus UNRECOGNIZED
public static final int UNKNOWN_VALUE
The health status is not known. This is interpreted by Envoy as *HEALTHY*.
UNKNOWN = 0;public static final int HEALTHY_VALUE
Healthy.
HEALTHY = 1;public static final int UNHEALTHY_VALUE
Unhealthy.
UNHEALTHY = 2;public static final int DRAINING_VALUE
Connection draining in progress. E.g., `<https://aws.amazon.com/blogs/aws/elb-connection-draining-remove-instances-from-service-with-care/>`_ or `<https://cloud.google.com/compute/docs/load-balancing/enabling-connection-draining>`_. This is interpreted by Envoy as *UNHEALTHY*.
DRAINING = 3;public static final int TIMEOUT_VALUE
Health check timed out. This is part of HDS and is interpreted by Envoy as *UNHEALTHY*.
TIMEOUT = 4;public static HealthCheckOuterClass.HealthStatus[] values()
for (HealthCheckOuterClass.HealthStatus c : HealthCheckOuterClass.HealthStatus.values()) System.out.println(c);
public static HealthCheckOuterClass.HealthStatus 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 HealthCheckOuterClass.HealthStatus valueOf(int value)
forNumber(int) instead.public static HealthCheckOuterClass.HealthStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HealthCheckOuterClass.HealthStatus> 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 HealthCheckOuterClass.HealthStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 WSO2. All rights reserved.