public static final class WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder> implements WeightedCluster.ClusterWeightOrBuilder
[#next-free-field: 11]Protobuf type
envoy.config.route.v4alpha.WeightedCluster.ClusterWeight
Modifier and Type | Method and Description |
---|---|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
WeightedCluster.ClusterWeight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
WeightedCluster.ClusterWeight |
build() |
WeightedCluster.ClusterWeight |
buildPartial() |
WeightedCluster.ClusterWeight.Builder |
clear() |
WeightedCluster.ClusterWeight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WeightedCluster.ClusterWeight.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
clearName()
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
WeightedCluster.ClusterWeight.Builder |
clearTypedPerFilterConfig() |
WeightedCluster.ClusterWeight.Builder |
clearWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
WeightedCluster.ClusterWeight.Builder |
clone() |
boolean |
containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Map<String,com.google.protobuf.Any> |
getMutableTypedPerFilterConfig()
Deprecated.
|
String |
getName()
Name of the upstream cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the upstream cluster.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
int |
getRequestHeadersToAddCount()
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
int |
getResponseHeadersToAddCount()
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of headers to be removed from responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfig()
Deprecated.
|
int |
getTypedPerFilterConfigCount()
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.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.
|
com.google.protobuf.Any |
getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
com.google.protobuf.UInt32Value |
getWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
com.google.protobuf.UInt32Value.Builder |
getWeightBuilder()
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
com.google.protobuf.UInt32ValueOrBuilder |
getWeightOrBuilder()
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.Message other) |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(WeightedCluster.ClusterWeight other) |
WeightedCluster.ClusterWeight.Builder |
mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WeightedCluster.ClusterWeight.Builder |
mergeWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
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.
|
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.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
WeightedCluster.ClusterWeight.Builder |
removeTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
WeightedCluster.ClusterWeight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
setName(String value)
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
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_config.route.v4alpha.RouteAction`.
|
WeightedCluster.ClusterWeight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WeightedCluster.ClusterWeight.Builder |
setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
WeightedCluster.ClusterWeight.Builder |
setWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight
<envoy_api_field_config.route.v4alpha.WeightedCluster.total_weight>`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WeightedCluster.ClusterWeight build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WeightedCluster.ClusterWeight buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WeightedCluster.ClusterWeight.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder mergeFrom(WeightedCluster.ClusterWeight other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>
IOException
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) = { ... }
getName
in interface WeightedCluster.ClusterWeightOrBuilder
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) = { ... }
getNameBytes
in interface WeightedCluster.ClusterWeightOrBuilder
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) = { ... }
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) = { ... }
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) = { ... }
public boolean hasWeight()
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
hasWeight
in interface WeightedCluster.ClusterWeightOrBuilder
public com.google.protobuf.UInt32Value getWeight()
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
getWeight
in interface WeightedCluster.ClusterWeightOrBuilder
public WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
public WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
public WeightedCluster.ClusterWeight.Builder mergeWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
public WeightedCluster.ClusterWeight.Builder clearWeight()
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
public com.google.protobuf.UInt32Value.Builder getWeightBuilder()
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
public com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
An integer between 0 and :ref:`total_weight <envoy_api_field_config.route.v4alpha.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;
getWeightOrBuilder
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
hasMetadataMatch
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
getMetadataMatch
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
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_config.route.v4alpha.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.config.core.v4alpha.Metadata metadata_match = 3;
getMetadataMatchOrBuilder
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
getRequestHeadersToAddList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
getRequestHeadersToAddCount
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
getRequestHeadersToAdd
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
getRequestHeadersToAddOrBuilder
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
getRequestHeadersToAddOrBuilderList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
getRequestHeadersToRemoveList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
getRequestHeadersToRemoveCount
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
getRequestHeadersToRemove
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
getRequestHeadersToRemoveBytes
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
getResponseHeadersToAddList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
getResponseHeadersToAddCount
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
getResponseHeadersToAdd
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
getResponseHeadersToAddOrBuilder
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
getResponseHeadersToAddOrBuilderList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_config.route.v4alpha.Route`, :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost`, and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
getResponseHeadersToRemoveList
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
getResponseHeadersToRemoveCount
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
getResponseHeadersToRemove
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
getResponseHeadersToRemoveBytes
in interface WeightedCluster.ClusterWeightOrBuilder
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
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_config.route.v4alpha.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
public int getTypedPerFilterConfigCount()
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;
getTypedPerFilterConfigCount
in interface WeightedCluster.ClusterWeightOrBuilder
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;
containsTypedPerFilterConfig
in interface WeightedCluster.ClusterWeightOrBuilder
@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
getTypedPerFilterConfigMap()
instead.getTypedPerFilterConfig
in interface WeightedCluster.ClusterWeightOrBuilder
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;
getTypedPerFilterConfigMap
in interface WeightedCluster.ClusterWeightOrBuilder
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;
getTypedPerFilterConfigOrDefault
in interface WeightedCluster.ClusterWeightOrBuilder
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;
getTypedPerFilterConfigOrThrow
in interface WeightedCluster.ClusterWeightOrBuilder
public WeightedCluster.ClusterWeight.Builder clearTypedPerFilterConfig()
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;
@Deprecated public Map<String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
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;
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;
public final WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
public final WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>
Copyright © 2018–2021 The Envoy Project. All rights reserved.