public static enum HealthCheckEvent.EventCase extends Enum<HealthCheckEvent.EventCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
ADD_HEALTHY_EVENT |
DEGRADED_HEALTHY_HOST |
EJECT_UNHEALTHY_EVENT |
EVENT_NOT_SET |
HEALTH_CHECK_FAILURE_EVENT |
NO_LONGER_DEGRADED_HOST |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckEvent.EventCase |
forNumber(int value) |
int |
getNumber() |
static HealthCheckEvent.EventCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthCheckEvent.EventCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckEvent.EventCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckEvent.EventCase EJECT_UNHEALTHY_EVENT
public static final HealthCheckEvent.EventCase ADD_HEALTHY_EVENT
public static final HealthCheckEvent.EventCase HEALTH_CHECK_FAILURE_EVENT
public static final HealthCheckEvent.EventCase DEGRADED_HEALTHY_HOST
public static final HealthCheckEvent.EventCase NO_LONGER_DEGRADED_HOST
public static final HealthCheckEvent.EventCase EVENT_NOT_SET
public static HealthCheckEvent.EventCase[] values()
for (HealthCheckEvent.EventCase c : HealthCheckEvent.EventCase.values()) System.out.println(c);
public static HealthCheckEvent.EventCase 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 null@Deprecated public static HealthCheckEvent.EventCase valueOf(int value)
forNumber(int) instead.public static HealthCheckEvent.EventCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.