Class WeightedCluster.ClusterWeight.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.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<WeightedCluster.ClusterWeight.Builder>
      • getDefaultInstanceForType

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

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

        public WeightedCluster.ClusterWeight buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public WeightedCluster.ClusterWeight.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<WeightedCluster.ClusterWeight.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Name of the upstream cluster. The cluster must exist in the
         :ref:`cluster manager configuration <config_cluster_manager>`.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getName in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name of the upstream cluster. The cluster must exist in the
         :ref:`cluster manager configuration <config_cluster_manager>`.
         
        string name = 1 [(.validate.rules) = { ... }
        Specified by:
        getNameBytes in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The bytes for name.
      • setName

        public WeightedCluster.ClusterWeight.Builder setName​(String value)
         Name of the upstream cluster. The cluster must exist in the
         :ref:`cluster manager configuration <config_cluster_manager>`.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public WeightedCluster.ClusterWeight.Builder clearName()
         Name of the upstream cluster. The cluster must exist in the
         :ref:`cluster manager configuration <config_cluster_manager>`.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public WeightedCluster.ClusterWeight.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name of the upstream cluster. The cluster must exist in the
         :ref:`cluster manager configuration <config_cluster_manager>`.
         
        string name = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasWeight

        public boolean hasWeight()
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
        Specified by:
        hasWeight in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        Whether the weight field is set.
      • getWeight

        public com.google.protobuf.UInt32Value getWeight()
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
        Specified by:
        getWeight in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The weight.
      • setWeight

        public WeightedCluster.ClusterWeight.Builder setWeight​(com.google.protobuf.UInt32Value value)
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
      • setWeight

        public WeightedCluster.ClusterWeight.Builder setWeight​(com.google.protobuf.UInt32Value.Builder builderForValue)
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
      • mergeWeight

        public WeightedCluster.ClusterWeight.Builder mergeWeight​(com.google.protobuf.UInt32Value value)
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
      • clearWeight

        public WeightedCluster.ClusterWeight.Builder clearWeight()
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
      • getWeightBuilder

        public com.google.protobuf.UInt32Value.Builder getWeightBuilder()
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
      • getWeightOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
         An integer between 0 and :ref:`total_weight
         <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route,
         the choice of an upstream cluster is determined by its weight. The sum of weights across all
         entries in the clusters array must add up to the total_weight, if total_weight is greater than 0.
         
        .google.protobuf.UInt32Value weight = 2;
        Specified by:
        getWeightOrBuilder in interface WeightedCluster.ClusterWeightOrBuilder
      • hasMetadataMatch

        public boolean hasMetadataMatch()
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
        Specified by:
        hasMetadataMatch in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        Whether the metadataMatch field is set.
      • getMetadataMatch

        public Metadata getMetadataMatch()
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
        Specified by:
        getMetadataMatch in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The metadataMatch.
      • setMetadataMatch

        public WeightedCluster.ClusterWeight.Builder setMetadataMatch​(Metadata value)
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
      • setMetadataMatch

        public WeightedCluster.ClusterWeight.Builder setMetadataMatch​(Metadata.Builder builderForValue)
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
      • mergeMetadataMatch

        public WeightedCluster.ClusterWeight.Builder mergeMetadataMatch​(Metadata value)
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
      • clearMetadataMatch

        public WeightedCluster.ClusterWeight.Builder clearMetadataMatch()
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
      • getMetadataMatchBuilder

        public Metadata.Builder getMetadataMatchBuilder()
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
      • getMetadataMatchOrBuilder

        public MetadataOrBuilder getMetadataMatchOrBuilder()
         Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in
         the upstream cluster with metadata matching what is set in this field will be considered for
         load balancing. Note that this will be merged with what's provided in
         :ref:`RouteAction.metadata_match <envoy_api_field_route.RouteAction.metadata_match>`, with
         values here taking precedence. The filter name should be specified as *envoy.lb*.
         
        .envoy.api.v2.core.Metadata metadata_match = 3;
        Specified by:
        getMetadataMatchOrBuilder in interface WeightedCluster.ClusterWeightOrBuilder
      • getRequestHeadersToAddList

        public List<HeaderValueOption> getRequestHeadersToAddList()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddList in interface WeightedCluster.ClusterWeightOrBuilder
      • getRequestHeadersToAddCount

        public int getRequestHeadersToAddCount()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddCount in interface WeightedCluster.ClusterWeightOrBuilder
      • getRequestHeadersToAdd

        public HeaderValueOption getRequestHeadersToAdd​(int index)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAdd in interface WeightedCluster.ClusterWeightOrBuilder
      • setRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd​(int index,
                                                                            HeaderValueOption value)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • setRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd​(int index,
                                                                            HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd​(HeaderValueOption value)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd​(int index,
                                                                            HeaderValueOption value)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd​(HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd​(int index,
                                                                            HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addAllRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addAllRequestHeadersToAdd​(Iterable<? extends HeaderValueOption> values)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • clearRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder clearRequestHeadersToAdd()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • removeRequestHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder removeRequestHeadersToAdd​(int index)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • getRequestHeadersToAddBuilder

        public HeaderValueOption.Builder getRequestHeadersToAddBuilder​(int index)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • getRequestHeadersToAddOrBuilder

        public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder​(int index)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilder in interface WeightedCluster.ClusterWeightOrBuilder
      • getRequestHeadersToAddOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilderList in interface WeightedCluster.ClusterWeightOrBuilder
      • addRequestHeadersToAddBuilder

        public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • addRequestHeadersToAddBuilder

        public HeaderValueOption.Builder addRequestHeadersToAddBuilder​(int index)
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • getRequestHeadersToAddBuilderList

        public List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
         Specifies a list of headers to be added to requests when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
      • getRequestHeadersToRemoveList

        public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Specified by:
        getRequestHeadersToRemoveList in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        A list containing the requestHeadersToRemove.
      • getRequestHeadersToRemoveCount

        public int getRequestHeadersToRemoveCount()
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Specified by:
        getRequestHeadersToRemoveCount in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The count of requestHeadersToRemove.
      • getRequestHeadersToRemove

        public String getRequestHeadersToRemove​(int index)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Specified by:
        getRequestHeadersToRemove in interface WeightedCluster.ClusterWeightOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The requestHeadersToRemove at the given index.
      • getRequestHeadersToRemoveBytes

        public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes​(int index)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Specified by:
        getRequestHeadersToRemoveBytes in interface WeightedCluster.ClusterWeightOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the requestHeadersToRemove at the given index.
      • setRequestHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder setRequestHeadersToRemove​(int index,
                                                                               String value)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Parameters:
        index - The index to set the value at.
        value - The requestHeadersToRemove to set.
        Returns:
        This builder for chaining.
      • addRequestHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToRemove​(String value)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Parameters:
        value - The requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • addAllRequestHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder addAllRequestHeadersToRemove​(Iterable<String> values)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Parameters:
        values - The requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • clearRequestHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder clearRequestHeadersToRemove()
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Returns:
        This builder for chaining.
      • addRequestHeadersToRemoveBytes

        public WeightedCluster.ClusterWeight.Builder addRequestHeadersToRemoveBytes​(com.google.protobuf.ByteString value)
         Specifies a list of HTTP headers that should be removed from each request when
         this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string request_headers_to_remove = 9;
        Parameters:
        value - The bytes of the requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • getResponseHeadersToAddList

        public List<HeaderValueOption> getResponseHeadersToAddList()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddList in interface WeightedCluster.ClusterWeightOrBuilder
      • getResponseHeadersToAddCount

        public int getResponseHeadersToAddCount()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddCount in interface WeightedCluster.ClusterWeightOrBuilder
      • getResponseHeadersToAdd

        public HeaderValueOption getResponseHeadersToAdd​(int index)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAdd in interface WeightedCluster.ClusterWeightOrBuilder
      • setResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd​(int index,
                                                                             HeaderValueOption value)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • setResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd​(int index,
                                                                             HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd​(HeaderValueOption value)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd​(int index,
                                                                             HeaderValueOption value)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd​(HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd​(int index,
                                                                             HeaderValueOption.Builder builderForValue)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addAllResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder addAllResponseHeadersToAdd​(Iterable<? extends HeaderValueOption> values)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • clearResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder clearResponseHeadersToAdd()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • removeResponseHeadersToAdd

        public WeightedCluster.ClusterWeight.Builder removeResponseHeadersToAdd​(int index)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • getResponseHeadersToAddBuilder

        public HeaderValueOption.Builder getResponseHeadersToAddBuilder​(int index)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • getResponseHeadersToAddOrBuilder

        public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder​(int index)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddOrBuilder in interface WeightedCluster.ClusterWeightOrBuilder
      • getResponseHeadersToAddOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddOrBuilderList in interface WeightedCluster.ClusterWeightOrBuilder
      • addResponseHeadersToAddBuilder

        public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • addResponseHeadersToAddBuilder

        public HeaderValueOption.Builder addResponseHeadersToAddBuilder​(int index)
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • getResponseHeadersToAddBuilderList

        public List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
         Specifies a list of headers to be added to responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         Headers specified at this level are applied before headers from the enclosing
         :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and
         :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
      • getResponseHeadersToRemoveList

        public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Specified by:
        getResponseHeadersToRemoveList in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        A list containing the responseHeadersToRemove.
      • getResponseHeadersToRemoveCount

        public int getResponseHeadersToRemoveCount()
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Specified by:
        getResponseHeadersToRemoveCount in interface WeightedCluster.ClusterWeightOrBuilder
        Returns:
        The count of responseHeadersToRemove.
      • getResponseHeadersToRemove

        public String getResponseHeadersToRemove​(int index)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Specified by:
        getResponseHeadersToRemove in interface WeightedCluster.ClusterWeightOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The responseHeadersToRemove at the given index.
      • getResponseHeadersToRemoveBytes

        public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes​(int index)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Specified by:
        getResponseHeadersToRemoveBytes in interface WeightedCluster.ClusterWeightOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the responseHeadersToRemove at the given index.
      • setResponseHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder setResponseHeadersToRemove​(int index,
                                                                                String value)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Parameters:
        index - The index to set the value at.
        value - The responseHeadersToRemove to set.
        Returns:
        This builder for chaining.
      • addResponseHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToRemove​(String value)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Parameters:
        value - The responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • addAllResponseHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder addAllResponseHeadersToRemove​(Iterable<String> values)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Parameters:
        values - The responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • clearResponseHeadersToRemove

        public WeightedCluster.ClusterWeight.Builder clearResponseHeadersToRemove()
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Returns:
        This builder for chaining.
      • addResponseHeadersToRemoveBytes

        public WeightedCluster.ClusterWeight.Builder addResponseHeadersToRemoveBytes​(com.google.protobuf.ByteString value)
         Specifies a list of headers to be removed from responses when this cluster is selected
         through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
         
        repeated string response_headers_to_remove = 6;
        Parameters:
        value - The bytes of the responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • getPerFilterConfigCount

        @Deprecated
        public int getPerFilterConfigCount()
        Deprecated.
        Description copied from interface: WeightedCluster.ClusterWeightOrBuilder
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
        Specified by:
        getPerFilterConfigCount in interface WeightedCluster.ClusterWeightOrBuilder
      • containsPerFilterConfig

        @Deprecated
        public boolean containsPerFilterConfig​(String key)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
        Specified by:
        containsPerFilterConfig in interface WeightedCluster.ClusterWeightOrBuilder
      • getPerFilterConfigMap

        @Deprecated
        public Map<String,​com.google.protobuf.Struct> getPerFilterConfigMap()
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
        Specified by:
        getPerFilterConfigMap in interface WeightedCluster.ClusterWeightOrBuilder
      • getPerFilterConfigOrDefault

        @Deprecated
        public com.google.protobuf.Struct getPerFilterConfigOrDefault​(String key,
                                                                      com.google.protobuf.Struct defaultValue)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
        Specified by:
        getPerFilterConfigOrDefault in interface WeightedCluster.ClusterWeightOrBuilder
      • getPerFilterConfigOrThrow

        @Deprecated
        public com.google.protobuf.Struct getPerFilterConfigOrThrow​(String key)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
        Specified by:
        getPerFilterConfigOrThrow in interface WeightedCluster.ClusterWeightOrBuilder
      • removePerFilterConfig

        @Deprecated
        public WeightedCluster.ClusterWeight.Builder removePerFilterConfig​(String key)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
      • getMutablePerFilterConfig

        @Deprecated
        public Map<String,​com.google.protobuf.Struct> getMutablePerFilterConfig()
        Deprecated.
        Use alternate mutation accessors instead.
      • putPerFilterConfig

        @Deprecated
        public WeightedCluster.ClusterWeight.Builder putPerFilterConfig​(String key,
                                                                        com.google.protobuf.Struct value)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
      • putAllPerFilterConfig

        @Deprecated
        public WeightedCluster.ClusterWeight.Builder putAllPerFilterConfig​(Map<String,​com.google.protobuf.Struct> values)
        Deprecated.
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];
      • getTypedPerFilterConfigCount

        public int getTypedPerFilterConfigCount()
        Description copied from interface: WeightedCluster.ClusterWeightOrBuilder
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
        Specified by:
        getTypedPerFilterConfigCount in interface WeightedCluster.ClusterWeightOrBuilder
      • containsTypedPerFilterConfig

        public boolean containsTypedPerFilterConfig​(String key)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
        Specified by:
        containsTypedPerFilterConfig in interface WeightedCluster.ClusterWeightOrBuilder
      • getTypedPerFilterConfigMap

        public Map<String,​com.google.protobuf.Any> getTypedPerFilterConfigMap()
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
        Specified by:
        getTypedPerFilterConfigMap in interface WeightedCluster.ClusterWeightOrBuilder
      • getTypedPerFilterConfigOrDefault

        public com.google.protobuf.Any getTypedPerFilterConfigOrDefault​(String key,
                                                                        com.google.protobuf.Any defaultValue)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
        Specified by:
        getTypedPerFilterConfigOrDefault in interface WeightedCluster.ClusterWeightOrBuilder
      • getTypedPerFilterConfigOrThrow

        public com.google.protobuf.Any getTypedPerFilterConfigOrThrow​(String key)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
        Specified by:
        getTypedPerFilterConfigOrThrow in interface WeightedCluster.ClusterWeightOrBuilder
      • removeTypedPerFilterConfig

        public WeightedCluster.ClusterWeight.Builder removeTypedPerFilterConfig​(String key)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
      • getMutableTypedPerFilterConfig

        @Deprecated
        public Map<String,​com.google.protobuf.Any> getMutableTypedPerFilterConfig()
        Deprecated.
        Use alternate mutation accessors instead.
      • putTypedPerFilterConfig

        public WeightedCluster.ClusterWeight.Builder putTypedPerFilterConfig​(String key,
                                                                             com.google.protobuf.Any value)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;
      • putAllTypedPerFilterConfig

        public WeightedCluster.ClusterWeight.Builder putAllTypedPerFilterConfig​(Map<String,​com.google.protobuf.Any> values)
         The per_filter_config field can be used to provide weighted cluster-specific
         configurations for filters. The key should match the filter name, such as
         *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter
         specific; see the :ref:`HTTP filter documentation <config_http_filters>`
         for if and how it is utilized.
         
        map<string, .google.protobuf.Any> typed_per_filter_config = 10;