Class HttpProtocolOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, HttpProtocolOptionsOrBuilder, Cloneable
Enclosing class:
HttpProtocolOptions

public static final class HttpProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder> implements HttpProtocolOptionsOrBuilder
 HttpProtocolOptions specifies Http upstream protocol options. This object
 is used in
 :ref:`typed_extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`,
 keyed by the name ``envoy.extensions.upstreams.http.v3.HttpProtocolOptions``.

 This controls what protocol(s) should be used for upstream and how said protocol(s) are configured.

 This replaces the prior pattern of explicit protocol configuration directly
 in the cluster. So a configuration like this, explicitly configuring the use of HTTP/2 upstream:

 .. code::

   clusters:
     - name: some_service
       connect_timeout: 5s
       upstream_http_protocol_options:
         auto_sni: true
       common_http_protocol_options:
         idle_timeout: 1s
       http2_protocol_options:
         max_concurrent_streams: 100
        .... [further cluster config]

 Would now look like this:

 .. code::

   clusters:
     - name: some_service
       connect_timeout: 5s
       typed_extension_protocol_options:
         envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
           "@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
           upstream_http_protocol_options:
             auto_sni: true
           common_http_protocol_options:
             idle_timeout: 1s
           explicit_http_config:
             http2_protocol_options:
               max_concurrent_streams: 100
        .... [further cluster config]
 [#next-free-field: 12]
 
Protobuf type envoy.extensions.upstreams.http.v3.HttpProtocolOptions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • getDefaultInstanceForType

      public HttpProtocolOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public HttpProtocolOptions build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HttpProtocolOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • setField

      public HttpProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • clearField

      public HttpProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • clearOneof

      public HttpProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • setRepeatedField

      public HttpProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • addRepeatedField

      public HttpProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • mergeFrom

      public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • mergeFrom

      public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
      Throws:
      IOException
    • getUpstreamProtocolOptionsCase

      public HttpProtocolOptions.UpstreamProtocolOptionsCase getUpstreamProtocolOptionsCase()
      Specified by:
      getUpstreamProtocolOptionsCase in interface HttpProtocolOptionsOrBuilder
    • clearUpstreamProtocolOptions

      public HttpProtocolOptions.Builder clearUpstreamProtocolOptions()
    • hasCommonHttpProtocolOptions

      public boolean hasCommonHttpProtocolOptions()
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
      Specified by:
      hasCommonHttpProtocolOptions in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the commonHttpProtocolOptions field is set.
    • getCommonHttpProtocolOptions

      public HttpProtocolOptions getCommonHttpProtocolOptions()
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
      Specified by:
      getCommonHttpProtocolOptions in interface HttpProtocolOptionsOrBuilder
      Returns:
      The commonHttpProtocolOptions.
    • setCommonHttpProtocolOptions

      public HttpProtocolOptions.Builder setCommonHttpProtocolOptions(HttpProtocolOptions value)
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
    • setCommonHttpProtocolOptions

      public HttpProtocolOptions.Builder setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue)
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
    • mergeCommonHttpProtocolOptions

      public HttpProtocolOptions.Builder mergeCommonHttpProtocolOptions(HttpProtocolOptions value)
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
    • clearCommonHttpProtocolOptions

      public HttpProtocolOptions.Builder clearCommonHttpProtocolOptions()
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
    • getCommonHttpProtocolOptionsBuilder

      public HttpProtocolOptions.Builder getCommonHttpProtocolOptionsBuilder()
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
    • getCommonHttpProtocolOptionsOrBuilder

      public HttpProtocolOptionsOrBuilder getCommonHttpProtocolOptionsOrBuilder()
       This contains options common across HTTP/1 and HTTP/2
       
      .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
      Specified by:
      getCommonHttpProtocolOptionsOrBuilder in interface HttpProtocolOptionsOrBuilder
    • hasUpstreamHttpProtocolOptions

      public boolean hasUpstreamHttpProtocolOptions()
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
      Specified by:
      hasUpstreamHttpProtocolOptions in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the upstreamHttpProtocolOptions field is set.
    • getUpstreamHttpProtocolOptions

      public UpstreamHttpProtocolOptions getUpstreamHttpProtocolOptions()
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
      Specified by:
      getUpstreamHttpProtocolOptions in interface HttpProtocolOptionsOrBuilder
      Returns:
      The upstreamHttpProtocolOptions.
    • setUpstreamHttpProtocolOptions

      public HttpProtocolOptions.Builder setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value)
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
    • setUpstreamHttpProtocolOptions

      public HttpProtocolOptions.Builder setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue)
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
    • mergeUpstreamHttpProtocolOptions

      public HttpProtocolOptions.Builder mergeUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value)
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
    • clearUpstreamHttpProtocolOptions

      public HttpProtocolOptions.Builder clearUpstreamHttpProtocolOptions()
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
    • getUpstreamHttpProtocolOptionsBuilder

      public UpstreamHttpProtocolOptions.Builder getUpstreamHttpProtocolOptionsBuilder()
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
    • getUpstreamHttpProtocolOptionsOrBuilder

      public UpstreamHttpProtocolOptionsOrBuilder getUpstreamHttpProtocolOptionsOrBuilder()
       This contains common protocol options which are only applied upstream.
       
      .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
      Specified by:
      getUpstreamHttpProtocolOptionsOrBuilder in interface HttpProtocolOptionsOrBuilder
    • hasExplicitHttpConfig

      public boolean hasExplicitHttpConfig()
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
      Specified by:
      hasExplicitHttpConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the explicitHttpConfig field is set.
    • getExplicitHttpConfig

      public HttpProtocolOptions.ExplicitHttpConfig getExplicitHttpConfig()
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
      Specified by:
      getExplicitHttpConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      The explicitHttpConfig.
    • setExplicitHttpConfig

       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
    • setExplicitHttpConfig

      public HttpProtocolOptions.Builder setExplicitHttpConfig(HttpProtocolOptions.ExplicitHttpConfig.Builder builderForValue)
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
    • mergeExplicitHttpConfig

       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
    • clearExplicitHttpConfig

      public HttpProtocolOptions.Builder clearExplicitHttpConfig()
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
    • getExplicitHttpConfigBuilder

      public HttpProtocolOptions.ExplicitHttpConfig.Builder getExplicitHttpConfigBuilder()
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
    • getExplicitHttpConfigOrBuilder

      public HttpProtocolOptions.ExplicitHttpConfigOrBuilder getExplicitHttpConfigOrBuilder()
       To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
      Specified by:
      getExplicitHttpConfigOrBuilder in interface HttpProtocolOptionsOrBuilder
    • hasUseDownstreamProtocolConfig

      public 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;
      Specified by:
      hasUseDownstreamProtocolConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the useDownstreamProtocolConfig field is set.
    • getUseDownstreamProtocolConfig

      public 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;
      Specified by:
      getUseDownstreamProtocolConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      The useDownstreamProtocolConfig.
    • setUseDownstreamProtocolConfig

      public HttpProtocolOptions.Builder setUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig value)
       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;
    • setUseDownstreamProtocolConfig

      public HttpProtocolOptions.Builder setUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig.Builder builderForValue)
       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;
    • mergeUseDownstreamProtocolConfig

      public HttpProtocolOptions.Builder mergeUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig value)
       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;
    • clearUseDownstreamProtocolConfig

      public HttpProtocolOptions.Builder clearUseDownstreamProtocolConfig()
       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;
    • getUseDownstreamProtocolConfigBuilder

      public HttpProtocolOptions.UseDownstreamHttpConfig.Builder getUseDownstreamProtocolConfigBuilder()
       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;
    • getUseDownstreamProtocolConfigOrBuilder

      public 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;
      Specified by:
      getUseDownstreamProtocolConfigOrBuilder in interface HttpProtocolOptionsOrBuilder
    • hasAutoConfig

      public boolean hasAutoConfig()
       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
      Specified by:
      hasAutoConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the autoConfig field is set.
    • getAutoConfig

      public HttpProtocolOptions.AutoHttpConfig getAutoConfig()
       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
      Specified by:
      getAutoConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      The autoConfig.
    • setAutoConfig

       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
    • setAutoConfig

       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
    • mergeAutoConfig

       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
    • clearAutoConfig

      public HttpProtocolOptions.Builder clearAutoConfig()
       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
    • getAutoConfigBuilder

      public HttpProtocolOptions.AutoHttpConfig.Builder getAutoConfigBuilder()
       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
    • getAutoConfigOrBuilder

      public HttpProtocolOptions.AutoHttpConfigOrBuilder getAutoConfigOrBuilder()
       This allows switching on protocol based on ALPN
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
      Specified by:
      getAutoConfigOrBuilder in interface HttpProtocolOptionsOrBuilder
    • getHttpFiltersList

      public List<HttpFilter> getHttpFiltersList()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
      Specified by:
      getHttpFiltersList in interface HttpProtocolOptionsOrBuilder
    • getHttpFiltersCount

      public int getHttpFiltersCount()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
      Specified by:
      getHttpFiltersCount in interface HttpProtocolOptionsOrBuilder
    • getHttpFilters

      public HttpFilter getHttpFilters(int index)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
      Specified by:
      getHttpFilters in interface HttpProtocolOptionsOrBuilder
    • setHttpFilters

      public HttpProtocolOptions.Builder setHttpFilters(int index, HttpFilter value)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • setHttpFilters

      public HttpProtocolOptions.Builder setHttpFilters(int index, HttpFilter.Builder builderForValue)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addHttpFilters

      public HttpProtocolOptions.Builder addHttpFilters(HttpFilter value)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addHttpFilters

      public HttpProtocolOptions.Builder addHttpFilters(int index, HttpFilter value)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addHttpFilters

      public HttpProtocolOptions.Builder addHttpFilters(HttpFilter.Builder builderForValue)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addHttpFilters

      public HttpProtocolOptions.Builder addHttpFilters(int index, HttpFilter.Builder builderForValue)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addAllHttpFilters

      public HttpProtocolOptions.Builder addAllHttpFilters(Iterable<? extends HttpFilter> values)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • clearHttpFilters

      public HttpProtocolOptions.Builder clearHttpFilters()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • removeHttpFilters

      public HttpProtocolOptions.Builder removeHttpFilters(int index)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • getHttpFiltersBuilder

      public HttpFilter.Builder getHttpFiltersBuilder(int index)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • getHttpFiltersOrBuilder

      public HttpFilterOrBuilder getHttpFiltersOrBuilder(int index)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
      Specified by:
      getHttpFiltersOrBuilder in interface HttpProtocolOptionsOrBuilder
    • getHttpFiltersOrBuilderList

      public List<? extends HttpFilterOrBuilder> getHttpFiltersOrBuilderList()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
      Specified by:
      getHttpFiltersOrBuilderList in interface HttpProtocolOptionsOrBuilder
    • addHttpFiltersBuilder

      public HttpFilter.Builder addHttpFiltersBuilder()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • addHttpFiltersBuilder

      public HttpFilter.Builder addHttpFiltersBuilder(int index)
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • getHttpFiltersBuilderList

      public List<HttpFilter.Builder> getHttpFiltersBuilderList()
       Optional HTTP filters for the upstream HTTP filter chain.
      
       .. note::
         Upstream HTTP filters are currently in alpha.
      
      
       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;
    • hasHeaderValidationConfig

      public 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;
      Specified by:
      hasHeaderValidationConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the headerValidationConfig field is set.
    • getHeaderValidationConfig

      public 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;
      Specified by:
      getHeaderValidationConfig in interface HttpProtocolOptionsOrBuilder
      Returns:
      The headerValidationConfig.
    • setHeaderValidationConfig

      public HttpProtocolOptions.Builder setHeaderValidationConfig(TypedExtensionConfig value)
       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;
    • setHeaderValidationConfig

      public HttpProtocolOptions.Builder setHeaderValidationConfig(TypedExtensionConfig.Builder builderForValue)
       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;
    • mergeHeaderValidationConfig

      public HttpProtocolOptions.Builder mergeHeaderValidationConfig(TypedExtensionConfig value)
       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;
    • clearHeaderValidationConfig

      public HttpProtocolOptions.Builder clearHeaderValidationConfig()
       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;
    • getHeaderValidationConfigBuilder

      public TypedExtensionConfig.Builder getHeaderValidationConfigBuilder()
       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;
    • getHeaderValidationConfigOrBuilder

      public TypedExtensionConfigOrBuilder getHeaderValidationConfigOrBuilder()
       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;
      Specified by:
      getHeaderValidationConfigOrBuilder in interface HttpProtocolOptionsOrBuilder
    • hasOutlierDetection

      public boolean hasOutlierDetection()
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
      Specified by:
      hasOutlierDetection in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the outlierDetection field is set.
    • getOutlierDetection

      public HttpProtocolOptions.OutlierDetection getOutlierDetection()
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
      Specified by:
      getOutlierDetection in interface HttpProtocolOptionsOrBuilder
      Returns:
      The outlierDetection.
    • setOutlierDetection

       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
    • setOutlierDetection

      public HttpProtocolOptions.Builder setOutlierDetection(HttpProtocolOptions.OutlierDetection.Builder builderForValue)
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
    • mergeOutlierDetection

       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
    • clearOutlierDetection

      public HttpProtocolOptions.Builder clearOutlierDetection()
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
    • getOutlierDetectionBuilder

      public HttpProtocolOptions.OutlierDetection.Builder getOutlierDetectionBuilder()
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
    • getOutlierDetectionOrBuilder

      public HttpProtocolOptions.OutlierDetectionOrBuilder getOutlierDetectionOrBuilder()
       Defines http specific outlier detection parameters.
       
      .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;
      Specified by:
      getOutlierDetectionOrBuilder in interface HttpProtocolOptionsOrBuilder
    • getRequestMirrorPoliciesList

      public List<RouteAction.RequestMirrorPolicy> getRequestMirrorPoliciesList()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
      Specified by:
      getRequestMirrorPoliciesList in interface HttpProtocolOptionsOrBuilder
    • getRequestMirrorPoliciesCount

      public int getRequestMirrorPoliciesCount()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
      Specified by:
      getRequestMirrorPoliciesCount in interface HttpProtocolOptionsOrBuilder
    • getRequestMirrorPolicies

      public RouteAction.RequestMirrorPolicy getRequestMirrorPolicies(int index)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
      Specified by:
      getRequestMirrorPolicies in interface HttpProtocolOptionsOrBuilder
    • setRequestMirrorPolicies

      public HttpProtocolOptions.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • setRequestMirrorPolicies

      public HttpProtocolOptions.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addRequestMirrorPolicies

      public HttpProtocolOptions.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addRequestMirrorPolicies

      public HttpProtocolOptions.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addRequestMirrorPolicies

      public HttpProtocolOptions.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addRequestMirrorPolicies

      public HttpProtocolOptions.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addAllRequestMirrorPolicies

      public HttpProtocolOptions.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • clearRequestMirrorPolicies

      public HttpProtocolOptions.Builder clearRequestMirrorPolicies()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • removeRequestMirrorPolicies

      public HttpProtocolOptions.Builder removeRequestMirrorPolicies(int index)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • getRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPoliciesBuilder(int index)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • getRequestMirrorPoliciesOrBuilder

      public RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPoliciesOrBuilder(int index)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
      Specified by:
      getRequestMirrorPoliciesOrBuilder in interface HttpProtocolOptionsOrBuilder
    • getRequestMirrorPoliciesOrBuilderList

      public List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
      Specified by:
      getRequestMirrorPoliciesOrBuilderList in interface HttpProtocolOptionsOrBuilder
    • addRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • addRequestMirrorPoliciesBuilder

      public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder(int index)
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • getRequestMirrorPoliciesBuilderList

      public List<RouteAction.RequestMirrorPolicy.Builder> getRequestMirrorPoliciesBuilderList()
       Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.
       Cluster-level policies override route-level policies when they both are configured.
      
       .. note::
      
         Mirroring will not be triggered if the :ref:`primary cluster
         <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
       
      repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;
    • getHashPolicyList

      public List<RouteAction.HashPolicy> getHashPolicyList()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
      Specified by:
      getHashPolicyList in interface HttpProtocolOptionsOrBuilder
    • getHashPolicyCount

      public int getHashPolicyCount()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
      Specified by:
      getHashPolicyCount in interface HttpProtocolOptionsOrBuilder
    • getHashPolicy

      public RouteAction.HashPolicy getHashPolicy(int index)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
      Specified by:
      getHashPolicy in interface HttpProtocolOptionsOrBuilder
    • setHashPolicy

      public HttpProtocolOptions.Builder setHashPolicy(int index, RouteAction.HashPolicy value)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • setHashPolicy

      public HttpProtocolOptions.Builder setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addHashPolicy

       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addHashPolicy

      public HttpProtocolOptions.Builder addHashPolicy(int index, RouteAction.HashPolicy value)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addHashPolicy

      public HttpProtocolOptions.Builder addHashPolicy(RouteAction.HashPolicy.Builder builderForValue)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addHashPolicy

      public HttpProtocolOptions.Builder addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addAllHashPolicy

      public HttpProtocolOptions.Builder addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • clearHashPolicy

      public HttpProtocolOptions.Builder clearHashPolicy()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • removeHashPolicy

      public HttpProtocolOptions.Builder removeHashPolicy(int index)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • getHashPolicyBuilder

      public RouteAction.HashPolicy.Builder getHashPolicyBuilder(int index)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • getHashPolicyOrBuilder

      public RouteAction.HashPolicyOrBuilder getHashPolicyOrBuilder(int index)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
      Specified by:
      getHashPolicyOrBuilder in interface HttpProtocolOptionsOrBuilder
    • getHashPolicyOrBuilderList

      public List<? extends RouteAction.HashPolicyOrBuilder> getHashPolicyOrBuilderList()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
      Specified by:
      getHashPolicyOrBuilderList in interface HttpProtocolOptionsOrBuilder
    • addHashPolicyBuilder

      public RouteAction.HashPolicy.Builder addHashPolicyBuilder()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • addHashPolicyBuilder

      public RouteAction.HashPolicy.Builder addHashPolicyBuilder(int index)
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • getHashPolicyBuilderList

      public List<RouteAction.HashPolicy.Builder> getHashPolicyBuilderList()
       Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or
       Maglev) for requests routed to this cluster. When configured, cluster-level policies override
       route-level policies. When not configured, route-level policies (if any) will be used.
      
       This enables consistent routing to the same upstream host for all requests to a cluster,
       which is particularly useful for stateful services like caching, session management, or
       sticky routing requirements.
      
       .. note::
      
         Hash policies are only effective when the cluster is configured with a hash-based load
         balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>`
         or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
      Specified by:
      hasRetryPolicy in interface HttpProtocolOptionsOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public RetryPolicy getRetryPolicy()
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicy in interface HttpProtocolOptionsOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

      public HttpProtocolOptions.Builder setRetryPolicy(RetryPolicy value)
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
    • setRetryPolicy

      public HttpProtocolOptions.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
    • mergeRetryPolicy

      public HttpProtocolOptions.Builder mergeRetryPolicy(RetryPolicy value)
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
    • clearRetryPolicy

      public HttpProtocolOptions.Builder clearRetryPolicy()
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
    • getRetryPolicyBuilder

      public RetryPolicy.Builder getRetryPolicyBuilder()
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
    • getRetryPolicyOrBuilder

      public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       Specifies the retry policy for requests routed to this cluster. When configured,
       cluster-level retry policy overrides route-level retry policy. When not configured,
       route-level retry policy (if any) will be used.
      
       .. note::
      
         Cluster-level retry policy will override route-level retry policy entirely. Policies are
         not merged.
       
      .envoy.config.route.v3.RetryPolicy retry_policy = 11;
      Specified by:
      getRetryPolicyOrBuilder in interface HttpProtocolOptionsOrBuilder
    • setUnknownFields

      public final HttpProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
    • mergeUnknownFields

      public final HttpProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>