public static final class RouteOuterClass.WeightedCluster.ClusterWeight extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.WeightedCluster.ClusterWeightOrBuilder
envoy.api.v2.route.WeightedCluster.ClusterWeight| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder
Protobuf type
envoy.api.v2.route.WeightedCluster.ClusterWeight |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
METADATA_MATCH_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PER_FILTER_CONFIG_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
WEIGHT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
boolean |
equals(Object obj) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
getDefaultInstance() |
RouteOuterClass.WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Base.Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
String |
getName()
Name of the upstream cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the upstream cluster.
|
com.google.protobuf.Parser<RouteOuterClass.WeightedCluster.ClusterWeight> |
getParserForType() |
Map<String,com.google.protobuf.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrDefault(String key,
com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide weighted cluster-specific
configurations for filters.
|
Base.HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
int |
getRequestHeadersToAddCount()
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
List<Base.HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
Base.HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
String |
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request when
this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
com.google.protobuf.ByteString |
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request when
this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
int |
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request when
this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
com.google.protobuf.ProtocolStringList |
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request when
this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
Base.HeaderValueOption |
getResponseHeadersToAdd(int index)
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
int |
getResponseHeadersToAddCount()
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
List<Base.HeaderValueOption> |
getResponseHeadersToAddList()
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
Base.HeaderValueOptionOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
String |
getResponseHeadersToRemove(int index)
Specifies a list of headers to be removed from responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
com.google.protobuf.ByteString |
getResponseHeadersToRemoveBytes(int index)
Specifies a list of headers to be removed from responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of headers to be removed from responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
com.google.protobuf.ProtocolStringList |
getResponseHeadersToRemoveList()
Specifies a list of headers to be removed from responses when this cluster is selected
through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.UInt32Value |
getWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
com.google.protobuf.UInt32ValueOrBuilder |
getWeightOrBuilder()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
int |
hashCode() |
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasWeight()
An integer between 0 and :ref:`total_weight
<envoy_api_field_route.WeightedCluster.total_weight>`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
newBuilder() |
static RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
newBuilder(RouteOuterClass.WeightedCluster.ClusterWeight prototype) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
newBuilderForType() |
protected RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(byte[] data) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(ByteBuffer data) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(InputStream input) |
static RouteOuterClass.WeightedCluster.ClusterWeight |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.WeightedCluster.ClusterWeight> |
parser() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int WEIGHT_FIELD_NUMBER
public static final int METADATA_MATCH_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int PER_FILTER_CONFIG_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.validate.rules) = { ... }getName in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the upstream cluster. The cluster must exist in the :ref:`cluster manager configuration <config_cluster_manager>`.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic boolean hasWeight()
An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route, the choice of an upstream cluster is determined by its weight. The sum of weights across all entries in the clusters array must add up to the total_weight, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;hasWeight in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.UInt32Value getWeight()
An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route, the choice of an upstream cluster is determined by its weight. The sum of weights across all entries in the clusters array must add up to the total_weight, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;getWeight in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
An integer between 0 and :ref:`total_weight <envoy_api_field_route.WeightedCluster.total_weight>`. When a request matches the route, the choice of an upstream cluster is determined by its weight. The sum of weights across all entries in the clusters array must add up to the total_weight, which defaults to 100.
.google.protobuf.UInt32Value weight = 2;getWeightOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic boolean hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref: `RouteAction.MetadataMatch <envoy_api_field_route.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 3;hasMetadataMatch in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.Metadata getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref: `RouteAction.MetadataMatch <envoy_api_field_route.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatch in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field will be considered for load balancing. Note that this will be merged with what's provided in :ref: `RouteAction.MetadataMatch <envoy_api_field_route.RouteAction.metadata_match>`, with values here taking precedence. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatchOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<Base.HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4;getRequestHeadersToAddList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<? extends Base.HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4;getRequestHeadersToAddOrBuilderList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic int getRequestHeadersToAddCount()
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4;getRequestHeadersToAddCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4;getRequestHeadersToAdd in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to requests when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 4;getRequestHeadersToAddOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string request_headers_to_remove = 9;getRequestHeadersToRemoveList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string request_headers_to_remove = 9;getRequestHeadersToRemoveCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string request_headers_to_remove = 9;getRequestHeadersToRemove in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string request_headers_to_remove = 9;getRequestHeadersToRemoveBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<Base.HeaderValueOption> getResponseHeadersToAddList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5;getResponseHeadersToAddList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic List<? extends Base.HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5;getResponseHeadersToAddOrBuilderList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic int getResponseHeadersToAddCount()
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5;getResponseHeadersToAddCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5;getResponseHeadersToAdd in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Base.HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a list of headers to be added to responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.Route`, :ref:`envoy_api_msg_route.VirtualHost`, and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 5;getResponseHeadersToAddOrBuilder in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string response_headers_to_remove = 6;getResponseHeadersToRemoveList in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic int getResponseHeadersToRemoveCount()
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string response_headers_to_remove = 6;getResponseHeadersToRemoveCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic String getResponseHeadersToRemove(int index)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string response_headers_to_remove = 6;getResponseHeadersToRemove in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of headers to be removed from responses when this cluster is selected through the enclosing :ref:`envoy_api_msg_route.RouteAction`.
repeated string response_headers_to_remove = 6;getResponseHeadersToRemoveBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic int getPerFilterConfigCount()
RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderThe per_filter_config field can be used to provide weighted cluster-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8;getPerFilterConfigCount in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic boolean containsPerFilterConfig(String key)
The per_filter_config field can be used to provide weighted cluster-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8;containsPerFilterConfig in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.getPerFilterConfig in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic Map<String,com.google.protobuf.Struct> getPerFilterConfigMap()
The per_filter_config field can be used to provide weighted cluster-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8;getPerFilterConfigMap in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide weighted cluster-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8;getPerFilterConfigOrDefault in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.Struct getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide weighted cluster-specific configurations for filters. The key should match the filter name, such as *envoy.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8;getPerFilterConfigOrThrow in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.WeightedCluster.ClusterWeight parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.WeightedCluster.ClusterWeight.Builder newBuilder()
public static RouteOuterClass.WeightedCluster.ClusterWeight.Builder newBuilder(RouteOuterClass.WeightedCluster.ClusterWeight prototype)
public RouteOuterClass.WeightedCluster.ClusterWeight.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.WeightedCluster.ClusterWeight.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.WeightedCluster.ClusterWeight getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.WeightedCluster.ClusterWeight> parser()
public com.google.protobuf.Parser<RouteOuterClass.WeightedCluster.ClusterWeight> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.