Class ProcessingRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
io.envoyproxy.envoy.service.ext_proc.v3.ProcessingRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProcessingRequestOrBuilder,Cloneable
- Enclosing class:
- ProcessingRequest
public static final class ProcessingRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
implements ProcessingRequestOrBuilder
This represents the different types of messages that the data plane can send to an external processing server. [#next-free-field: 12]Protobuf type
envoy.service.ext_proc.v3.ProcessingRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Dynamic metadata associated with the request.Specify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to falseclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Specify the filter protocol configurations to be sent to the server.A chunk of the HTTP request body.Information about the HTTP request headers, as well as peer info and additional properties.The HTTP trailers for the request path.A chunk of the HTTP response body.Information about the HTTP response headers, as well as peer info and additional properties.The HTTP trailers for the response path.clone()booleancontainsAttributes(String key) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.Deprecated.intThe values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.com.google.protobuf.StructgetAttributesOrDefault(String key, com.google.protobuf.Struct defaultValue) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.com.google.protobuf.StructThe values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDynamic metadata associated with the request.Dynamic metadata associated with the request.Dynamic metadata associated with the request.Deprecated.booleanSpecify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to falseSpecify the filter protocol configurations to be sent to the server.Specify the filter protocol configurations to be sent to the server.Specify the filter protocol configurations to be sent to the server.A chunk of the HTTP request body.A chunk of the HTTP request body.A chunk of the HTTP request body.Information about the HTTP request headers, as well as peer info and additional properties.Information about the HTTP request headers, as well as peer info and additional properties.Information about the HTTP request headers, as well as peer info and additional properties.The HTTP trailers for the request path.The HTTP trailers for the request path.The HTTP trailers for the request path.A chunk of the HTTP response body.A chunk of the HTTP response body.A chunk of the HTTP response body.Information about the HTTP response headers, as well as peer info and additional properties.Information about the HTTP response headers, as well as peer info and additional properties.Information about the HTTP response headers, as well as peer info and additional properties.The HTTP trailers for the response path.The HTTP trailers for the response path.The HTTP trailers for the response path.booleanDynamic metadata associated with the request.booleanSpecify the filter protocol configurations to be sent to the server.booleanA chunk of the HTTP request body.booleanInformation about the HTTP request headers, as well as peer info and additional properties.booleanThe HTTP trailers for the request path.booleanA chunk of the HTTP response body.booleanInformation about the HTTP response headers, as well as peer info and additional properties.booleanThe HTTP trailers for the response path.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProcessingRequest other) mergeMetadataContext(Metadata value) Dynamic metadata associated with the request.Specify the filter protocol configurations to be sent to the server.mergeRequestBody(HttpBody value) A chunk of the HTTP request body.mergeRequestHeaders(HttpHeaders value) Information about the HTTP request headers, as well as peer info and additional properties.mergeRequestTrailers(HttpTrailers value) The HTTP trailers for the request path.mergeResponseBody(HttpBody value) A chunk of the HTTP response body.mergeResponseHeaders(HttpHeaders value) Information about the HTTP response headers, as well as peer info and additional properties.The HTTP trailers for the response path.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllAttributes(Map<String, com.google.protobuf.Struct> values) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.putAttributes(String key, com.google.protobuf.Struct value) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.com.google.protobuf.Struct.BuilderThe values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.removeAttributes(String key) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.setMetadataContext(Metadata value) Dynamic metadata associated with the request.setMetadataContext(Metadata.Builder builderForValue) Dynamic metadata associated with the request.setObservabilityMode(boolean value) Specify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to falseSpecify the filter protocol configurations to be sent to the server.setProtocolConfig(ProtocolConfiguration.Builder builderForValue) Specify the filter protocol configurations to be sent to the server.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestBody(HttpBody value) A chunk of the HTTP request body.setRequestBody(HttpBody.Builder builderForValue) A chunk of the HTTP request body.setRequestHeaders(HttpHeaders value) Information about the HTTP request headers, as well as peer info and additional properties.setRequestHeaders(HttpHeaders.Builder builderForValue) Information about the HTTP request headers, as well as peer info and additional properties.setRequestTrailers(HttpTrailers value) The HTTP trailers for the request path.setRequestTrailers(HttpTrailers.Builder builderForValue) The HTTP trailers for the request path.setResponseBody(HttpBody value) A chunk of the HTTP response body.setResponseBody(HttpBody.Builder builderForValue) A chunk of the HTTP response body.setResponseHeaders(HttpHeaders value) Information about the HTTP response headers, as well as peer info and additional properties.setResponseHeaders(HttpHeaders.Builder builderForValue) Information about the HTTP response headers, as well as peer info and additional properties.setResponseTrailers(HttpTrailers value) The HTTP trailers for the response path.setResponseTrailers(HttpTrailers.Builder builderForValue) The HTTP trailers for the response path.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.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<ProcessingRequest.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<ProcessingRequest.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<ProcessingRequest.Builder>
-
setField
public ProcessingRequest.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<ProcessingRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
setRepeatedField
public ProcessingRequest.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<ProcessingRequest.Builder>
-
addRepeatedField
public ProcessingRequest.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<ProcessingRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
mergeFrom
public ProcessingRequest.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<ProcessingRequest.Builder>- Throws:
IOException
-
getRequestCase
- Specified by:
getRequestCasein interfaceProcessingRequestOrBuilder
-
clearRequest
-
hasRequestHeaders
public boolean hasRequestHeaders()Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;- Specified by:
hasRequestHeadersin interfaceProcessingRequestOrBuilder- Returns:
- Whether the requestHeaders field is set.
-
getRequestHeaders
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;- Specified by:
getRequestHeadersin interfaceProcessingRequestOrBuilder- Returns:
- The requestHeaders.
-
setRequestHeaders
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; -
setRequestHeaders
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; -
mergeRequestHeaders
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; -
clearRequestHeaders
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; -
getRequestHeadersBuilder
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2; -
getRequestHeadersOrBuilder
Information about the HTTP request headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders request_headers = 2;- Specified by:
getRequestHeadersOrBuilderin interfaceProcessingRequestOrBuilder
-
hasResponseHeaders
public boolean hasResponseHeaders()Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;- Specified by:
hasResponseHeadersin interfaceProcessingRequestOrBuilder- Returns:
- Whether the responseHeaders field is set.
-
getResponseHeaders
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;- Specified by:
getResponseHeadersin interfaceProcessingRequestOrBuilder- Returns:
- The responseHeaders.
-
setResponseHeaders
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; -
setResponseHeaders
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; -
mergeResponseHeaders
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; -
clearResponseHeaders
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; -
getResponseHeadersBuilder
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3; -
getResponseHeadersOrBuilder
Information about the HTTP response headers, as well as peer info and additional properties. Unless ``observability_mode`` is ``true``, the server must send back a HeaderResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpHeaders response_headers = 3;- Specified by:
getResponseHeadersOrBuilderin interfaceProcessingRequestOrBuilder
-
hasRequestBody
public boolean hasRequestBody()A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;- Specified by:
hasRequestBodyin interfaceProcessingRequestOrBuilder- Returns:
- Whether the requestBody field is set.
-
getRequestBody
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;- Specified by:
getRequestBodyin interfaceProcessingRequestOrBuilder- Returns:
- The requestBody.
-
setRequestBody
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4; -
setRequestBody
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4; -
mergeRequestBody
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4; -
clearRequestBody
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4; -
getRequestBodyBuilder
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4; -
getRequestBodyOrBuilder
A chunk of the HTTP request body. Unless ``observability_mode`` is true, the server must send back a BodyResponse message, an ImmediateResponse message, or close the stream.
.envoy.service.ext_proc.v3.HttpBody request_body = 4;- Specified by:
getRequestBodyOrBuilderin interfaceProcessingRequestOrBuilder
-
hasResponseBody
public boolean hasResponseBody()A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;- Specified by:
hasResponseBodyin interfaceProcessingRequestOrBuilder- Returns:
- Whether the responseBody field is set.
-
getResponseBody
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;- Specified by:
getResponseBodyin interfaceProcessingRequestOrBuilder- Returns:
- The responseBody.
-
setResponseBody
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5; -
setResponseBody
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5; -
mergeResponseBody
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5; -
clearResponseBody
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5; -
getResponseBodyBuilder
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5; -
getResponseBodyOrBuilder
A chunk of the HTTP response body. Unless ``observability_mode`` is ``true``, the server must send back a BodyResponse message or close the stream.
.envoy.service.ext_proc.v3.HttpBody response_body = 5;- Specified by:
getResponseBodyOrBuilderin interfaceProcessingRequestOrBuilder
-
hasRequestTrailers
public boolean hasRequestTrailers()The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;- Specified by:
hasRequestTrailersin interfaceProcessingRequestOrBuilder- Returns:
- Whether the requestTrailers field is set.
-
getRequestTrailers
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;- Specified by:
getRequestTrailersin interfaceProcessingRequestOrBuilder- Returns:
- The requestTrailers.
-
setRequestTrailers
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; -
setRequestTrailers
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; -
mergeRequestTrailers
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; -
clearRequestTrailers
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; -
getRequestTrailersBuilder
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6; -
getRequestTrailersOrBuilder
The HTTP trailers for the request path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original downstream request has trailers.
.envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;- Specified by:
getRequestTrailersOrBuilderin interfaceProcessingRequestOrBuilder
-
hasResponseTrailers
public boolean hasResponseTrailers()The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;- Specified by:
hasResponseTrailersin interfaceProcessingRequestOrBuilder- Returns:
- Whether the responseTrailers field is set.
-
getResponseTrailers
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;- Specified by:
getResponseTrailersin interfaceProcessingRequestOrBuilder- Returns:
- The responseTrailers.
-
setResponseTrailers
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; -
setResponseTrailers
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; -
mergeResponseTrailers
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; -
clearResponseTrailers
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; -
getResponseTrailersBuilder
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7; -
getResponseTrailersOrBuilder
The HTTP trailers for the response path. Unless ``observability_mode`` is ``true``, the server must send back a TrailerResponse message or close the stream. This message is only sent if the trailers processing mode is set to ``SEND`` and the original upstream response has trailers.
.envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;- Specified by:
getResponseTrailersOrBuilderin interfaceProcessingRequestOrBuilder
-
hasMetadataContext
public boolean hasMetadataContext()Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8;- Specified by:
hasMetadataContextin interfaceProcessingRequestOrBuilder- Returns:
- Whether the metadataContext field is set.
-
getMetadataContext
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8;- Specified by:
getMetadataContextin interfaceProcessingRequestOrBuilder- Returns:
- The metadataContext.
-
setMetadataContext
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8; -
setMetadataContext
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8; -
mergeMetadataContext
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8; -
clearMetadataContext
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8; -
getMetadataContextBuilder
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8; -
getMetadataContextOrBuilder
Dynamic metadata associated with the request.
.envoy.config.core.v3.Metadata metadata_context = 8;- Specified by:
getMetadataContextOrBuilderin interfaceProcessingRequestOrBuilder
-
getAttributesCount
public int getAttributesCount()Description copied from interface:ProcessingRequestOrBuilderThe values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9;- Specified by:
getAttributesCountin interfaceProcessingRequestOrBuilder
-
containsAttributes
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9;- Specified by:
containsAttributesin interfaceProcessingRequestOrBuilder
-
getAttributes
Deprecated.UsegetAttributesMap()instead.- Specified by:
getAttributesin interfaceProcessingRequestOrBuilder
-
getAttributesMap
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9;- Specified by:
getAttributesMapin interfaceProcessingRequestOrBuilder
-
getAttributesOrDefault
public com.google.protobuf.Struct getAttributesOrDefault(String key, com.google.protobuf.Struct defaultValue) The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9;- Specified by:
getAttributesOrDefaultin interfaceProcessingRequestOrBuilder
-
getAttributesOrThrow
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9;- Specified by:
getAttributesOrThrowin interfaceProcessingRequestOrBuilder
-
clearAttributes
-
removeAttributes
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9; -
getMutableAttributes
Deprecated.Use alternate mutation accessors instead. -
putAttributes
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9; -
putAllAttributes
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9; -
putAttributesBuilderIfAbsent
The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration. Each entry in the list is populated from the standard :ref:`attributes <arch_overview_attributes>` supported in the data plane.
map<string, .google.protobuf.Struct> attributes = 9; -
getObservabilityMode
public boolean getObservabilityMode()Specify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to false. * A value of ``false`` indicates that the server must respond to this message by either sending back a matching ProcessingResponse message, or by closing the stream. * A value of ``true`` indicates that the server should not respond to this message, as any responses will be ignored. However, it may still close the stream to indicate that no more messages are needed.
bool observability_mode = 10;- Specified by:
getObservabilityModein interfaceProcessingRequestOrBuilder- Returns:
- The observabilityMode.
-
setObservabilityMode
Specify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to false. * A value of ``false`` indicates that the server must respond to this message by either sending back a matching ProcessingResponse message, or by closing the stream. * A value of ``true`` indicates that the server should not respond to this message, as any responses will be ignored. However, it may still close the stream to indicate that no more messages are needed.
bool observability_mode = 10;- Parameters:
value- The observabilityMode to set.- Returns:
- This builder for chaining.
-
clearObservabilityMode
Specify whether the filter that sent this request is running in :ref:`observability_mode <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.observability_mode>` and defaults to false. * A value of ``false`` indicates that the server must respond to this message by either sending back a matching ProcessingResponse message, or by closing the stream. * A value of ``true`` indicates that the server should not respond to this message, as any responses will be ignored. However, it may still close the stream to indicate that no more messages are needed.
bool observability_mode = 10;- Returns:
- This builder for chaining.
-
hasProtocolConfig
public boolean hasProtocolConfig()Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11;- Specified by:
hasProtocolConfigin interfaceProcessingRequestOrBuilder- Returns:
- Whether the protocolConfig field is set.
-
getProtocolConfig
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11;- Specified by:
getProtocolConfigin interfaceProcessingRequestOrBuilder- Returns:
- The protocolConfig.
-
setProtocolConfig
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11; -
setProtocolConfig
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11; -
mergeProtocolConfig
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11; -
clearProtocolConfig
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11; -
getProtocolConfigBuilder
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11; -
getProtocolConfigOrBuilder
Specify the filter protocol configurations to be sent to the server. ``protocol_config`` is only encoded in the first ``ProcessingRequest`` message from the client to the server.
.envoy.service.ext_proc.v3.ProtocolConfiguration protocol_config = 11;- Specified by:
getProtocolConfigOrBuilderin interfaceProcessingRequestOrBuilder
-
setUnknownFields
public final ProcessingRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
mergeUnknownFields
public final ProcessingRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-