Class WeightedCluster.ClusterWeight.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
- io.envoyproxy.envoy.config.route.v3.WeightedCluster.ClusterWeight.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,WeightedCluster.ClusterWeightOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WeightedCluster.ClusterWeight
public static final class WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder> implements WeightedCluster.ClusterWeightOrBuilder
[#next-free-field: 13]
Protobuf typeenvoy.config.route.v3.WeightedCluster.ClusterWeight
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
WeightedCluster.ClusterWeight.Builder.TypedPerFilterConfigConverter
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.lang.Object
clusterHeader_
private java.lang.Object
hostRewriteSpecifier_
private int
hostRewriteSpecifierCase_
private Metadata
metadataMatch_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
metadataMatchBuilder_
private java.lang.Object
name_
private java.util.List<HeaderValueOption>
requestHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
requestHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
requestHeadersToRemove_
private java.util.List<HeaderValueOption>
responseHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
responseHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
responseHeadersToRemove_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
typedPerFilterConfig_
private static WeightedCluster.ClusterWeight.Builder.TypedPerFilterConfigConverter
typedPerFilterConfigConverter
private com.google.protobuf.UInt32Value
weight_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
weightBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WeightedCluster.ClusterWeight.Builder
addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.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_v3_api_msg_config.route.v3.RouteAction`.HeaderValueOption.Builder
addRequestHeadersToAddBuilder()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
addRequestHeadersToRemove(java.lang.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.HeaderValueOption.Builder
addResponseHeadersToAddBuilder()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
addResponseHeadersToRemove(java.lang.String value)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight
build()
WeightedCluster.ClusterWeight
buildPartial()
private void
buildPartial0(WeightedCluster.ClusterWeight result)
private void
buildPartialOneofs(WeightedCluster.ClusterWeight result)
private void
buildPartialRepeatedFields(WeightedCluster.ClusterWeight result)
WeightedCluster.ClusterWeight.Builder
clear()
WeightedCluster.ClusterWeight.Builder
clearClusterHeader()
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight.Builder
clearHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.WeightedCluster.ClusterWeight.Builder
clearHostRewriteSpecifier()
WeightedCluster.ClusterWeight.Builder
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.Builder
clearName()
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight.Builder
clearRequestHeadersToAdd()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
clearTypedPerFilterConfig()
WeightedCluster.ClusterWeight.Builder
clearWeight()
The weight of the cluster.boolean
containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config.private void
ensureRequestHeadersToAddIsMutable()
private void
ensureRequestHeadersToRemoveIsMutable()
private void
ensureResponseHeadersToAddIsMutable()
private void
ensureResponseHeadersToRemoveIsMutable()
java.lang.String
getClusterHeader()
Only one of ``name`` and ``cluster_header`` may be specified.com.google.protobuf.ByteString
getClusterHeaderBytes()
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.com.google.protobuf.ByteString
getHostRewriteLiteralBytes()
Indicates that during forwarding, the host header will be swapped with this value.WeightedCluster.ClusterWeight.HostRewriteSpecifierCase
getHostRewriteSpecifierCase()
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.private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
getMetadataMatchFieldBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.MetadataOrBuilder
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.java.util.Map<java.lang.String,com.google.protobuf.Any>
getMutableTypedPerFilterConfig()
Deprecated.java.lang.String
getName()
Only one of ``name`` and ``cluster_header`` may be specified.com.google.protobuf.ByteString
getNameBytes()
Only one of ``name`` and ``cluster_header`` may be specified.HeaderValueOption
getRequestHeadersToAdd(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.java.util.List<HeaderValueOption.Builder>
getRequestHeadersToAddBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.int
getRequestHeadersToAddCount()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getRequestHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getRequestHeadersToAddList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.java.util.List<? extends HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.java.lang.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.java.util.List<HeaderValueOption.Builder>
getResponseHeadersToAddBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.int
getResponseHeadersToAddCount()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getResponseHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getResponseHeadersToAddList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.java.util.List<? extends HeaderValueOptionOrBuilder>
getResponseHeadersToAddOrBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.java.lang.String
getResponseHeadersToRemove(int index)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.int
getResponseHeadersToRemoveCount()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfig()
Deprecated.int
getTypedPerFilterConfigCount()
This field can be used to provide weighted cluster specific per filter config.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfigMap()
This field can be used to provide weighted cluster specific per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide weighted cluster specific per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config.com.google.protobuf.UInt32Value
getWeight()
The weight of the cluster.com.google.protobuf.UInt32Value.Builder
getWeightBuilder()
The weight of the cluster.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getWeightFieldBuilder()
The weight of the cluster.com.google.protobuf.UInt32ValueOrBuilder
getWeightOrBuilder()
The weight of the cluster.boolean
hasHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.boolean
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.boolean
hasWeight()
The weight of the cluster.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetMutableTypedPerFilterConfig()
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetTypedPerFilterConfig()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
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
mergeWeight(com.google.protobuf.UInt32Value value)
The weight of the cluster.WeightedCluster.ClusterWeight.Builder
putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide weighted cluster specific per filter config.WeightedCluster.ClusterWeight.Builder
putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide weighted cluster specific per filter config.com.google.protobuf.Any.Builder
putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config.WeightedCluster.ClusterWeight.Builder
setClusterHeader(java.lang.String value)
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight.Builder
setClusterHeaderBytes(com.google.protobuf.ByteString value)
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight.Builder
setHostRewriteLiteral(java.lang.String value)
Indicates that during forwarding, the host header will be swapped with this value.WeightedCluster.ClusterWeight.Builder
setHostRewriteLiteralBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with this value.WeightedCluster.ClusterWeight.Builder
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.Builder
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.WeightedCluster.ClusterWeight.Builder
setName(java.lang.String value)
Only one of ``name`` and ``cluster_header`` may be specified.WeightedCluster.ClusterWeight.Builder
setNameBytes(com.google.protobuf.ByteString value)
Only one of ``name`` and ``cluster_header`` may be specified.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_v3_api_msg_config.route.v3.RouteAction`.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
setRequestHeadersToRemove(int index, java.lang.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.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_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.WeightedCluster.ClusterWeight.Builder
setWeight(com.google.protobuf.UInt32Value value)
The weight of the cluster.WeightedCluster.ClusterWeight.Builder
setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
The weight of the cluster.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
hostRewriteSpecifierCase_
private int hostRewriteSpecifierCase_
-
hostRewriteSpecifier_
private java.lang.Object hostRewriteSpecifier_
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
clusterHeader_
private java.lang.Object clusterHeader_
-
weight_
private com.google.protobuf.UInt32Value weight_
-
weightBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> weightBuilder_
-
metadataMatch_
private Metadata metadataMatch_
-
metadataMatchBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> metadataMatchBuilder_
-
requestHeadersToAdd_
private java.util.List<HeaderValueOption> requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_
-
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
-
responseHeadersToAdd_
private java.util.List<HeaderValueOption> responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> responseHeadersToAddBuilder_
-
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_
-
typedPerFilterConfigConverter
private static final WeightedCluster.ClusterWeight.Builder.TypedPerFilterConfigConverter typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> typedPerFilterConfig_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public WeightedCluster.ClusterWeight.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
getDefaultInstanceForType
public WeightedCluster.ClusterWeight getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WeightedCluster.ClusterWeight build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WeightedCluster.ClusterWeight buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(WeightedCluster.ClusterWeight result)
-
buildPartial0
private void buildPartial0(WeightedCluster.ClusterWeight result)
-
buildPartialOneofs
private void buildPartialOneofs(WeightedCluster.ClusterWeight result)
-
mergeFrom
public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
mergeFrom
public WeightedCluster.ClusterWeight.Builder mergeFrom(WeightedCluster.ClusterWeight other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<WeightedCluster.ClusterWeight.Builder>
-
mergeFrom
public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>
- Throws:
java.io.IOException
-
getHostRewriteSpecifierCase
public WeightedCluster.ClusterWeight.HostRewriteSpecifierCase getHostRewriteSpecifierCase()
- Specified by:
getHostRewriteSpecifierCase
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
clearHostRewriteSpecifier
public WeightedCluster.ClusterWeight.Builder clearHostRewriteSpecifier()
-
getName
public java.lang.String getName()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1}] Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getName
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1}] Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.udpa.annotations.field_migrate) = { ... }
- Specified by:
getNameBytes
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The bytes for name.
-
setName
public WeightedCluster.ClusterWeight.Builder setName(java.lang.String value)
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1}] Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.udpa.annotations.field_migrate) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public WeightedCluster.ClusterWeight.Builder clearName()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1}] Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.udpa.annotations.field_migrate) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public WeightedCluster.ClusterWeight.Builder setNameBytes(com.google.protobuf.ByteString value)
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1}] Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.udpa.annotations.field_migrate) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getClusterHeader
public java.lang.String getClusterHeader()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1 }] Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 ``:authority`` header to represent the HTTP/1 ``Host`` header. Thus, if attempting to match on ``Host``, match on ``:authority`` instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 12 [(.validate.rules) = { ... }
- Specified by:
getClusterHeader
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The clusterHeader.
-
getClusterHeaderBytes
public com.google.protobuf.ByteString getClusterHeaderBytes()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1 }] Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 ``:authority`` header to represent the HTTP/1 ``Host`` header. Thus, if attempting to match on ``Host``, match on ``:authority`` instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 12 [(.validate.rules) = { ... }
- Specified by:
getClusterHeaderBytes
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The bytes for clusterHeader.
-
setClusterHeader
public WeightedCluster.ClusterWeight.Builder setClusterHeader(java.lang.String value)
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1 }] Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 ``:authority`` header to represent the HTTP/1 ``Host`` header. Thus, if attempting to match on ``Host``, match on ``:authority`` instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 12 [(.validate.rules) = { ... }
- Parameters:
value
- The clusterHeader to set.- Returns:
- This builder for chaining.
-
clearClusterHeader
public WeightedCluster.ClusterWeight.Builder clearClusterHeader()
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1 }] Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 ``:authority`` header to represent the HTTP/1 ``Host`` header. Thus, if attempting to match on ``Host``, match on ``:authority`` instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 12 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setClusterHeaderBytes
public WeightedCluster.ClusterWeight.Builder setClusterHeaderBytes(com.google.protobuf.ByteString value)
Only one of ``name`` and ``cluster_header`` may be specified. [#next-major-version: Need to add back the validation rule: (validate.rules).string = {min_len: 1 }] Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 ``:authority`` header to represent the HTTP/1 ``Host`` header. Thus, if attempting to match on ``Host``, match on ``:authority`` instead. .. note:: If the header appears multiple times only the first value is used.
string cluster_header = 12 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for clusterHeader to set.- Returns:
- This builder for chaining.
-
hasWeight
public boolean hasWeight()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
- Specified by:
hasWeight
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- Whether the weight field is set.
-
getWeight
public com.google.protobuf.UInt32Value getWeight()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
- Specified by:
getWeight
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The weight.
-
setWeight
public WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value value)
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
setWeight
public WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
mergeWeight
public WeightedCluster.ClusterWeight.Builder mergeWeight(com.google.protobuf.UInt32Value value)
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
clearWeight
public WeightedCluster.ClusterWeight.Builder clearWeight()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
getWeightBuilder
public com.google.protobuf.UInt32Value.Builder getWeightBuilder()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
getWeightOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
- Specified by:
getWeightOrBuilder
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getWeightFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getWeightFieldBuilder()
The weight of the cluster. This value is relative to the other clusters' weights. 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 be greater than 0, and must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value weight = 2;
-
hasMetadataMatch
public boolean hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
- Specified by:
hasMetadataMatch
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- Whether the metadataMatch field is set.
-
getMetadataMatch
public Metadata getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
- Specified by:
getMetadataMatch
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The metadataMatch.
-
setMetadataMatch
public WeightedCluster.ClusterWeight.Builder setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
setMetadataMatch
public WeightedCluster.ClusterWeight.Builder setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
mergeMetadataMatch
public WeightedCluster.ClusterWeight.Builder mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
clearMetadataMatch
public WeightedCluster.ClusterWeight.Builder clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
getMetadataMatchBuilder
public Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
getMetadataMatchOrBuilder
public MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref:`RouteAction.metadata_match <envoy_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
- Specified by:
getMetadataMatchOrBuilder
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getMetadataMatchFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> getMetadataMatchFieldBuilder()
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_v3_api_field_config.route.v3.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as ``envoy.lb``.
.envoy.config.core.v3.Metadata metadata_match = 3;
-
ensureRequestHeadersToAddIsMutable
private void ensureRequestHeadersToAddIsMutable()
-
getRequestHeadersToAddList
public java.util.List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddList
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddCount
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getRequestHeadersToAdd
public HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAdd
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
setRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(HeaderValueOption value)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder clearRequestHeadersToAdd()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
public WeightedCluster.ClusterWeight.Builder removeRequestHeadersToAdd(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilder
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getRequestHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilderList
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 4 [(.validate.rules) = { ... }
-
getRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getRequestHeadersToAddFieldBuilder()
-
ensureRequestHeadersToRemoveIsMutable
private void ensureRequestHeadersToRemoveIsMutable()
-
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveList
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveCount
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public java.lang.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_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemove
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveBytes
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
public WeightedCluster.ClusterWeight.Builder setRequestHeadersToRemove(int index, java.lang.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_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToRemove(java.lang.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_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Parameters:
value
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public WeightedCluster.ClusterWeight.Builder addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.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_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Parameters:
values
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public WeightedCluster.ClusterWeight.Builder clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public WeightedCluster.ClusterWeight.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string request_headers_to_remove = 9 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
ensureResponseHeadersToAddIsMutable
private void ensureResponseHeadersToAddIsMutable()
-
getResponseHeadersToAddList
public java.util.List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddList
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddCount
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getResponseHeadersToAdd
public HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAdd
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
setResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
setResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(HeaderValueOption value)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addAllResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
clearResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder clearResponseHeadersToAdd()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
removeResponseHeadersToAdd
public WeightedCluster.ClusterWeight.Builder removeResponseHeadersToAdd(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilder
public HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
getResponseHeadersToAddOrBuilder
public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilder
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getResponseHeadersToAddOrBuilderList
public java.util.List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilderList
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.Route`, :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`, and :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 5 [(.validate.rules) = { ... }
-
getResponseHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getResponseHeadersToAddFieldBuilder()
-
ensureResponseHeadersToRemoveIsMutable
private void ensureResponseHeadersToRemoveIsMutable()
-
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveList
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveCount
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public java.lang.String getResponseHeadersToRemove(int index)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemove
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveBytes
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
public WeightedCluster.ClusterWeight.Builder setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToRemove(java.lang.String value)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public WeightedCluster.ClusterWeight.Builder addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Parameters:
values
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public WeightedCluster.ClusterWeight.Builder clearResponseHeadersToRemove()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public WeightedCluster.ClusterWeight.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`.
repeated string response_headers_to_remove = 6 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetTypedPerFilterConfig()
-
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetMutableTypedPerFilterConfig()
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()
Description copied from interface:WeightedCluster.ClusterWeightOrBuilder
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
- Specified by:
getTypedPerFilterConfigCount
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
containsTypedPerFilterConfig
public boolean containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
- Specified by:
containsTypedPerFilterConfig
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()
instead.- Specified by:
getTypedPerFilterConfig
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getTypedPerFilterConfigMap
public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
- Specified by:
getTypedPerFilterConfigMap
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
- Specified by:
getTypedPerFilterConfigOrDefault
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
getTypedPerFilterConfigOrThrow
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
- Specified by:
getTypedPerFilterConfigOrThrow
in interfaceWeightedCluster.ClusterWeightOrBuilder
-
clearTypedPerFilterConfig
public WeightedCluster.ClusterWeight.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public WeightedCluster.ClusterWeight.Builder removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
-
getMutableTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public WeightedCluster.ClusterWeight.Builder putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
-
putAllTypedPerFilterConfig
public WeightedCluster.ClusterWeight.Builder putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
-
putTypedPerFilterConfigBuilderIfAbsent
public com.google.protobuf.Any.Builder putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide weighted cluster specific per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 10;
-
hasHostRewriteLiteral
public boolean hasHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Specified by:
hasHostRewriteLiteral
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- Whether the hostRewriteLiteral field is set.
-
getHostRewriteLiteral
public java.lang.String getHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Specified by:
getHostRewriteLiteral
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The hostRewriteLiteral.
-
getHostRewriteLiteralBytes
public com.google.protobuf.ByteString getHostRewriteLiteralBytes()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Specified by:
getHostRewriteLiteralBytes
in interfaceWeightedCluster.ClusterWeightOrBuilder
- Returns:
- The bytes for hostRewriteLiteral.
-
setHostRewriteLiteral
public WeightedCluster.ClusterWeight.Builder setHostRewriteLiteral(java.lang.String value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The hostRewriteLiteral to set.- Returns:
- This builder for chaining.
-
clearHostRewriteLiteral
public WeightedCluster.ClusterWeight.Builder clearHostRewriteLiteral()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
setHostRewriteLiteralBytes
public WeightedCluster.ClusterWeight.Builder setHostRewriteLiteralBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite_literal = 11 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes for hostRewriteLiteral to set.- Returns:
- This builder for chaining.
-
-