Class ProcessingResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProcessingResponseOrBuilder,Cloneable
- Enclosing class:
- ProcessingResponse
public static final class ProcessingResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
implements ProcessingResponseOrBuilder
This represents the different types of messages the server may send back to the data plane when the ``observability_mode`` field in the received ProcessingRequest is set to false. * If the corresponding ``BodySendMode`` in the :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is not set to ``FULL_DUPLEX_STREAMED``, then for every received ProcessingRequest, the server must send back exactly one ProcessingResponse message. * If it is set to ``FULL_DUPLEX_STREAMED``, the server must follow the API defined for this mode to send the ProcessingResponse messages. [#next-free-field: 13]Protobuf type
envoy.service.ext_proc.v3.ProcessingResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional metadata that will be emitted as dynamic metadata to be consumed by following filters.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) 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.Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.The server must send back this message in response to a message with the ``request_body`` field set.[#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes.The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.The server sends back this message to initiate or continue local response streaming.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StructOptional metadata that will be emitted as dynamic metadata to be consumed by following filters.com.google.protobuf.Struct.BuilderOptional metadata that will be emitted as dynamic metadata to be consumed by following filters.com.google.protobuf.StructOrBuilderOptional metadata that will be emitted as dynamic metadata to be consumed by following filters.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 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 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.Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.com.google.protobuf.DurationWhen ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.com.google.protobuf.Duration.BuilderWhen ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.com.google.protobuf.DurationOrBuilderWhen ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.The server must send back this message in response to a message with the ``request_body`` field set.The server must send back this message in response to a message with the ``request_body`` field set.The server must send back this message in response to a message with the ``request_body`` field set.boolean[#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes.The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.The server sends back this message to initiate or continue local response streaming.The server sends back this message to initiate or continue local response streaming.The server sends back this message to initiate or continue local response streaming.booleanOptional metadata that will be emitted as dynamic metadata to be consumed by following filters.booleanIf 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.booleanOverride how parts of the HTTP request and response are processed for the duration of this particular request/response only.booleanWhen ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.booleanThe server must send back this message in response to a message with the ``request_body`` field set.booleanThe server must send back this message in response to a message with the ``request_headers`` field set.booleanThe server must send back this message in response to a message with the ``request_trailers`` field set.booleanThe server must send back this message in response to a message with the ``response_body`` field set.booleanThe server must send back this message in response to a message with the ``response_headers`` field set.booleanThe server must send back this message in response to a message with the ``response_trailers`` field set.booleanThe server sends back this message to initiate or continue local response streaming.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDynamicMetadata(com.google.protobuf.Struct value) Optional metadata that will be emitted as dynamic metadata to be consumed by following filters.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProcessingResponse other) 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.mergeModeOverride(ProcessingMode value) Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.mergeOverrideMessageTimeout(com.google.protobuf.Duration value) When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.mergeRequestBody(BodyResponse value) The server must send back this message in response to a message with the ``request_body`` field set.The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.mergeResponseBody(BodyResponse value) The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.The server sends back this message to initiate or continue local response streaming.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDynamicMetadata(com.google.protobuf.Struct value) Optional metadata that will be emitted as dynamic metadata to be consumed by following filters.setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue) Optional metadata that will be emitted as dynamic metadata to be consumed by following filters.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.setImmediateResponse(ImmediateResponse.Builder builderForValue) 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.setModeOverride(ProcessingMode value) Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.setModeOverride(ProcessingMode.Builder builderForValue) Override how parts of the HTTP request and response are processed for the duration of this particular request/response only.setOverrideMessageTimeout(com.google.protobuf.Duration value) When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.setOverrideMessageTimeout(com.google.protobuf.Duration.Builder builderForValue) When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestBody(BodyResponse value) The server must send back this message in response to a message with the ``request_body`` field set.setRequestBody(BodyResponse.Builder builderForValue) The server must send back this message in response to a message with the ``request_body`` field set.setRequestDrain(boolean value) [#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes.setRequestHeaders(HeadersResponse value) The server must send back this message in response to a message with the ``request_headers`` field set.setRequestHeaders(HeadersResponse.Builder builderForValue) The server must send back this message in response to a message with the ``request_headers`` field set.The server must send back this message in response to a message with the ``request_trailers`` field set.setRequestTrailers(TrailersResponse.Builder builderForValue) The server must send back this message in response to a message with the ``request_trailers`` field set.setResponseBody(BodyResponse value) The server must send back this message in response to a message with the ``response_body`` field set.setResponseBody(BodyResponse.Builder builderForValue) The server must send back this message in response to a message with the ``response_body`` field set.The server must send back this message in response to a message with the ``response_headers`` field set.setResponseHeaders(HeadersResponse.Builder builderForValue) The server must send back this message in response to a message with the ``response_headers`` field set.The server must send back this message in response to a message with the ``response_trailers`` field set.setResponseTrailers(TrailersResponse.Builder builderForValue) The server must send back this message in response to a message with the ``response_trailers`` field set.The server sends back this message to initiate or continue local response streaming.setStreamedImmediateResponse(StreamedImmediateResponse.Builder builderForValue) The server sends back this message to initiate or continue local response streaming.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
setField
public ProcessingResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
setRepeatedField
public ProcessingResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
addRepeatedField
public ProcessingResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
mergeFrom
public ProcessingResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingResponse.Builder>- Throws:
IOException
-
getResponseCase
- Specified by:
getResponseCasein interfaceProcessingResponseOrBuilder
-
clearResponse
-
hasRequestHeaders
public boolean hasRequestHeaders()The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;- Specified by:
hasRequestHeadersin interfaceProcessingResponseOrBuilder- Returns:
- Whether the requestHeaders field is set.
-
getRequestHeaders
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;- Specified by:
getRequestHeadersin interfaceProcessingResponseOrBuilder- Returns:
- The requestHeaders.
-
setRequestHeaders
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1; -
setRequestHeaders
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1; -
mergeRequestHeaders
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1; -
clearRequestHeaders
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1; -
getRequestHeadersBuilder
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1; -
getRequestHeadersOrBuilder
The server must send back this message in response to a message with the ``request_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse request_headers = 1;- Specified by:
getRequestHeadersOrBuilderin interfaceProcessingResponseOrBuilder
-
hasResponseHeaders
public boolean hasResponseHeaders()The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;- Specified by:
hasResponseHeadersin interfaceProcessingResponseOrBuilder- Returns:
- Whether the responseHeaders field is set.
-
getResponseHeaders
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;- Specified by:
getResponseHeadersin interfaceProcessingResponseOrBuilder- Returns:
- The responseHeaders.
-
setResponseHeaders
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2; -
setResponseHeaders
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2; -
mergeResponseHeaders
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2; -
clearResponseHeaders
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2; -
getResponseHeadersBuilder
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2; -
getResponseHeadersOrBuilder
The server must send back this message in response to a message with the ``response_headers`` field set.
.envoy.service.ext_proc.v3.HeadersResponse response_headers = 2;- Specified by:
getResponseHeadersOrBuilderin interfaceProcessingResponseOrBuilder
-
hasRequestBody
public boolean hasRequestBody()The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3;- Specified by:
hasRequestBodyin interfaceProcessingResponseOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3;- Specified by:
getRequestBodyin interfaceProcessingResponseOrBuilder- Returns:
- The requestBody.
-
setRequestBody
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3; -
setRequestBody
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3; -
mergeRequestBody
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3; -
clearRequestBody
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3; -
getRequestBodyBuilder
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3; -
getRequestBodyOrBuilder
The server must send back this message in response to a message with the ``request_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse request_body = 3;- Specified by:
getRequestBodyOrBuilderin interfaceProcessingResponseOrBuilder
-
hasResponseBody
public boolean hasResponseBody()The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4;- Specified by:
hasResponseBodyin interfaceProcessingResponseOrBuilder- Returns:
- Whether the responseBody field is set.
-
getResponseBody
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4;- Specified by:
getResponseBodyin interfaceProcessingResponseOrBuilder- Returns:
- The responseBody.
-
setResponseBody
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4; -
setResponseBody
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4; -
mergeResponseBody
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4; -
clearResponseBody
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4; -
getResponseBodyBuilder
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4; -
getResponseBodyOrBuilder
The server must send back this message in response to a message with the ``response_body`` field set.
.envoy.service.ext_proc.v3.BodyResponse response_body = 4;- Specified by:
getResponseBodyOrBuilderin interfaceProcessingResponseOrBuilder
-
hasRequestTrailers
public boolean hasRequestTrailers()The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;- Specified by:
hasRequestTrailersin interfaceProcessingResponseOrBuilder- Returns:
- Whether the requestTrailers field is set.
-
getRequestTrailers
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;- Specified by:
getRequestTrailersin interfaceProcessingResponseOrBuilder- Returns:
- The requestTrailers.
-
setRequestTrailers
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5; -
setRequestTrailers
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5; -
mergeRequestTrailers
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5; -
clearRequestTrailers
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5; -
getRequestTrailersBuilder
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5; -
getRequestTrailersOrBuilder
The server must send back this message in response to a message with the ``request_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse request_trailers = 5;- Specified by:
getRequestTrailersOrBuilderin interfaceProcessingResponseOrBuilder
-
hasResponseTrailers
public boolean hasResponseTrailers()The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;- Specified by:
hasResponseTrailersin interfaceProcessingResponseOrBuilder- Returns:
- Whether the responseTrailers field is set.
-
getResponseTrailers
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;- Specified by:
getResponseTrailersin interfaceProcessingResponseOrBuilder- Returns:
- The responseTrailers.
-
setResponseTrailers
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6; -
setResponseTrailers
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6; -
mergeResponseTrailers
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6; -
clearResponseTrailers
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6; -
getResponseTrailersBuilder
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6; -
getResponseTrailersOrBuilder
The server must send back this message in response to a message with the ``response_trailers`` field set.
.envoy.service.ext_proc.v3.TrailersResponse response_trailers = 6;- Specified by:
getResponseTrailersOrBuilderin interfaceProcessingResponseOrBuilder
-
hasImmediateResponse
public 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.v3.ImmediateResponse immediate_response = 7;- Specified by:
hasImmediateResponsein interfaceProcessingResponseOrBuilder- Returns:
- Whether the immediateResponse field is set.
-
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.v3.ImmediateResponse immediate_response = 7;- Specified by:
getImmediateResponsein interfaceProcessingResponseOrBuilder- Returns:
- The immediateResponse.
-
setImmediateResponse
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.v3.ImmediateResponse immediate_response = 7; -
setImmediateResponse
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.v3.ImmediateResponse immediate_response = 7; -
mergeImmediateResponse
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.v3.ImmediateResponse immediate_response = 7; -
clearImmediateResponse
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.v3.ImmediateResponse immediate_response = 7; -
getImmediateResponseBuilder
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.v3.ImmediateResponse immediate_response = 7; -
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.v3.ImmediateResponse immediate_response = 7;- Specified by:
getImmediateResponseOrBuilderin interfaceProcessingResponseOrBuilder
-
hasStreamedImmediateResponse
public boolean hasStreamedImmediateResponse()The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11;- Specified by:
hasStreamedImmediateResponsein interfaceProcessingResponseOrBuilder- Returns:
- Whether the streamedImmediateResponse field is set.
-
getStreamedImmediateResponse
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11;- Specified by:
getStreamedImmediateResponsein interfaceProcessingResponseOrBuilder- Returns:
- The streamedImmediateResponse.
-
setStreamedImmediateResponse
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11; -
setStreamedImmediateResponse
public ProcessingResponse.Builder setStreamedImmediateResponse(StreamedImmediateResponse.Builder builderForValue) The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11; -
mergeStreamedImmediateResponse
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11; -
clearStreamedImmediateResponse
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11; -
getStreamedImmediateResponseBuilder
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11; -
getStreamedImmediateResponseOrBuilder
The server sends back this message to initiate or continue local response streaming. The server must initiate local response streaming with the ``headers_response`` in response to a ProcessingRequest with the ``request_headers`` only. The server may follow up with multiple messages containing ``body_response``. The server must indicate end of stream by setting ``end_of_stream`` to ``true`` in the ``headers_response`` or ``body_response`` message or by sending a ``trailers_response`` message. The client may send a ``request_body`` or ``request_trailers`` to the server depending on configuration. The streaming local response can only be sent when the ``request_header_mode`` in the filter :ref:`processing_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>` is set to ``SEND``. The ext_proc server should not send StreamedImmediateResponse if it did not observe request headers, as it will result in the race with the upstream server response and reset of the client request. Presently only the FULL_DUPLEX_STREAMED or NONE body modes are supported.
.envoy.service.ext_proc.v3.StreamedImmediateResponse streamed_immediate_response = 11;- Specified by:
getStreamedImmediateResponseOrBuilderin interfaceProcessingResponseOrBuilder
-
hasDynamicMetadata
public boolean hasDynamicMetadata()Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8;- Specified by:
hasDynamicMetadatain interfaceProcessingResponseOrBuilder- Returns:
- Whether the dynamicMetadata field is set.
-
getDynamicMetadata
public com.google.protobuf.Struct getDynamicMetadata()Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8;- Specified by:
getDynamicMetadatain interfaceProcessingResponseOrBuilder- Returns:
- The dynamicMetadata.
-
setDynamicMetadata
Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8; -
setDynamicMetadata
public ProcessingResponse.Builder setDynamicMetadata(com.google.protobuf.Struct.Builder builderForValue) Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8; -
mergeDynamicMetadata
Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8; -
clearDynamicMetadata
Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8; -
getDynamicMetadataBuilder
public com.google.protobuf.Struct.Builder getDynamicMetadataBuilder()Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8; -
getDynamicMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()Optional metadata that will be emitted as dynamic metadata to be consumed by following filters. This metadata will be placed in the namespace(s) specified by the top-level field name(s) of the struct.
.google.protobuf.Struct dynamic_metadata = 8;- Specified by:
getDynamicMetadataOrBuilderin interfaceProcessingResponseOrBuilder
-
hasModeOverride
public 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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;- Specified by:
hasModeOverridein interfaceProcessingResponseOrBuilder- Returns:
- Whether the modeOverride field is set.
-
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;- Specified by:
getModeOverridein interfaceProcessingResponseOrBuilder- Returns:
- The modeOverride.
-
setModeOverride
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; -
setModeOverride
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; -
mergeModeOverride
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; -
clearModeOverride
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; -
getModeOverrideBuilder
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9; -
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. This field is only applicable when servers responding to the header requests. If it is set in the response to the body or trailer requests, it will be ignored by the data plane. It is also ignored by the data plane when the ext_proc filter config :ref:`allow_mode_override <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allow_mode_override>` is set to false, or :ref:`send_body_without_waiting_for_header_response <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.send_body_without_waiting_for_header_response>` is set to true.
.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode mode_override = 9;- Specified by:
getModeOverrideOrBuilderin interfaceProcessingResponseOrBuilder
-
getRequestDrain
public boolean getRequestDrain()[#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes. Instructs the data plane to stop sending body data and to send a half-close on the ext_proc stream. The ext_proc server should then echo back all subsequent body contents as-is until it sees the client's half-close, at which point the ext_proc server can terminate the stream with an OK status. This provides a safe way for the ext_proc server to indicate that it does not need to see the rest of the stream; without this, the ext_proc server could not terminate the stream early, because it would wind up dropping any body contents that the client had already sent before it saw the ext_proc stream termination.
bool request_drain = 12;- Specified by:
getRequestDrainin interfaceProcessingResponseOrBuilder- Returns:
- The requestDrain.
-
setRequestDrain
[#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes. Instructs the data plane to stop sending body data and to send a half-close on the ext_proc stream. The ext_proc server should then echo back all subsequent body contents as-is until it sees the client's half-close, at which point the ext_proc server can terminate the stream with an OK status. This provides a safe way for the ext_proc server to indicate that it does not need to see the rest of the stream; without this, the ext_proc server could not terminate the stream early, because it would wind up dropping any body contents that the client had already sent before it saw the ext_proc stream termination.
bool request_drain = 12;- Parameters:
value- The requestDrain to set.- Returns:
- This builder for chaining.
-
clearRequestDrain
[#not-implemented-hide:] Used only in ``FULL_DUPLEX_STREAMED`` and ``GRPC`` body send modes. Instructs the data plane to stop sending body data and to send a half-close on the ext_proc stream. The ext_proc server should then echo back all subsequent body contents as-is until it sees the client's half-close, at which point the ext_proc server can terminate the stream with an OK status. This provides a safe way for the ext_proc server to indicate that it does not need to see the rest of the stream; without this, the ext_proc server could not terminate the stream early, because it would wind up dropping any body contents that the client had already sent before it saw the ext_proc stream termination.
bool request_drain = 12;- Returns:
- This builder for chaining.
-
hasOverrideMessageTimeout
public boolean hasOverrideMessageTimeout()When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10;- Specified by:
hasOverrideMessageTimeoutin interfaceProcessingResponseOrBuilder- Returns:
- Whether the overrideMessageTimeout field is set.
-
getOverrideMessageTimeout
public com.google.protobuf.Duration getOverrideMessageTimeout()When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10;- Specified by:
getOverrideMessageTimeoutin interfaceProcessingResponseOrBuilder- Returns:
- The overrideMessageTimeout.
-
setOverrideMessageTimeout
When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10; -
setOverrideMessageTimeout
public ProcessingResponse.Builder setOverrideMessageTimeout(com.google.protobuf.Duration.Builder builderForValue) When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10; -
mergeOverrideMessageTimeout
When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10; -
clearOverrideMessageTimeout
When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10; -
getOverrideMessageTimeoutBuilder
public com.google.protobuf.Duration.Builder getOverrideMessageTimeoutBuilder()When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10; -
getOverrideMessageTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getOverrideMessageTimeoutOrBuilder()When ext_proc server receives a request message, in case it needs more time to process the message, it sends back a ProcessingResponse message with a new timeout value. When the data plane receives this response message, it ignores other fields in the response, just stop the original timer, which has the timeout value specified in :ref:`message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.message_timeout>` and start a new timer with this ``override_message_timeout`` value and keep the data plane ext_proc filter state machine intact. Has to be >= 1ms and <= :ref:`max_message_timeout <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.max_message_timeout>` Such message can be sent at most once in a particular data plane ext_proc filter processing state. To enable this API, one has to set ``max_message_timeout`` to a number >= 1ms.
.google.protobuf.Duration override_message_timeout = 10;- Specified by:
getOverrideMessageTimeoutOrBuilderin interfaceProcessingResponseOrBuilder
-
setUnknownFields
public final ProcessingResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-
mergeUnknownFields
public final ProcessingResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingResponse.Builder>
-