// 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();
/**
*
* .. note::
* Upstream HTTP filters are currently in alpha.
* Optional HTTP filters for the upstream HTTP filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream HTTP filters, please be aware that local errors sent by
* upstream HTTP filters will not trigger retries, and local errors sent by
* upstream HTTP 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();
/**
*
* .. note::
* Upstream HTTP filters are currently in alpha.
* Optional HTTP filters for the upstream HTTP filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream HTTP filters, please be aware that local errors sent by
* upstream HTTP filters will not trigger retries, and local errors sent by
* upstream HTTP 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);
/**
*
* .. note::
* Upstream HTTP filters are currently in alpha.
* Optional HTTP filters for the upstream HTTP filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream HTTP filters, please be aware that local errors sent by
* upstream HTTP filters will not trigger retries, and local errors sent by
* upstream HTTP 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();
/**
*
* .. note::
* Upstream HTTP filters are currently in alpha.
* Optional HTTP filters for the upstream HTTP filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream HTTP filters, please be aware that local errors sent by
* upstream HTTP filters will not trigger retries, and local errors sent by
* upstream HTTP 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();
/**
*
* .. note::
* Upstream HTTP filters are currently in alpha.
* Optional HTTP filters for the upstream HTTP filter chain.
* These filters will be applied for all HTTP streams which flow through this
* cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests.
* If using upstream HTTP filters, please be aware that local errors sent by
* upstream HTTP filters will not trigger retries, and local errors sent by
* upstream HTTP 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);
/**
*
* Configuration options for Unified Header Validation (UHV).
* UHV is an extensible mechanism for checking validity of HTTP responses.
* [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.]
* Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``.
* [#not-implemented-hide:]
* [#extension-category: envoy.http.header_validators]
*
*
* .envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;
* @return Whether the headerValidationConfig field is set.
*/
boolean hasHeaderValidationConfig();
/**
*
* Configuration options for Unified Header Validation (UHV).
* UHV is an extensible mechanism for checking validity of HTTP responses.
* [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.]
* Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``.
* [#not-implemented-hide:]
* [#extension-category: envoy.http.header_validators]
*
*
* .envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;
* @return The headerValidationConfig.
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getHeaderValidationConfig();
/**
*
* Configuration options for Unified Header Validation (UHV).
* UHV is an extensible mechanism for checking validity of HTTP responses.
* [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.]
* Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``.
* [#not-implemented-hide:]
* [#extension-category: envoy.http.header_validators]
*
*
* .envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;
*/
io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getHeaderValidationConfigOrBuilder();
public io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UpstreamProtocolOptionsCase getUpstreamProtocolOptionsCase();
}