Interface HttpProtocolOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpProtocolOptions,HttpProtocolOptions.Builder
public interface HttpProtocolOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpProtocolOptions.AutoHttpConfiggetAutoConfig()This allows switching on protocol based on ALPNHttpProtocolOptions.AutoHttpConfigOrBuildergetAutoConfigOrBuilder()This allows switching on protocol based on ALPNHttpProtocolOptionsgetCommonHttpProtocolOptions()This contains options common across HTTP/1 and HTTP/2HttpProtocolOptionsOrBuildergetCommonHttpProtocolOptionsOrBuilder()This contains options common across HTTP/1 and HTTP/2HttpProtocolOptions.ExplicitHttpConfiggetExplicitHttpConfig()To explicitly configure either HTTP/1 or HTTP/2 (but not both!)HttpProtocolOptions.ExplicitHttpConfigOrBuildergetExplicitHttpConfigOrBuilder()To explicitly configure either HTTP/1 or HTTP/2 (but not both!)UpstreamHttpProtocolOptionsgetUpstreamHttpProtocolOptions()This contains common protocol options which are only applied upstream.UpstreamHttpProtocolOptionsOrBuildergetUpstreamHttpProtocolOptionsOrBuilder()This contains common protocol options which are only applied upstream.HttpProtocolOptions.UpstreamProtocolOptionsCasegetUpstreamProtocolOptionsCase()HttpProtocolOptions.UseDownstreamHttpConfiggetUseDownstreamProtocolConfig()This allows switching on protocol based on what protocol the downstream connection used.HttpProtocolOptions.UseDownstreamHttpConfigOrBuildergetUseDownstreamProtocolConfigOrBuilder()This allows switching on protocol based on what protocol the downstream connection used.booleanhasAutoConfig()This allows switching on protocol based on ALPNbooleanhasCommonHttpProtocolOptions()This contains options common across HTTP/1 and HTTP/2booleanhasExplicitHttpConfig()To explicitly configure either HTTP/1 or HTTP/2 (but not both!)booleanhasUpstreamHttpProtocolOptions()This contains common protocol options which are only applied upstream.booleanhasUseDownstreamProtocolConfig()This allows switching on protocol based on what protocol the downstream connection used.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCommonHttpProtocolOptions
boolean hasCommonHttpProtocolOptions()
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;- Returns:
- Whether the commonHttpProtocolOptions field is set.
-
getCommonHttpProtocolOptions
HttpProtocolOptions getCommonHttpProtocolOptions()
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;- Returns:
- The commonHttpProtocolOptions.
-
getCommonHttpProtocolOptionsOrBuilder
HttpProtocolOptionsOrBuilder getCommonHttpProtocolOptionsOrBuilder()
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
-
hasUpstreamHttpProtocolOptions
boolean hasUpstreamHttpProtocolOptions()
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;- Returns:
- Whether the upstreamHttpProtocolOptions field is set.
-
getUpstreamHttpProtocolOptions
UpstreamHttpProtocolOptions getUpstreamHttpProtocolOptions()
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;- Returns:
- The upstreamHttpProtocolOptions.
-
getUpstreamHttpProtocolOptionsOrBuilder
UpstreamHttpProtocolOptionsOrBuilder getUpstreamHttpProtocolOptionsOrBuilder()
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
-
hasExplicitHttpConfig
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;- Returns:
- Whether the explicitHttpConfig field is set.
-
getExplicitHttpConfig
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;- Returns:
- The explicitHttpConfig.
-
getExplicitHttpConfigOrBuilder
HttpProtocolOptions.ExplicitHttpConfigOrBuilder getExplicitHttpConfigOrBuilder()
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;
-
hasUseDownstreamProtocolConfig
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;- Returns:
- Whether the useDownstreamProtocolConfig field is set.
-
getUseDownstreamProtocolConfig
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;- Returns:
- The useDownstreamProtocolConfig.
-
getUseDownstreamProtocolConfigOrBuilder
HttpProtocolOptions.UseDownstreamHttpConfigOrBuilder getUseDownstreamProtocolConfigOrBuilder()
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;
-
hasAutoConfig
boolean hasAutoConfig()
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;- Returns:
- Whether the autoConfig field is set.
-
getAutoConfig
HttpProtocolOptions.AutoHttpConfig getAutoConfig()
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;- Returns:
- The autoConfig.
-
getAutoConfigOrBuilder
HttpProtocolOptions.AutoHttpConfigOrBuilder getAutoConfigOrBuilder()
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
-
getUpstreamProtocolOptionsCase
HttpProtocolOptions.UpstreamProtocolOptionsCase getUpstreamProtocolOptionsCase()
-
-