Package io.envoyproxy.envoy.api.v2.route
Class WeightedCluster.ClusterWeight.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
- io.envoyproxy.envoy.api.v2.route.WeightedCluster.ClusterWeight.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WeightedCluster.ClusterWeightOrBuilder,Cloneable
- Enclosing class:
- WeightedCluster.ClusterWeight
public static final class WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder> implements WeightedCluster.ClusterWeightOrBuilder
[#next-free-field: 11]
Protobuf typeenvoy.api.v2.route.WeightedCluster.ClusterWeight
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WeightedCluster.ClusterWeight.BuilderaddAllRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddAllRequestHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuilderaddAllResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddAllResponseHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToAdd(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`.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder()Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder(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`.WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuilderaddRequestHeadersToRemoveBytes(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToAdd(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`.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder()Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuilderaddResponseHeadersToRemoveBytes(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`.WeightedCluster.ClusterWeightbuild()WeightedCluster.ClusterWeightbuildPartial()WeightedCluster.ClusterWeight.Builderclear()WeightedCluster.ClusterWeight.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WeightedCluster.ClusterWeight.BuilderclearMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.BuilderclearName()Name of the upstream cluster.WeightedCluster.ClusterWeight.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WeightedCluster.ClusterWeight.BuilderclearPerFilterConfig()Deprecated.WeightedCluster.ClusterWeight.BuilderclearRequestHeadersToAdd()Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.WeightedCluster.ClusterWeight.BuilderclearRequestHeadersToRemove()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`.WeightedCluster.ClusterWeight.BuilderclearResponseHeadersToAdd()Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.WeightedCluster.ClusterWeight.BuilderclearResponseHeadersToRemove()Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.WeightedCluster.ClusterWeight.BuilderclearTypedPerFilterConfig()WeightedCluster.ClusterWeight.BuilderclearWeight()An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.WeightedCluster.ClusterWeight.Builderclone()booleancontainsPerFilterConfig(String key)Deprecated.booleancontainsTypedPerFilterConfig(String key)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.WeightedCluster.ClusterWeightgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MetadatagetMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.Metadata.BuildergetMetadataMatchBuilder()Optional endpoint metadata match criteria used by the subset load balancer.MetadataOrBuildergetMetadataMatchOrBuilder()Optional endpoint metadata match criteria used by the subset load balancer.Map<String,com.google.protobuf.Struct>getMutablePerFilterConfig()Deprecated.Map<String,com.google.protobuf.Any>getMutableTypedPerFilterConfig()Deprecated.StringgetName()Name of the upstream cluster.com.google.protobuf.ByteStringgetNameBytes()Name of the upstream cluster.Map<String,com.google.protobuf.Struct>getPerFilterConfig()Deprecated.intgetPerFilterConfigCount()Deprecated.Map<String,com.google.protobuf.Struct>getPerFilterConfigMap()Deprecated.com.google.protobuf.StructgetPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue)Deprecated.com.google.protobuf.StructgetPerFilterConfigOrThrow(String key)Deprecated.HeaderValueOptiongetRequestHeadersToAdd(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`.HeaderValueOption.BuildergetRequestHeadersToAddBuilder(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`.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`.intgetRequestHeadersToAddCount()Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.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`.HeaderValueOptionOrBuildergetRequestHeadersToAddOrBuilder(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`.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`.StringgetRequestHeadersToRemove(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`.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(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`.intgetRequestHeadersToRemoveCount()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`.com.google.protobuf.ProtocolStringListgetRequestHeadersToRemoveList()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`.HeaderValueOptiongetResponseHeadersToAdd(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`.HeaderValueOption.BuildergetResponseHeadersToAddBuilder(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`.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`.intgetResponseHeadersToAddCount()Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.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`.HeaderValueOptionOrBuildergetResponseHeadersToAddOrBuilder(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`.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`.StringgetResponseHeadersToRemove(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`.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(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`.intgetResponseHeadersToRemoveCount()Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.com.google.protobuf.ProtocolStringListgetResponseHeadersToRemoveList()Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.Map<String,com.google.protobuf.Any>getTypedPerFilterConfig()Deprecated.intgetTypedPerFilterConfigCount()The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.Map<String,com.google.protobuf.Any>getTypedPerFilterConfigMap()The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrThrow(String key)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.com.google.protobuf.UInt32ValuegetWeight()An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.com.google.protobuf.UInt32Value.BuildergetWeightBuilder()An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.com.google.protobuf.UInt32ValueOrBuildergetWeightOrBuilder()An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.booleanhasMetadataMatch()Optional endpoint metadata match criteria used by the subset load balancer.booleanhasWeight()An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()WeightedCluster.ClusterWeight.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WeightedCluster.ClusterWeight.BuildermergeFrom(com.google.protobuf.Message other)WeightedCluster.ClusterWeight.BuildermergeFrom(WeightedCluster.ClusterWeight other)WeightedCluster.ClusterWeight.BuildermergeMetadataMatch(Metadata value)Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WeightedCluster.ClusterWeight.BuildermergeWeight(com.google.protobuf.UInt32Value value)An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.WeightedCluster.ClusterWeight.BuilderputAllPerFilterConfig(Map<String,com.google.protobuf.Struct> values)Deprecated.WeightedCluster.ClusterWeight.BuilderputAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.WeightedCluster.ClusterWeight.BuilderputPerFilterConfig(String key, com.google.protobuf.Struct value)Deprecated.WeightedCluster.ClusterWeight.BuilderputTypedPerFilterConfig(String key, com.google.protobuf.Any value)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.WeightedCluster.ClusterWeight.BuilderremovePerFilterConfig(String key)Deprecated.WeightedCluster.ClusterWeight.BuilderremoveRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderremoveResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuilderremoveTypedPerFilterConfig(String key)The per_filter_config field can be used to provide weighted cluster-specific configurations for filters.WeightedCluster.ClusterWeight.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedCluster.ClusterWeight.BuildersetMetadataMatch(Metadata value)Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.BuildersetMetadataMatch(Metadata.Builder builderForValue)Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.BuildersetName(String value)Name of the upstream cluster.WeightedCluster.ClusterWeight.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the upstream cluster.WeightedCluster.ClusterWeight.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WeightedCluster.ClusterWeight.BuildersetRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuildersetRequestHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuildersetRequestHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuildersetResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuildersetResponseHeadersToAdd(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`.WeightedCluster.ClusterWeight.BuildersetResponseHeadersToRemove(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`.WeightedCluster.ClusterWeight.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WeightedCluster.ClusterWeight.BuildersetWeight(com.google.protobuf.UInt32Value value)An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.WeightedCluster.ClusterWeight.BuildersetWeight(com.google.protobuf.UInt32Value.Builder builderForValue)An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
clear
public WeightedCluster.ClusterWeight.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
getDefaultInstanceForType
public WeightedCluster.ClusterWeight getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WeightedCluster.ClusterWeight build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WeightedCluster.ClusterWeight buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WeightedCluster.ClusterWeight.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
setField
public WeightedCluster.ClusterWeight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
clearField
public WeightedCluster.ClusterWeight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
clearOneof
public WeightedCluster.ClusterWeight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
setRepeatedField
public WeightedCluster.ClusterWeight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
addRepeatedField
public WeightedCluster.ClusterWeight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
mergeFrom
public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
mergeFrom
public WeightedCluster.ClusterWeight.Builder mergeFrom(WeightedCluster.ClusterWeight other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getNamein interfaceWeightedCluster.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:
getNameBytesin interfaceWeightedCluster.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:
hasWeightin interfaceWeightedCluster.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:
getWeightin interfaceWeightedCluster.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:
getWeightOrBuilderin interfaceWeightedCluster.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:
hasMetadataMatchin interfaceWeightedCluster.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:
getMetadataMatchin interfaceWeightedCluster.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:
getMetadataMatchOrBuilderin interfaceWeightedCluster.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:
getRequestHeadersToAddListin interfaceWeightedCluster.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:
getRequestHeadersToAddCountin interfaceWeightedCluster.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:
getRequestHeadersToAddin interfaceWeightedCluster.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:
getRequestHeadersToAddOrBuilderin interfaceWeightedCluster.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:
getRequestHeadersToAddOrBuilderListin interfaceWeightedCluster.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:
getRequestHeadersToRemoveListin interfaceWeightedCluster.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:
getRequestHeadersToRemoveCountin interfaceWeightedCluster.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:
getRequestHeadersToRemovein interfaceWeightedCluster.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:
getRequestHeadersToRemoveBytesin interfaceWeightedCluster.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:
getResponseHeadersToAddListin interfaceWeightedCluster.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:
getResponseHeadersToAddCountin interfaceWeightedCluster.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:
getResponseHeadersToAddin interfaceWeightedCluster.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:
getResponseHeadersToAddOrBuilderin interfaceWeightedCluster.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:
getResponseHeadersToAddOrBuilderListin interfaceWeightedCluster.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:
getResponseHeadersToRemoveListin interfaceWeightedCluster.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:
getResponseHeadersToRemoveCountin interfaceWeightedCluster.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:
getResponseHeadersToRemovein interfaceWeightedCluster.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:
getResponseHeadersToRemoveBytesin interfaceWeightedCluster.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.ClusterWeightOrBuilderThe 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:
getPerFilterConfigCountin interfaceWeightedCluster.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:
containsPerFilterConfigin interfaceWeightedCluster.ClusterWeightOrBuilder
-
getPerFilterConfig
@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
Deprecated.UsegetPerFilterConfigMap()instead.- Specified by:
getPerFilterConfigin interfaceWeightedCluster.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:
getPerFilterConfigMapin interfaceWeightedCluster.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:
getPerFilterConfigOrDefaultin interfaceWeightedCluster.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:
getPerFilterConfigOrThrowin interfaceWeightedCluster.ClusterWeightOrBuilder
-
clearPerFilterConfig
@Deprecated public WeightedCluster.ClusterWeight.Builder clearPerFilterConfig()
Deprecated.
-
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.ClusterWeightOrBuilderThe 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:
getTypedPerFilterConfigCountin interfaceWeightedCluster.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:
containsTypedPerFilterConfigin interfaceWeightedCluster.ClusterWeightOrBuilder
-
getTypedPerFilterConfig
@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceWeightedCluster.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:
getTypedPerFilterConfigMapin interfaceWeightedCluster.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:
getTypedPerFilterConfigOrDefaultin interfaceWeightedCluster.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:
getTypedPerFilterConfigOrThrowin interfaceWeightedCluster.ClusterWeightOrBuilder
-
clearTypedPerFilterConfig
public WeightedCluster.ClusterWeight.Builder clearTypedPerFilterConfig()
-
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;
-
setUnknownFields
public final WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
mergeUnknownFields
public final WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
-
-