All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.service.ext_proc.v3.CommonResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/service/ext_proc/v3/external_processor.proto

package io.envoyproxy.envoy.service.ext_proc.v3;

public interface CommonResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:envoy.service.ext_proc.v3.CommonResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * If set, provide additional direction on how the Envoy proxy should
   * handle the rest of the HTTP filter chain.
   * 
* * .envoy.service.ext_proc.v3.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... } * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
   * If set, provide additional direction on how the Envoy proxy should
   * handle the rest of the HTTP filter chain.
   * 
* * .envoy.service.ext_proc.v3.CommonResponse.ResponseStatus status = 1 [(.validate.rules) = { ... } * @return The status. */ io.envoyproxy.envoy.service.ext_proc.v3.CommonResponse.ResponseStatus getStatus(); /** *
   * Instructions on how to manipulate the headers. When responding to an
   * HttpBody request, header mutations will only take effect if
   * the current processing mode for the body is BUFFERED.
   * 
* * .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2; * @return Whether the headerMutation field is set. */ boolean hasHeaderMutation(); /** *
   * Instructions on how to manipulate the headers. When responding to an
   * HttpBody request, header mutations will only take effect if
   * the current processing mode for the body is BUFFERED.
   * 
* * .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2; * @return The headerMutation. */ io.envoyproxy.envoy.service.ext_proc.v3.HeaderMutation getHeaderMutation(); /** *
   * Instructions on how to manipulate the headers. When responding to an
   * HttpBody request, header mutations will only take effect if
   * the current processing mode for the body is BUFFERED.
   * 
* * .envoy.service.ext_proc.v3.HeaderMutation header_mutation = 2; */ io.envoyproxy.envoy.service.ext_proc.v3.HeaderMutationOrBuilder getHeaderMutationOrBuilder(); /** *
   * Replace the body of the last message sent to the remote server on this
   * stream. If responding to an HttpBody request, simply replace or clear
   * the body chunk that was sent with that request. Body mutations may take
   * effect in response either to ``header`` or ``body`` messages. When it is
   * in response to ``header`` messages, it only take effect if the
   * :ref:`status <envoy_v3_api_field_service.ext_proc.v3.CommonResponse.status>`
   * is set to CONTINUE_AND_REPLACE.
   * 
* * .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3; * @return Whether the bodyMutation field is set. */ boolean hasBodyMutation(); /** *
   * Replace the body of the last message sent to the remote server on this
   * stream. If responding to an HttpBody request, simply replace or clear
   * the body chunk that was sent with that request. Body mutations may take
   * effect in response either to ``header`` or ``body`` messages. When it is
   * in response to ``header`` messages, it only take effect if the
   * :ref:`status <envoy_v3_api_field_service.ext_proc.v3.CommonResponse.status>`
   * is set to CONTINUE_AND_REPLACE.
   * 
* * .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3; * @return The bodyMutation. */ io.envoyproxy.envoy.service.ext_proc.v3.BodyMutation getBodyMutation(); /** *
   * Replace the body of the last message sent to the remote server on this
   * stream. If responding to an HttpBody request, simply replace or clear
   * the body chunk that was sent with that request. Body mutations may take
   * effect in response either to ``header`` or ``body`` messages. When it is
   * in response to ``header`` messages, it only take effect if the
   * :ref:`status <envoy_v3_api_field_service.ext_proc.v3.CommonResponse.status>`
   * is set to CONTINUE_AND_REPLACE.
   * 
* * .envoy.service.ext_proc.v3.BodyMutation body_mutation = 3; */ io.envoyproxy.envoy.service.ext_proc.v3.BodyMutationOrBuilder getBodyMutationOrBuilder(); /** *
   * [#not-implemented-hide:]
   * Add new trailers to the message. This may be used when responding to either a
   * HttpHeaders or HttpBody message, but only if this message is returned
   * along with the CONTINUE_AND_REPLACE status.
   * The ``trailers`` encoding is based on the runtime guard
   * envoy_reloadable_features_send_header_raw_value setting.
   * When it is true, the header value is encoded in the
   * :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
   * When it is false, the header value is encoded in the
   * :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
   * 
* * .envoy.config.core.v3.HeaderMap trailers = 4; * @return Whether the trailers field is set. */ boolean hasTrailers(); /** *
   * [#not-implemented-hide:]
   * Add new trailers to the message. This may be used when responding to either a
   * HttpHeaders or HttpBody message, but only if this message is returned
   * along with the CONTINUE_AND_REPLACE status.
   * The ``trailers`` encoding is based on the runtime guard
   * envoy_reloadable_features_send_header_raw_value setting.
   * When it is true, the header value is encoded in the
   * :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
   * When it is false, the header value is encoded in the
   * :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
   * 
* * .envoy.config.core.v3.HeaderMap trailers = 4; * @return The trailers. */ io.envoyproxy.envoy.config.core.v3.HeaderMap getTrailers(); /** *
   * [#not-implemented-hide:]
   * Add new trailers to the message. This may be used when responding to either a
   * HttpHeaders or HttpBody message, but only if this message is returned
   * along with the CONTINUE_AND_REPLACE status.
   * The ``trailers`` encoding is based on the runtime guard
   * envoy_reloadable_features_send_header_raw_value setting.
   * When it is true, the header value is encoded in the
   * :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
   * When it is false, the header value is encoded in the
   * :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
   * 
* * .envoy.config.core.v3.HeaderMap trailers = 4; */ io.envoyproxy.envoy.config.core.v3.HeaderMapOrBuilder getTrailersOrBuilder(); /** *
   * Clear the route cache for the current client request. This is necessary
   * if the remote server modified headers that are used to calculate the route.
   * This field is ignored in the response direction.
   * 
* * bool clear_route_cache = 5; * @return The clearRouteCache. */ boolean getClearRouteCache(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy