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