Class 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 Envoy can send
     to an external processing server.
     [#next-free-field: 8]
     
    Protobuf type envoy.service.ext_proc.v3.ProcessingRequest
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • clear

        public ProcessingRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • getDefaultInstanceForType

        public ProcessingRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ProcessingRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ProcessingRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ProcessingRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • setField

        public ProcessingRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • clearField

        public ProcessingRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • clearOneof

        public ProcessingRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • setRepeatedField

        public ProcessingRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • addRepeatedField

        public ProcessingRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • mergeFrom

        public ProcessingRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>
        Throws:
        IOException
      • getAsyncMode

        public boolean getAsyncMode()
         Specify whether the filter that sent this request is running in synchronous
         or asynchronous mode. The choice of synchronous or asynchronous mode
         can be set in the filter configuration, 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 must not respond to this
           message, although it may still close the stream to indicate that no more messages
           are needed.
         
        bool async_mode = 1;
        Specified by:
        getAsyncMode in interface ProcessingRequestOrBuilder
        Returns:
        The asyncMode.
      • setAsyncMode

        public ProcessingRequest.Builder setAsyncMode​(boolean value)
         Specify whether the filter that sent this request is running in synchronous
         or asynchronous mode. The choice of synchronous or asynchronous mode
         can be set in the filter configuration, 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 must not respond to this
           message, although it may still close the stream to indicate that no more messages
           are needed.
         
        bool async_mode = 1;
        Parameters:
        value - The asyncMode to set.
        Returns:
        This builder for chaining.
      • clearAsyncMode

        public ProcessingRequest.Builder clearAsyncMode()
         Specify whether the filter that sent this request is running in synchronous
         or asynchronous mode. The choice of synchronous or asynchronous mode
         can be set in the filter configuration, 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 must not respond to this
           message, although it may still close the stream to indicate that no more messages
           are needed.
         
        bool async_mode = 1;
        Returns:
        This builder for chaining.
      • hasRequestHeaders

        public boolean hasRequestHeaders()
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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:
        hasRequestHeaders in interface ProcessingRequestOrBuilder
        Returns:
        Whether the requestHeaders field is set.
      • getRequestHeaders

        public HttpHeaders getRequestHeaders()
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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:
        getRequestHeaders in interface ProcessingRequestOrBuilder
        Returns:
        The requestHeaders.
      • setRequestHeaders

        public ProcessingRequest.Builder setRequestHeaders​(HttpHeaders value)
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder setRequestHeaders​(HttpHeaders.Builder builderForValue)
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder mergeRequestHeaders​(HttpHeaders value)
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder clearRequestHeaders()
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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

        public HttpHeaders.Builder getRequestHeadersBuilder()
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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

        public HttpHeadersOrBuilder getRequestHeadersOrBuilder()
         Information about the HTTP request headers, as well as peer info and additional
         properties. Unless ``async_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:
        getRequestHeadersOrBuilder in interface ProcessingRequestOrBuilder
      • hasResponseHeaders

        public boolean hasResponseHeaders()
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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:
        hasResponseHeaders in interface ProcessingRequestOrBuilder
        Returns:
        Whether the responseHeaders field is set.
      • getResponseHeaders

        public HttpHeaders getResponseHeaders()
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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:
        getResponseHeaders in interface ProcessingRequestOrBuilder
        Returns:
        The responseHeaders.
      • setResponseHeaders

        public ProcessingRequest.Builder setResponseHeaders​(HttpHeaders value)
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder setResponseHeaders​(HttpHeaders.Builder builderForValue)
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder mergeResponseHeaders​(HttpHeaders value)
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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

        public ProcessingRequest.Builder clearResponseHeaders()
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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

        public HttpHeaders.Builder getResponseHeadersBuilder()
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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

        public HttpHeadersOrBuilder getResponseHeadersOrBuilder()
         Information about the HTTP response headers, as well as peer info and additional
         properties. Unless ``async_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:
        getResponseHeadersOrBuilder in interface ProcessingRequestOrBuilder
      • hasRequestBody

        public boolean hasRequestBody()
         A chunk of the HTTP request body. Unless ``async_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:
        hasRequestBody in interface ProcessingRequestOrBuilder
        Returns:
        Whether the requestBody field is set.
      • getRequestBody

        public HttpBody getRequestBody()
         A chunk of the HTTP request body. Unless ``async_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:
        getRequestBody in interface ProcessingRequestOrBuilder
        Returns:
        The requestBody.
      • setRequestBody

        public ProcessingRequest.Builder setRequestBody​(HttpBody value)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder setRequestBody​(HttpBody.Builder builderForValue)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder mergeRequestBody​(HttpBody value)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder clearRequestBody()
         A chunk of the HTTP request body. Unless ``async_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

        public HttpBody.Builder getRequestBodyBuilder()
         A chunk of the HTTP request body. Unless ``async_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

        public HttpBodyOrBuilder getRequestBodyOrBuilder()
         A chunk of the HTTP request body. Unless ``async_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:
        getRequestBodyOrBuilder in interface ProcessingRequestOrBuilder
      • hasResponseBody

        public boolean hasResponseBody()
         A chunk of the HTTP request body. Unless ``async_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:
        hasResponseBody in interface ProcessingRequestOrBuilder
        Returns:
        Whether the responseBody field is set.
      • getResponseBody

        public HttpBody getResponseBody()
         A chunk of the HTTP request body. Unless ``async_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:
        getResponseBody in interface ProcessingRequestOrBuilder
        Returns:
        The responseBody.
      • setResponseBody

        public ProcessingRequest.Builder setResponseBody​(HttpBody value)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder setResponseBody​(HttpBody.Builder builderForValue)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder mergeResponseBody​(HttpBody value)
         A chunk of the HTTP request body. Unless ``async_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

        public ProcessingRequest.Builder clearResponseBody()
         A chunk of the HTTP request body. Unless ``async_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

        public HttpBody.Builder getResponseBodyBuilder()
         A chunk of the HTTP request body. Unless ``async_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

        public HttpBodyOrBuilder getResponseBodyOrBuilder()
         A chunk of the HTTP request body. Unless ``async_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:
        getResponseBodyOrBuilder in interface ProcessingRequestOrBuilder
      • hasRequestTrailers

        public boolean hasRequestTrailers()
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
        Specified by:
        hasRequestTrailers in interface ProcessingRequestOrBuilder
        Returns:
        Whether the requestTrailers field is set.
      • getRequestTrailers

        public HttpTrailers getRequestTrailers()
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
        Specified by:
        getRequestTrailers in interface ProcessingRequestOrBuilder
        Returns:
        The requestTrailers.
      • setRequestTrailers

        public ProcessingRequest.Builder setRequestTrailers​(HttpTrailers value)
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
      • setRequestTrailers

        public ProcessingRequest.Builder setRequestTrailers​(HttpTrailers.Builder builderForValue)
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
      • mergeRequestTrailers

        public ProcessingRequest.Builder mergeRequestTrailers​(HttpTrailers value)
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
      • clearRequestTrailers

        public ProcessingRequest.Builder clearRequestTrailers()
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
      • getRequestTrailersBuilder

        public HttpTrailers.Builder getRequestTrailersBuilder()
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
      • getRequestTrailersOrBuilder

        public HttpTrailersOrBuilder getRequestTrailersOrBuilder()
         The HTTP trailers for the request path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers request_trailers = 6;
        Specified by:
        getRequestTrailersOrBuilder in interface ProcessingRequestOrBuilder
      • hasResponseTrailers

        public boolean hasResponseTrailers()
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
        Specified by:
        hasResponseTrailers in interface ProcessingRequestOrBuilder
        Returns:
        Whether the responseTrailers field is set.
      • getResponseTrailers

        public HttpTrailers getResponseTrailers()
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
        Specified by:
        getResponseTrailers in interface ProcessingRequestOrBuilder
        Returns:
        The responseTrailers.
      • setResponseTrailers

        public ProcessingRequest.Builder setResponseTrailers​(HttpTrailers value)
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
      • setResponseTrailers

        public ProcessingRequest.Builder setResponseTrailers​(HttpTrailers.Builder builderForValue)
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
      • mergeResponseTrailers

        public ProcessingRequest.Builder mergeResponseTrailers​(HttpTrailers value)
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
      • clearResponseTrailers

        public ProcessingRequest.Builder clearResponseTrailers()
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
      • getResponseTrailersBuilder

        public HttpTrailers.Builder getResponseTrailersBuilder()
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
      • getResponseTrailersOrBuilder

        public HttpTrailersOrBuilder getResponseTrailersOrBuilder()
         The HTTP trailers for the response path. Unless ``async_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``.
         If there are no trailers on the original downstream request, then this message
         will only be sent (with empty trailers waiting to be populated) if the
         processing mode is set before the request headers are sent, such as
         in the filter configuration.
         
        .envoy.service.ext_proc.v3.HttpTrailers response_trailers = 7;
        Specified by:
        getResponseTrailersOrBuilder in interface ProcessingRequestOrBuilder
      • setUnknownFields

        public final ProcessingRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
      • mergeUnknownFields

        public final ProcessingRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>