public static enum Listener.DrainType extends Enum<Listener.DrainType> implements com.google.protobuf.ProtocolMessageEnum
envoy.config.listener.v3.Listener.DrainType| Enum Constant and Description |
|---|
DEFAULT
Drain in response to calling /healthcheck/fail admin endpoint (along with the health check
filter), listener removal/modification, and hot restart.
|
MODIFY_ONLY
Drain in response to listener removal/modification and hot restart.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
Drain in response to calling /healthcheck/fail admin endpoint (along with the health check
filter), listener removal/modification, and hot restart.
|
static int |
MODIFY_ONLY_VALUE
Drain in response to listener removal/modification and hot restart.
|
| Modifier and Type | Method and Description |
|---|---|
static Listener.DrainType |
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<Listener.DrainType> |
internalGetValueMap() |
static Listener.DrainType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Listener.DrainType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Listener.DrainType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Listener.DrainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Listener.DrainType DEFAULT
Drain in response to calling /healthcheck/fail admin endpoint (along with the health check filter), listener removal/modification, and hot restart.
DEFAULT = 0;public static final Listener.DrainType MODIFY_ONLY
Drain in response to listener removal/modification and hot restart. This setting does not include /healthcheck/fail. This setting may be desirable if Envoy is hosting both ingress and egress listeners.
MODIFY_ONLY = 1;public static final Listener.DrainType UNRECOGNIZED
public static final int DEFAULT_VALUE
Drain in response to calling /healthcheck/fail admin endpoint (along with the health check filter), listener removal/modification, and hot restart.
DEFAULT = 0;public static final int MODIFY_ONLY_VALUE
Drain in response to listener removal/modification and hot restart. This setting does not include /healthcheck/fail. This setting may be desirable if Envoy is hosting both ingress and egress listeners.
MODIFY_ONLY = 1;public static Listener.DrainType[] values()
for (Listener.DrainType c : Listener.DrainType.values()) System.out.println(c);
public static Listener.DrainType 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 Listener.DrainType valueOf(int value)
forNumber(int) instead.public static Listener.DrainType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Listener.DrainType> 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 Listener.DrainType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.