public static enum ProcessingMode.HeaderSendMode extends Enum<ProcessingMode.HeaderSendMode> implements com.google.protobuf.ProtocolMessageEnum
Control how headers and trailers are handledProtobuf enum
envoy.extensions.filters.http.ext_proc.v3alpha.ProcessingMode.HeaderSendMode| Enum Constant and Description |
|---|
DEFAULT
The default HeaderSendMode depends on which part of the message is being
processed.
|
SEND
Send the header or trailer.
|
SKIP
Do not send the header or trailer.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
The default HeaderSendMode depends on which part of the message is being
processed.
|
static int |
SEND_VALUE
Send the header or trailer.
|
static int |
SKIP_VALUE
Do not send the header or trailer.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessingMode.HeaderSendMode |
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<ProcessingMode.HeaderSendMode> |
internalGetValueMap() |
static ProcessingMode.HeaderSendMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcessingMode.HeaderSendMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProcessingMode.HeaderSendMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessingMode.HeaderSendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessingMode.HeaderSendMode DEFAULT
The default HeaderSendMode depends on which part of the message is being processed. By default, request and response headers are sent, while trailers are skipped.
DEFAULT = 0;public static final ProcessingMode.HeaderSendMode SEND
Send the header or trailer.
SEND = 1;public static final ProcessingMode.HeaderSendMode SKIP
Do not send the header or trailer.
SKIP = 2;public static final ProcessingMode.HeaderSendMode UNRECOGNIZED
public static final int DEFAULT_VALUE
The default HeaderSendMode depends on which part of the message is being processed. By default, request and response headers are sent, while trailers are skipped.
DEFAULT = 0;public static final int SEND_VALUE
Send the header or trailer.
SEND = 1;public static final int SKIP_VALUE
Do not send the header or trailer.
SKIP = 2;public static ProcessingMode.HeaderSendMode[] values()
for (ProcessingMode.HeaderSendMode c : ProcessingMode.HeaderSendMode.values()) System.out.println(c);
public static ProcessingMode.HeaderSendMode 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 ProcessingMode.HeaderSendMode valueOf(int value)
forNumber(int) instead.public static ProcessingMode.HeaderSendMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProcessingMode.HeaderSendMode> 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 ProcessingMode.HeaderSendMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.