public static enum ProcessingMode.BodySendMode extends Enum<ProcessingMode.BodySendMode> implements com.google.protobuf.ProtocolMessageEnum
Control how the request and response bodies are handledProtobuf enum
envoy.extensions.filters.http.ext_proc.v3alpha.ProcessingMode.BodySendMode| Enum Constant and Description |
|---|
BUFFERED
Buffer the message body in memory and send the entire body at once.
|
BUFFERED_PARTIAL
Buffer the message body in memory and send the entire body in one
chunk.
|
NONE
Do not send the body at all.
|
STREAMED
Stream the body to the server in pieces as they arrive at the
proxy.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFERED_PARTIAL_VALUE
Buffer the message body in memory and send the entire body in one
chunk.
|
static int |
BUFFERED_VALUE
Buffer the message body in memory and send the entire body at once.
|
static int |
NONE_VALUE
Do not send the body at all.
|
static int |
STREAMED_VALUE
Stream the body to the server in pieces as they arrive at the
proxy.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessingMode.BodySendMode |
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.BodySendMode> |
internalGetValueMap() |
static ProcessingMode.BodySendMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ProcessingMode.BodySendMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ProcessingMode.BodySendMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessingMode.BodySendMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessingMode.BodySendMode NONE
Do not send the body at all. This is the default.
NONE = 0;public static final ProcessingMode.BodySendMode STREAMED
Stream the body to the server in pieces as they arrive at the proxy.
STREAMED = 1;public static final ProcessingMode.BodySendMode BUFFERED
Buffer the message body in memory and send the entire body at once. If the body exceeds the configured buffer limit, then the downstream system will receive an error.
BUFFERED = 2;public static final ProcessingMode.BodySendMode BUFFERED_PARTIAL
Buffer the message body in memory and send the entire body in one chunk. If the body exceeds the configured buffer limit, then the body contents up to the buffer limit will be sent.
BUFFERED_PARTIAL = 3;public static final ProcessingMode.BodySendMode UNRECOGNIZED
public static final int NONE_VALUE
Do not send the body at all. This is the default.
NONE = 0;public static final int STREAMED_VALUE
Stream the body to the server in pieces as they arrive at the proxy.
STREAMED = 1;public static final int BUFFERED_VALUE
Buffer the message body in memory and send the entire body at once. If the body exceeds the configured buffer limit, then the downstream system will receive an error.
BUFFERED = 2;public static final int BUFFERED_PARTIAL_VALUE
Buffer the message body in memory and send the entire body in one chunk. If the body exceeds the configured buffer limit, then the body contents up to the buffer limit will be sent.
BUFFERED_PARTIAL = 3;public static ProcessingMode.BodySendMode[] values()
for (ProcessingMode.BodySendMode c : ProcessingMode.BodySendMode.values()) System.out.println(c);
public static ProcessingMode.BodySendMode 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.BodySendMode valueOf(int value)
forNumber(int) instead.public static ProcessingMode.BodySendMode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ProcessingMode.BodySendMode> 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.BodySendMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.