public final class ProcessingResponse extends com.google.protobuf.GeneratedMessageV3 implements ProcessingResponseOrBuilder
For every ProcessingRequest received by the server with the "async_mode" field set to false, the server must send back exactly one ProcessingResponse message. [#next-free-field: 10]Protobuf type
envoy.service.ext_proc.v3alpha.ProcessingResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessingResponse.Builder
For every ProcessingRequest received by the server with the "async_mode" field
set to false, the server must send back exactly one ProcessingResponse message.
|
static class |
ProcessingResponse.ResponseCase |
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 |
DYNAMIC_METADATA_FIELD_NUMBER |
static int |
IMMEDIATE_RESPONSE_FIELD_NUMBER |
static int |
MODE_OVERRIDE_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) |
static ProcessingResponse |
getDefaultInstance() |
ProcessingResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Struct |
getDynamicMetadata()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
com.google.protobuf.StructOrBuilder |
getDynamicMetadataOrBuilder()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
ImmediateResponse |
getImmediateResponse()
If specified, attempt to create a locally generated response, send it
downstream, and stop processing additional filters and ignore any
additional messages received from the remote server for this request or
response.
|
ImmediateResponseOrBuilder |
getImmediateResponseOrBuilder()
If specified, attempt to create a locally generated response, send it
downstream, and stop processing additional filters and ignore any
additional messages received from the remote server for this request or
response.
|
ProcessingMode |
getModeOverride()
Override how parts of the HTTP request and response are processed
for the duration of this particular request/response only.
|
ProcessingModeOrBuilder |
getModeOverrideOrBuilder()
Override how parts of the HTTP request and response are processed
for the duration of this particular request/response only.
|
com.google.protobuf.Parser<ProcessingResponse> |
getParserForType() |
BodyResponse |
getRequestBody()
The server must send back this message in response to a message with
the "request_body" field set.
|
BodyResponseOrBuilder |
getRequestBodyOrBuilder()
The server must send back this message in response to a message with
the "request_body" field set.
|
HeadersResponse |
getRequestHeaders()
The server must send back this message in response to a message with the
"request_headers" field set.
|
HeadersResponseOrBuilder |
getRequestHeadersOrBuilder()
The server must send back this message in response to a message with the
"request_headers" field set.
|
TrailersResponse |
getRequestTrailers()
The server must send back this message in response to a message with
the "request_trailers" field set.
|
TrailersResponseOrBuilder |
getRequestTrailersOrBuilder()
The server must send back this message in response to a message with
the "request_trailers" field set.
|
BodyResponse |
getResponseBody()
The server must send back this message in response to a message with
the "response_body" field set.
|
BodyResponseOrBuilder |
getResponseBodyOrBuilder()
The server must send back this message in response to a message with
the "response_body" field set.
|
ProcessingResponse.ResponseCase |
getResponseCase() |
HeadersResponse |
getResponseHeaders()
The server must send back this message in response to a message with the
"response_headers" field set.
|
HeadersResponseOrBuilder |
getResponseHeadersOrBuilder()
The server must send back this message in response to a message with the
"response_headers" field set.
|
TrailersResponse |
getResponseTrailers()
The server must send back this message in response to a message with
the "response_trailers" field set.
|
TrailersResponseOrBuilder |
getResponseTrailersOrBuilder()
The server must send back this message in response to a message with
the "response_trailers" field set.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDynamicMetadata()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next
filter.
|
int |
hashCode() |
boolean |
hasImmediateResponse()
If specified, attempt to create a locally generated response, send it
downstream, and stop processing additional filters and ignore any
additional messages received from the remote server for this request or
response.
|
boolean |
hasModeOverride()
Override how parts of the HTTP request and response are processed
for the duration of this particular request/response only.
|
boolean |
hasRequestBody()
The server must send back this message in response to a message with
the "request_body" field set.
|
boolean |
hasRequestHeaders()
The server must send back this message in response to a message with the
"request_headers" field set.
|
boolean |
hasRequestTrailers()
The server must send back this message in response to a message with
the "request_trailers" field set.
|
boolean |
hasResponseBody()
The server must send back this message in response to a message with
the "response_body" field set.
|
boolean |
hasResponseHeaders()
The server must send back this message in response to a message with the
"response_headers" field set.
|
boolean |
hasResponseTrailers()
The server must send back this message in response to a message with
the "response_trailers" field set.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProcessingResponse.Builder |
newBuilder() |
static ProcessingResponse.Builder |
newBuilder(ProcessingResponse prototype) |
ProcessingResponse.Builder |
newBuilderForType() |
protected ProcessingResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ProcessingResponse |
parseDelimitedFrom(InputStream input) |
static ProcessingResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingResponse |
parseFrom(byte[] data) |
static ProcessingResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingResponse |
parseFrom(ByteBuffer data) |
static ProcessingResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ProcessingResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProcessingResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcessingResponse |
parseFrom(InputStream input) |
static ProcessingResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ProcessingResponse> |
parser() |
ProcessingResponse.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 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
public static final int IMMEDIATE_RESPONSE_FIELD_NUMBER
public static final int DYNAMIC_METADATA_FIELD_NUMBER
public static final int MODE_OVERRIDE_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 ProcessingResponse.ResponseCase getResponseCase()
getResponseCase in interface ProcessingResponseOrBuilderpublic boolean hasRequestHeaders()
The server must send back this message in response to a message with the "request_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse request_headers = 1;hasRequestHeaders in interface ProcessingResponseOrBuilderpublic HeadersResponse getRequestHeaders()
The server must send back this message in response to a message with the "request_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse request_headers = 1;getRequestHeaders in interface ProcessingResponseOrBuilderpublic HeadersResponseOrBuilder getRequestHeadersOrBuilder()
The server must send back this message in response to a message with the "request_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse request_headers = 1;getRequestHeadersOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasResponseHeaders()
The server must send back this message in response to a message with the "response_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse response_headers = 2;hasResponseHeaders in interface ProcessingResponseOrBuilderpublic HeadersResponse getResponseHeaders()
The server must send back this message in response to a message with the "response_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse response_headers = 2;getResponseHeaders in interface ProcessingResponseOrBuilderpublic HeadersResponseOrBuilder getResponseHeadersOrBuilder()
The server must send back this message in response to a message with the "response_headers" field set.
.envoy.service.ext_proc.v3alpha.HeadersResponse response_headers = 2;getResponseHeadersOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasRequestBody()
The server must send back this message in response to a message with the "request_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse request_body = 3;hasRequestBody in interface ProcessingResponseOrBuilderpublic BodyResponse getRequestBody()
The server must send back this message in response to a message with the "request_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse request_body = 3;getRequestBody in interface ProcessingResponseOrBuilderpublic BodyResponseOrBuilder getRequestBodyOrBuilder()
The server must send back this message in response to a message with the "request_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse request_body = 3;getRequestBodyOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasResponseBody()
The server must send back this message in response to a message with the "response_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse response_body = 4;hasResponseBody in interface ProcessingResponseOrBuilderpublic BodyResponse getResponseBody()
The server must send back this message in response to a message with the "response_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse response_body = 4;getResponseBody in interface ProcessingResponseOrBuilderpublic BodyResponseOrBuilder getResponseBodyOrBuilder()
The server must send back this message in response to a message with the "response_body" field set.
.envoy.service.ext_proc.v3alpha.BodyResponse response_body = 4;getResponseBodyOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasRequestTrailers()
The server must send back this message in response to a message with the "request_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse request_trailers = 5;hasRequestTrailers in interface ProcessingResponseOrBuilderpublic TrailersResponse getRequestTrailers()
The server must send back this message in response to a message with the "request_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse request_trailers = 5;getRequestTrailers in interface ProcessingResponseOrBuilderpublic TrailersResponseOrBuilder getRequestTrailersOrBuilder()
The server must send back this message in response to a message with the "request_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse request_trailers = 5;getRequestTrailersOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasResponseTrailers()
The server must send back this message in response to a message with the "response_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse response_trailers = 6;hasResponseTrailers in interface ProcessingResponseOrBuilderpublic TrailersResponse getResponseTrailers()
The server must send back this message in response to a message with the "response_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse response_trailers = 6;getResponseTrailers in interface ProcessingResponseOrBuilderpublic TrailersResponseOrBuilder getResponseTrailersOrBuilder()
The server must send back this message in response to a message with the "response_trailers" field set.
.envoy.service.ext_proc.v3alpha.TrailersResponse response_trailers = 6;getResponseTrailersOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasImmediateResponse()
If specified, attempt to create a locally generated response, send it downstream, and stop processing additional filters and ignore any additional messages received from the remote server for this request or response. If a response has already started -- for example, if this message is sent response to a "response_body" message -- then this will either ship the reply directly to the downstream codec, or reset the stream.
.envoy.service.ext_proc.v3alpha.ImmediateResponse immediate_response = 7;hasImmediateResponse in interface ProcessingResponseOrBuilderpublic ImmediateResponse getImmediateResponse()
If specified, attempt to create a locally generated response, send it downstream, and stop processing additional filters and ignore any additional messages received from the remote server for this request or response. If a response has already started -- for example, if this message is sent response to a "response_body" message -- then this will either ship the reply directly to the downstream codec, or reset the stream.
.envoy.service.ext_proc.v3alpha.ImmediateResponse immediate_response = 7;getImmediateResponse in interface ProcessingResponseOrBuilderpublic ImmediateResponseOrBuilder getImmediateResponseOrBuilder()
If specified, attempt to create a locally generated response, send it downstream, and stop processing additional filters and ignore any additional messages received from the remote server for this request or response. If a response has already started -- for example, if this message is sent response to a "response_body" message -- then this will either ship the reply directly to the downstream codec, or reset the stream.
.envoy.service.ext_proc.v3alpha.ImmediateResponse immediate_response = 7;getImmediateResponseOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasDynamicMetadata()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata will be placed in the namespace "envoy.filters.http.ext_proc".
.google.protobuf.Struct dynamic_metadata = 8;hasDynamicMetadata in interface ProcessingResponseOrBuilderpublic com.google.protobuf.Struct getDynamicMetadata()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata will be placed in the namespace "envoy.filters.http.ext_proc".
.google.protobuf.Struct dynamic_metadata = 8;getDynamicMetadata in interface ProcessingResponseOrBuilderpublic com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
Optional metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata will be placed in the namespace "envoy.filters.http.ext_proc".
.google.protobuf.Struct dynamic_metadata = 8;getDynamicMetadataOrBuilder in interface ProcessingResponseOrBuilderpublic boolean hasModeOverride()
Override how parts of the HTTP request and response are processed for the duration of this particular request/response only. Servers may use this to intelligently control how requests are processed based on the headers and other metadata that they see.
.envoy.extensions.filters.http.ext_proc.v3alpha.ProcessingMode mode_override = 9;hasModeOverride in interface ProcessingResponseOrBuilderpublic ProcessingMode getModeOverride()
Override how parts of the HTTP request and response are processed for the duration of this particular request/response only. Servers may use this to intelligently control how requests are processed based on the headers and other metadata that they see.
.envoy.extensions.filters.http.ext_proc.v3alpha.ProcessingMode mode_override = 9;getModeOverride in interface ProcessingResponseOrBuilderpublic ProcessingModeOrBuilder getModeOverrideOrBuilder()
Override how parts of the HTTP request and response are processed for the duration of this particular request/response only. Servers may use this to intelligently control how requests are processed based on the headers and other metadata that they see.
.envoy.extensions.filters.http.ext_proc.v3alpha.ProcessingMode mode_override = 9;getModeOverrideOrBuilder in interface ProcessingResponseOrBuilderpublic 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 ProcessingResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcessingResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessingResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessingResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProcessingResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcessingResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProcessingResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ProcessingResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProcessingResponse.Builder newBuilder()
public static ProcessingResponse.Builder newBuilder(ProcessingResponse prototype)
public ProcessingResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProcessingResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ProcessingResponse getDefaultInstance()
public static com.google.protobuf.Parser<ProcessingResponse> parser()
public com.google.protobuf.Parser<ProcessingResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ProcessingResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.