public static final class RouteOuterClass.WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder> implements RouteOuterClass.WeightedCluster.ClusterWeightOrBuilder
envoy.api.v2.route.WeightedCluster.ClusterWeight| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addAllRequestHeadersToAdd(Iterable<? extends Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addAllResponseHeadersToAdd(Iterable<? extends Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRequestHeadersToAdd(Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRequestHeadersToAdd(Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRequestHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRequestHeadersToAdd(int index,
Base.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`.
|
Base.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`.
|
Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addResponseHeadersToAdd(Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addResponseHeadersToAdd(Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addResponseHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addResponseHeadersToAdd(int index,
Base.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`.
|
Base.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`.
|
Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight |
build() |
RouteOuterClass.WeightedCluster.ClusterWeight |
buildPartial() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clear() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearName()
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearPerFilterConfig() |
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clone() |
boolean |
containsPerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
RouteOuterClass.WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Base.Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Map<String,com.google.protobuf.Struct> |
getMutablePerFilterConfig()
Deprecated.
|
String |
getName()
Name of the upstream cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the upstream cluster.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrDefault(String key,
com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
Base.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`.
|
Base.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`.
|
List<Base.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`.
|
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`.
|
List<Base.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`.
|
Base.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`.
|
List<? extends Base.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`.
|
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`.
|
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`.
|
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`.
|
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`.
|
Base.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`.
|
Base.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`.
|
List<Base.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`.
|
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`.
|
List<Base.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`.
|
Base.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`.
|
List<? extends Base.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`.
|
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`.
|
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`.
|
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`.
|
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`.
|
com.google.protobuf.UInt32Value |
getWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
com.google.protobuf.UInt32Value.Builder |
getWeightBuilder()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
com.google.protobuf.UInt32ValueOrBuilder |
getWeightOrBuilder()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.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_route.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() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(RouteOuterClass.WeightedCluster.ClusterWeight other) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
putAllPerFilterConfig(Map<String,com.google.protobuf.Struct> values)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
putPerFilterConfig(String key,
com.google.protobuf.Struct value)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
removePerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
RouteOuterClass.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Base.Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setName(String value)
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setRequestHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setRequestHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setResponseHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setResponseHeadersToAdd(int index,
Base.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`.
|
RouteOuterClass.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`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.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>`.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setWeight(com.google.protobuf.UInt32Value value)
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.WeightedCluster.ClusterWeight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(RouteOuterClass.WeightedCluster.ClusterWeight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>IOExceptionpublic 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 RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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 RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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_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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;hasWeight in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;getWeight in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;public RouteOuterClass.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;public RouteOuterClass.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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;public RouteOuterClass.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, 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_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, 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_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, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;getWeightOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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.MetadataMatch <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;hasMetadataMatch in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.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.MetadataMatch <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;getMetadataMatch in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder setMetadataMatch(Base.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.MetadataMatch <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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setMetadataMatch(Base.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.MetadataMatch <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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeMetadataMatch(Base.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.MetadataMatch <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;public RouteOuterClass.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.MetadataMatch <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;public Base.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.MetadataMatch <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;public Base.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.MetadataMatch <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 in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<Base.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;getRequestHeadersToAddList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getRequestHeadersToAddCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.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;getRequestHeadersToAdd in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addAllRequestHeadersToAdd(Iterable<? extends Base.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;public RouteOuterClass.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;public RouteOuterClass.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;public Base.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;public Base.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;getRequestHeadersToAddOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<? extends Base.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;getRequestHeadersToAddOrBuilderList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.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;public Base.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;public List<Base.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;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;getRequestHeadersToRemoveList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getRequestHeadersToRemoveCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getRequestHeadersToRemove in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getRequestHeadersToRemoveBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public List<Base.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;getResponseHeadersToAddList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getResponseHeadersToAddCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.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;getResponseHeadersToAdd in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(int index, Base.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addAllResponseHeadersToAdd(Iterable<? extends Base.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;public RouteOuterClass.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;public RouteOuterClass.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;public Base.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;public Base.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;getResponseHeadersToAddOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<? extends Base.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;getResponseHeadersToAddOrBuilderList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.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;public Base.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;public List<Base.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;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;getResponseHeadersToRemoveList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getResponseHeadersToRemoveCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getResponseHeadersToRemove in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic 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;getResponseHeadersToRemoveBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public RouteOuterClass.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;public int getPerFilterConfigCount()
RouteOuterClass.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.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;getPerFilterConfigCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic boolean containsPerFilterConfig(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.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;containsPerFilterConfig in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.getPerFilterConfig in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Map<String,com.google.protobuf.Struct> getPerFilterConfigMap()
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.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;getPerFilterConfigMap in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct 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.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;getPerFilterConfigOrDefault in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.Struct getPerFilterConfigOrThrow(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.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;getPerFilterConfigOrThrow in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearPerFilterConfig()
public RouteOuterClass.WeightedCluster.ClusterWeight.Builder removePerFilterConfig(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.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 public Map<String,com.google.protobuf.Struct> getMutablePerFilterConfig()
public RouteOuterClass.WeightedCluster.ClusterWeight.Builder putPerFilterConfig(String key, com.google.protobuf.Struct 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.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;public RouteOuterClass.WeightedCluster.ClusterWeight.Builder putAllPerFilterConfig(Map<String,com.google.protobuf.Struct> 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.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;public final RouteOuterClass.WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public final RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>Copyright © 2018 The Envoy Project. All rights reserved.