public enum HealthCheckerType extends Enum<HealthCheckerType> implements com.google.protobuf.ProtocolMessageEnum
envoy.data.core.v3.HealthCheckerType| Enum Constant and Description |
|---|
GRPC
GRPC = 2; |
HTTP
HTTP = 0; |
REDIS
REDIS = 3; |
TCP
TCP = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GRPC_VALUE
GRPC = 2; |
static int |
HTTP_VALUE
HTTP = 0; |
static int |
REDIS_VALUE
REDIS = 3; |
static int |
TCP_VALUE
TCP = 1; |
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckerType |
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<HealthCheckerType> |
internalGetValueMap() |
static HealthCheckerType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthCheckerType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthCheckerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckerType HTTP
HTTP = 0;public static final HealthCheckerType TCP
TCP = 1;public static final HealthCheckerType GRPC
GRPC = 2;public static final HealthCheckerType REDIS
REDIS = 3;public static final HealthCheckerType UNRECOGNIZED
public static final int HTTP_VALUE
HTTP = 0;public static final int TCP_VALUE
TCP = 1;public static final int GRPC_VALUE
GRPC = 2;public static final int REDIS_VALUE
REDIS = 3;public static HealthCheckerType[] values()
for (HealthCheckerType c : HealthCheckerType.values()) System.out.println(c);
public static HealthCheckerType 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 HealthCheckerType valueOf(int value)
forNumber(int) instead.public static HealthCheckerType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HealthCheckerType> 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 HealthCheckerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.