io.envoyproxy.envoy.api.v2.RouteConfigurationOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/api/v2/rds.proto
package io.envoyproxy.envoy.api.v2;
public interface RouteConfigurationOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.api.v2.RouteConfiguration)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the route configuration. For example, it might match
* :ref:`route_config_name
* <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
* :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* The name of the route configuration. For example, it might match
* :ref:`route_config_name
* <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
* :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* An array of virtual hosts that make up the route table.
*
*
* repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2 [(.gogoproto.nullable) = false];
*/
java.util.List
getVirtualHostsList();
/**
*
* An array of virtual hosts that make up the route table.
*
*
* repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2 [(.gogoproto.nullable) = false];
*/
io.envoyproxy.envoy.api.v2.route.VirtualHost getVirtualHosts(int index);
/**
*
* An array of virtual hosts that make up the route table.
*
*
* repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2 [(.gogoproto.nullable) = false];
*/
int getVirtualHostsCount();
/**
*
* An array of virtual hosts that make up the route table.
*
*
* repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2 [(.gogoproto.nullable) = false];
*/
java.util.List extends io.envoyproxy.envoy.api.v2.route.VirtualHostOrBuilder>
getVirtualHostsOrBuilderList();
/**
*
* An array of virtual hosts that make up the route table.
*
*
* repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2 [(.gogoproto.nullable) = false];
*/
io.envoyproxy.envoy.api.v2.route.VirtualHostOrBuilder getVirtualHostsOrBuilder(
int index);
/**
*
* Optionally specifies a list of HTTP headers that the connection manager
* will consider to be internal only. If they are found on external requests they will be cleaned
* prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
* information.
*
*
* repeated string internal_only_headers = 3;
*/
java.util.List
getInternalOnlyHeadersList();
/**
*
* Optionally specifies a list of HTTP headers that the connection manager
* will consider to be internal only. If they are found on external requests they will be cleaned
* prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
* information.
*
*
* repeated string internal_only_headers = 3;
*/
int getInternalOnlyHeadersCount();
/**
*
* Optionally specifies a list of HTTP headers that the connection manager
* will consider to be internal only. If they are found on external requests they will be cleaned
* prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
* information.
*
*
* repeated string internal_only_headers = 3;
*/
java.lang.String getInternalOnlyHeaders(int index);
/**
*
* Optionally specifies a list of HTTP headers that the connection manager
* will consider to be internal only. If they are found on external requests they will be cleaned
* prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
* information.
*
*
* repeated string internal_only_headers = 3;
*/
com.google.protobuf.ByteString
getInternalOnlyHeadersBytes(int index);
/**
*
* Specifies a list of HTTP headers that should be added to each response that
* the connection manager encodes. Headers specified at this level are applied
* after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
*/
java.util.List
getResponseHeadersToAddList();
/**
*
* Specifies a list of HTTP headers that should be added to each response that
* the connection manager encodes. Headers specified at this level are applied
* after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOption getResponseHeadersToAdd(int index);
/**
*
* Specifies a list of HTTP headers that should be added to each response that
* the connection manager encodes. Headers specified at this level are applied
* after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
*/
int getResponseHeadersToAddCount();
/**
*
* Specifies a list of HTTP headers that should be added to each response that
* the connection manager encodes. Headers specified at this level are applied
* after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.api.v2.core.HeaderValueOptionOrBuilder>
getResponseHeadersToAddOrBuilderList();
/**
*
* Specifies a list of HTTP headers that should be added to each response that
* the connection manager encodes. Headers specified at this level are applied
* after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(
int index);
/**
*
* Specifies a list of HTTP headers that should be removed from each response
* that the connection manager encodes.
*
*
* repeated string response_headers_to_remove = 5;
*/
java.util.List
getResponseHeadersToRemoveList();
/**
*
* Specifies a list of HTTP headers that should be removed from each response
* that the connection manager encodes.
*
*
* repeated string response_headers_to_remove = 5;
*/
int getResponseHeadersToRemoveCount();
/**
*
* Specifies a list of HTTP headers that should be removed from each response
* that the connection manager encodes.
*
*
* repeated string response_headers_to_remove = 5;
*/
java.lang.String getResponseHeadersToRemove(int index);
/**
*
* Specifies a list of HTTP headers that should be removed from each response
* that the connection manager encodes.
*
*
* repeated string response_headers_to_remove = 5;
*/
com.google.protobuf.ByteString
getResponseHeadersToRemoveBytes(int index);
/**
*
* Specifies a list of HTTP headers that should be added to each request
* routed by the HTTP connection manager. Headers specified at this level are
* applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
*/
java.util.List
getRequestHeadersToAddList();
/**
*
* Specifies a list of HTTP headers that should be added to each request
* routed by the HTTP connection manager. Headers specified at this level are
* applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOption getRequestHeadersToAdd(int index);
/**
*
* Specifies a list of HTTP headers that should be added to each request
* routed by the HTTP connection manager. Headers specified at this level are
* applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
*/
int getRequestHeadersToAddCount();
/**
*
* Specifies a list of HTTP headers that should be added to each request
* routed by the HTTP connection manager. Headers specified at this level are
* applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
*/
java.util.List extends io.envoyproxy.envoy.api.v2.core.HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList();
/**
*
* Specifies a list of HTTP headers that should be added to each request
* routed by the HTTP connection manager. Headers specified at this level are
* applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
* :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
* header value syntax, see the documentation on :ref:`custom request headers
* <config_http_conn_man_headers_custom_request_headers>`.
*
*
* repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
*/
io.envoyproxy.envoy.api.v2.core.HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(
int index);
/**
*
* Specifies a list of HTTP headers that should be removed from each request
* routed by the HTTP connection manager.
*
*
* repeated string request_headers_to_remove = 8;
*/
java.util.List
getRequestHeadersToRemoveList();
/**
*
* Specifies a list of HTTP headers that should be removed from each request
* routed by the HTTP connection manager.
*
*
* repeated string request_headers_to_remove = 8;
*/
int getRequestHeadersToRemoveCount();
/**
*
* Specifies a list of HTTP headers that should be removed from each request
* routed by the HTTP connection manager.
*
*
* repeated string request_headers_to_remove = 8;
*/
java.lang.String getRequestHeadersToRemove(int index);
/**
*
* Specifies a list of HTTP headers that should be removed from each request
* routed by the HTTP connection manager.
*
*
* repeated string request_headers_to_remove = 8;
*/
com.google.protobuf.ByteString
getRequestHeadersToRemoveBytes(int index);
/**
*
* An optional boolean that specifies whether the clusters that the route
* table refers to will be validated by the cluster manager. If set to true
* and a route refers to a non-existent cluster, the route table will not
* load. If set to false and a route refers to a non-existent cluster, the
* route table will load and the router filter will return a 404 if the route
* is selected at runtime. This setting defaults to true if the route table
* is statically defined via the :ref:`route_config
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
* option. This setting default to false if the route table is loaded dynamically via the
* :ref:`rds
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
* option. Users may which to override the default behavior in certain cases (for example when
* using CDS with a static route table).
*
*
* .google.protobuf.BoolValue validate_clusters = 7;
*/
boolean hasValidateClusters();
/**
*
* An optional boolean that specifies whether the clusters that the route
* table refers to will be validated by the cluster manager. If set to true
* and a route refers to a non-existent cluster, the route table will not
* load. If set to false and a route refers to a non-existent cluster, the
* route table will load and the router filter will return a 404 if the route
* is selected at runtime. This setting defaults to true if the route table
* is statically defined via the :ref:`route_config
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
* option. This setting default to false if the route table is loaded dynamically via the
* :ref:`rds
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
* option. Users may which to override the default behavior in certain cases (for example when
* using CDS with a static route table).
*
*
* .google.protobuf.BoolValue validate_clusters = 7;
*/
com.google.protobuf.BoolValue getValidateClusters();
/**
*
* An optional boolean that specifies whether the clusters that the route
* table refers to will be validated by the cluster manager. If set to true
* and a route refers to a non-existent cluster, the route table will not
* load. If set to false and a route refers to a non-existent cluster, the
* route table will load and the router filter will return a 404 if the route
* is selected at runtime. This setting defaults to true if the route table
* is statically defined via the :ref:`route_config
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
* option. This setting default to false if the route table is loaded dynamically via the
* :ref:`rds
* <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
* option. Users may which to override the default behavior in certain cases (for example when
* using CDS with a static route table).
*
*
* .google.protobuf.BoolValue validate_clusters = 7;
*/
com.google.protobuf.BoolValueOrBuilder getValidateClustersOrBuilder();
}