public final class ProcessingRequest extends com.google.protobuf.GeneratedMessageV3 implements ProcessingRequestOrBuilder
This represents the different types of messages that Envoy can send to an external processing server. [#next-free-field: 8]Protobuf type
envoy.service.ext_proc.v3alpha.ProcessingRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessingRequest.Builder
This represents the different types of messages that Envoy can send
to an external processing server.
|
static class |
ProcessingRequest.RequestCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNC_MODE_FIELD_NUMBER |
static int |
REQUEST_BODY_FIELD_NUMBER |
static int |
REQUEST_HEADERS_FIELD_NUMBER |
static int |
REQUEST_TRAILERS_FIELD_NUMBER |
static int |
RESPONSE_BODY_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_FIELD_NUMBER |
static int |
RESPONSE_TRAILERS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAsyncMode()
Specify whether the filter that sent this request is running in synchronous
or asynchronous mode.
|
static ProcessingRequest |
getDefaultInstance() |
ProcessingRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ProcessingRequest> |
getParserForType() |
HttpBody |
getRequestBody()
A chunk of the HTTP request body.
|
HttpBodyOrBuilder |
getRequestBodyOrBuilder()
A chunk of the HTTP request body.
|
ProcessingRequest.RequestCase |
getRequestCase() |
HttpHeaders |
getRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional
properties.
|
HttpHeadersOrBuilder |
getRequestHeadersOrBuilder()
Information about the HTTP request headers, as well as peer info and additional
properties.
|
HttpTrailers |
getRequestTrailers()
The HTTP trailers for the request path.
|
HttpTrailersOrBuilder |
getRequestTrailersOrBuilder()
The HTTP trailers for the request path.
|
HttpBody |
getResponseBody()
A chunk of the HTTP request body.
|
HttpBodyOrBuilder |
getResponseBodyOrBuilder()
A chunk of the HTTP request body.
|
HttpHeaders |
getResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional
properties.
|
HttpHeadersOrBuilder |
getResponseHeadersOrBuilder()
Information about the HTTP response headers, as well as peer info and additional
properties.
|
HttpTrailers |
getResponseTrailers()
The HTTP trailers for the response path.
|
HttpTrailersOrBuilder |
getResponseTrailersOrBuilder()
The HTTP trailers for the response path.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasRequestBody()
A chunk of the HTTP request body.
|
boolean |
hasRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional
properties.
|
boolean |
hasRequestTrailers()
The HTTP trailers for the request path.
|
boolean |
hasResponseBody()
A chunk of the HTTP request body.
|
boolean |
hasResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional
properties.
|
boolean |
hasResponseTrailers()
The HTTP trailers for the response path.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProcessingRequest.Builder |
newBuilder() |
static ProcessingRequest.Builder |
newBuilder(ProcessingRequest prototype) |
ProcessingRequest.Builder |
newBuilderForType() |
protected ProcessingRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProcessingRequest |
parseDelimitedFrom(InputStream input) |
static ProcessingRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingRequest |
parseFrom(byte[] data) |
static ProcessingRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingRequest |
parseFrom(ByteBuffer data) |
static ProcessingRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ProcessingRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProcessingRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingRequest |
parseFrom(InputStream input) |
static ProcessingRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProcessingRequest> |
parser() |
ProcessingRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ASYNC_MODE_FIELD_NUMBER
public static final int REQUEST_HEADERS_FIELD_NUMBER
public static final int RESPONSE_HEADERS_FIELD_NUMBER
public static final int REQUEST_BODY_FIELD_NUMBER
public static final int RESPONSE_BODY_FIELD_NUMBER
public static final int REQUEST_TRAILERS_FIELD_NUMBER
public static final int RESPONSE_TRAILERS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ProcessingRequest.RequestCase getRequestCase()
getRequestCase in interface ProcessingRequestOrBuilderpublic boolean getAsyncMode()
Specify whether the filter that sent this request is running in synchronous or asynchronous mode. If false, then the server must either respond with exactly one ProcessingResponse message or close the stream. If true, however, then the server must not respond with an additional message, although it may still close the stream. The choice of synchronous or asynchronous mode can be chosen in the filter configuration.
bool async_mode = 1;getAsyncMode in interface ProcessingRequestOrBuilderpublic boolean hasRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders request_headers = 2;hasRequestHeaders in interface ProcessingRequestOrBuilderpublic HttpHeaders getRequestHeaders()
Information about the HTTP request headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders request_headers = 2;getRequestHeaders in interface ProcessingRequestOrBuilderpublic HttpHeadersOrBuilder getRequestHeadersOrBuilder()
Information about the HTTP request headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders request_headers = 2;getRequestHeadersOrBuilder in interface ProcessingRequestOrBuilderpublic boolean hasResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders response_headers = 3;hasResponseHeaders in interface ProcessingRequestOrBuilderpublic HttpHeaders getResponseHeaders()
Information about the HTTP response headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders response_headers = 3;getResponseHeaders in interface ProcessingRequestOrBuilderpublic HttpHeadersOrBuilder getResponseHeadersOrBuilder()
Information about the HTTP response headers, as well as peer info and additional properties. If "response_required" is set, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpHeaders response_headers = 3;getResponseHeadersOrBuilder in interface ProcessingRequestOrBuilderpublic boolean hasRequestBody()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody request_body = 4;hasRequestBody in interface ProcessingRequestOrBuilderpublic HttpBody getRequestBody()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody request_body = 4;getRequestBody in interface ProcessingRequestOrBuilderpublic HttpBodyOrBuilder getRequestBodyOrBuilder()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody request_body = 4;getRequestBodyOrBuilder in interface ProcessingRequestOrBuilderpublic boolean hasResponseBody()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody response_body = 5;hasResponseBody in interface ProcessingRequestOrBuilderpublic HttpBody getResponseBody()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody response_body = 5;getResponseBody in interface ProcessingRequestOrBuilderpublic HttpBodyOrBuilder getResponseBodyOrBuilder()
A chunk of the HTTP request body. If "response_required" is set, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpBody response_body = 5;getResponseBodyOrBuilder in interface ProcessingRequestOrBuilderpublic boolean hasRequestTrailers()
The HTTP trailers for the request path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers request_trailers = 6;hasRequestTrailers in interface ProcessingRequestOrBuilderpublic HttpTrailers getRequestTrailers()
The HTTP trailers for the request path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers request_trailers = 6;getRequestTrailers in interface ProcessingRequestOrBuilderpublic HttpTrailersOrBuilder getRequestTrailersOrBuilder()
The HTTP trailers for the request path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers request_trailers = 6;getRequestTrailersOrBuilder in interface ProcessingRequestOrBuilderpublic boolean hasResponseTrailers()
The HTTP trailers for the response path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers response_trailers = 7;hasResponseTrailers in interface ProcessingRequestOrBuilderpublic HttpTrailers getResponseTrailers()
The HTTP trailers for the response path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers response_trailers = 7;getResponseTrailers in interface ProcessingRequestOrBuilderpublic HttpTrailersOrBuilder getResponseTrailersOrBuilder()
The HTTP trailers for the response path. If "response_required" is set, the server must send back a TrailerResponse message or close the stream.
.envoy.service.ext_proc.v3alpha.HttpTrailers response_trailers = 7;getResponseTrailersOrBuilder in interface ProcessingRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ProcessingRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessingRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessingRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessingRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessingRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProcessingRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProcessingRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProcessingRequest.Builder newBuilder()
public static ProcessingRequest.Builder newBuilder(ProcessingRequest prototype)
public ProcessingRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProcessingRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProcessingRequest getDefaultInstance()
public static com.google.protobuf.Parser<ProcessingRequest> parser()
public com.google.protobuf.Parser<ProcessingRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProcessingRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.