// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/common/mutation_rules/v3/mutation_rules.proto
package io.envoyproxy.envoy.config.common.mutation_rules.v3;
public interface HeaderMutationRulesOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.config.common.mutation_rules.v3.HeaderMutationRules)
com.google.protobuf.MessageOrBuilder {
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
* @return Whether the allowAllRouting field is set.
*/
boolean hasAllowAllRouting();
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
* @return The allowAllRouting.
*/
com.google.protobuf.BoolValue getAllowAllRouting();
/**
*
* By default, certain headers that could affect processing of subsequent
* filters or request routing cannot be modified. These headers are
* ``host``, ``:authority``, ``:scheme``, and ``:method``. Setting this parameter
* to true allows these headers to be modified as well.
*
*
* .google.protobuf.BoolValue allow_all_routing = 1;
*/
com.google.protobuf.BoolValueOrBuilder getAllowAllRoutingOrBuilder();
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
* @return Whether the allowEnvoy field is set.
*/
boolean hasAllowEnvoy();
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
* @return The allowEnvoy.
*/
com.google.protobuf.BoolValue getAllowEnvoy();
/**
*
* If true, allow modification of envoy internal headers. By default, these
* start with ``x-envoy`` but this may be overridden in the ``Bootstrap``
* configuration using the
* :ref:`header_prefix <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.header_prefix>`
* field. Default is false.
*
*
* .google.protobuf.BoolValue allow_envoy = 2;
*/
com.google.protobuf.BoolValueOrBuilder getAllowEnvoyOrBuilder();
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
* @return Whether the disallowSystem field is set.
*/
boolean hasDisallowSystem();
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
* @return The disallowSystem.
*/
com.google.protobuf.BoolValue getDisallowSystem();
/**
*
* If true, prevent modification of any system header, defined as a header
* that starts with a ``:`` character, regardless of any other settings.
* A processing server may still override the ``:status`` of an HTTP response
* using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_system = 3;
*/
com.google.protobuf.BoolValueOrBuilder getDisallowSystemOrBuilder();
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
* @return Whether the disallowAll field is set.
*/
boolean hasDisallowAll();
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
* @return The disallowAll.
*/
com.google.protobuf.BoolValue getDisallowAll();
/**
*
* If true, prevent modifications of all header values, regardless of any
* other settings. A processing server may still override the ``:status``
* of an HTTP response using an ``ImmediateResponse`` message. Default is false.
*
*
* .google.protobuf.BoolValue disallow_all = 4;
*/
com.google.protobuf.BoolValueOrBuilder getDisallowAllOrBuilder();
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
* @return Whether the allowExpression field is set.
*/
boolean hasAllowExpression();
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
* @return The allowExpression.
*/
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher getAllowExpression();
/**
*
* If set, specifically allow any header that matches this regular
* expression. This overrides all other settings except for
* ``disallow_expression``.
*
*
* .envoy.type.matcher.v3.RegexMatcher allow_expression = 5;
*/
io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder getAllowExpressionOrBuilder();
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
* @return Whether the disallowExpression field is set.
*/
boolean hasDisallowExpression();
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
* @return The disallowExpression.
*/
io.envoyproxy.envoy.type.matcher.v3.RegexMatcher getDisallowExpression();
/**
*
* If set, specifically disallow any header that matches this regular
* expression regardless of any other settings.
*
*
* .envoy.type.matcher.v3.RegexMatcher disallow_expression = 6;
*/
io.envoyproxy.envoy.type.matcher.v3.RegexMatcherOrBuilder getDisallowExpressionOrBuilder();
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
* @return Whether the disallowIsError field is set.
*/
boolean hasDisallowIsError();
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
* @return The disallowIsError.
*/
com.google.protobuf.BoolValue getDisallowIsError();
/**
*
* If true, and if the rules in this list cause a header mutation to be
* disallowed, then the filter using this configuration will terminate the
* request with a 500 error. In addition, regardless of the setting of this
* parameter, any attempt to set, add, or modify a disallowed header will
* cause the ``rejected_header_mutations`` counter to be incremented.
* Default is false.
*
*
* .google.protobuf.BoolValue disallow_is_error = 7;
*/
com.google.protobuf.BoolValueOrBuilder getDisallowIsErrorOrBuilder();
}