// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/extensions/upstreams/http/v3/http_protocol_options.proto
package io.envoyproxy.envoy.extensions.upstreams.http.v3;
public interface HttpProtocolOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.extensions.upstreams.http.v3.HttpProtocolOptions)
com.google.protobuf.MessageOrBuilder {
/**
*
* This contains options common across HTTP/1 and HTTP/2
*
*
* .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
* @return Whether the commonHttpProtocolOptions field is set.
*/
boolean hasCommonHttpProtocolOptions();
/**
*
* This contains options common across HTTP/1 and HTTP/2
*
*
* .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
* @return The commonHttpProtocolOptions.
*/
io.envoyproxy.envoy.config.core.v3.HttpProtocolOptions getCommonHttpProtocolOptions();
/**
*
* This contains options common across HTTP/1 and HTTP/2
*
*
* .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
*/
io.envoyproxy.envoy.config.core.v3.HttpProtocolOptionsOrBuilder getCommonHttpProtocolOptionsOrBuilder();
/**
*
* This contains common protocol options which are only applied upstream.
*
*
* .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
* @return Whether the upstreamHttpProtocolOptions field is set.
*/
boolean hasUpstreamHttpProtocolOptions();
/**
*
* This contains common protocol options which are only applied upstream.
*
*
* .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
* @return The upstreamHttpProtocolOptions.
*/
io.envoyproxy.envoy.config.core.v3.UpstreamHttpProtocolOptions getUpstreamHttpProtocolOptions();
/**
*
* This contains common protocol options which are only applied upstream.
*
*
* .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
*/
io.envoyproxy.envoy.config.core.v3.UpstreamHttpProtocolOptionsOrBuilder getUpstreamHttpProtocolOptionsOrBuilder();
/**
*
* To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
* If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
* @return Whether the explicitHttpConfig field is set.
*/
boolean hasExplicitHttpConfig();
/**
*
* To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
* If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
* @return The explicitHttpConfig.
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig getExplicitHttpConfig();
/**
*
* To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
* If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfigOrBuilder getExplicitHttpConfigOrBuilder();
/**
*
* This allows switching on protocol based on what protocol the downstream
* connection used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
* @return Whether the useDownstreamProtocolConfig field is set.
*/
boolean hasUseDownstreamProtocolConfig();
/**
*
* This allows switching on protocol based on what protocol the downstream
* connection used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
* @return The useDownstreamProtocolConfig.
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig getUseDownstreamProtocolConfig();
/**
*
* This allows switching on protocol based on what protocol the downstream
* connection used.
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfigOrBuilder getUseDownstreamProtocolConfigOrBuilder();
/**
*
* This allows switching on protocol based on ALPN
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
* @return Whether the autoConfig field is set.
*/
boolean hasAutoConfig();
/**
*
* This allows switching on protocol based on ALPN
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
* @return The autoConfig.
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig getAutoConfig();
/**
*
* This allows switching on protocol based on ALPN
*
*
* .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
*/
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfigOrBuilder getAutoConfigOrBuilder();
/**
*
* .. warning::
* Upstream HTTP filters are not supported by default.
* This warning will be removed as support moves beyond alpha.
* Optional HTTP filters for the upstream filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream filters, please be aware that local errors sent by
* upstream filters will not trigger retries, and local errors sent by
* upstream filters will count as a final response if hedging is configured.
* [#extension-category: envoy.filters.http.upstream]
*
*
* repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
*/
java.util.List
getHttpFiltersList();
/**
*
* .. warning::
* Upstream HTTP filters are not supported by default.
* This warning will be removed as support moves beyond alpha.
* Optional HTTP filters for the upstream filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream filters, please be aware that local errors sent by
* upstream filters will not trigger retries, and local errors sent by
* upstream filters will count as a final response if hedging is configured.
* [#extension-category: envoy.filters.http.upstream]
*
*
* repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
*/
io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter getHttpFilters(int index);
/**
*
* .. warning::
* Upstream HTTP filters are not supported by default.
* This warning will be removed as support moves beyond alpha.
* Optional HTTP filters for the upstream filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream filters, please be aware that local errors sent by
* upstream filters will not trigger retries, and local errors sent by
* upstream filters will count as a final response if hedging is configured.
* [#extension-category: envoy.filters.http.upstream]
*
*
* repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
*/
int getHttpFiltersCount();
/**
*
* .. warning::
* Upstream HTTP filters are not supported by default.
* This warning will be removed as support moves beyond alpha.
* Optional HTTP filters for the upstream filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream filters, please be aware that local errors sent by
* upstream filters will not trigger retries, and local errors sent by
* upstream filters will count as a final response if hedging is configured.
* [#extension-category: envoy.filters.http.upstream]
*
*
* repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
*/
java.util.List extends io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilterOrBuilder>
getHttpFiltersOrBuilderList();
/**
*
* .. warning::
* Upstream HTTP filters are not supported by default.
* This warning will be removed as support moves beyond alpha.
* Optional HTTP filters for the upstream filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream filters, please be aware that local errors sent by
* upstream filters will not trigger retries, and local errors sent by
* upstream filters will count as a final response if hedging is configured.
* [#extension-category: envoy.filters.http.upstream]
*
*
* repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
*/
io.envoyproxy.envoy.extensions.filters.network.http_connection_manager.v3.HttpFilterOrBuilder getHttpFiltersOrBuilder(
int index);
public io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UpstreamProtocolOptionsCase getUpstreamProtocolOptionsCase();
}