public static final class WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder> implements WeightedCluster.ClusterWeightOrBuilder
envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight| Modifier and Type | Method and Description |
|---|---|
WeightedCluster.ClusterWeight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WeightedCluster.ClusterWeight |
build() |
WeightedCluster.ClusterWeight |
buildPartial() |
WeightedCluster.ClusterWeight.Builder |
clear() |
WeightedCluster.ClusterWeight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WeightedCluster.ClusterWeight.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
clearName()
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WeightedCluster.ClusterWeight.Builder |
clearWeight()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
WeightedCluster.ClusterWeight.Builder |
clone() |
WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
String |
getName()
Name of the upstream cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the upstream cluster.
|
com.google.protobuf.UInt32Value |
getWeight()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
com.google.protobuf.UInt32Value.Builder |
getWeightBuilder()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
com.google.protobuf.UInt32ValueOrBuilder |
getWeightOrBuilder()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
boolean |
hasWeight()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.Message other) |
WeightedCluster.ClusterWeight.Builder |
mergeFrom(WeightedCluster.ClusterWeight other) |
WeightedCluster.ClusterWeight.Builder |
mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WeightedCluster.ClusterWeight.Builder |
mergeWeight(com.google.protobuf.UInt32Value value)
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
WeightedCluster.ClusterWeight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
WeightedCluster.ClusterWeight.Builder |
setName(String value)
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
|
WeightedCluster.ClusterWeight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WeightedCluster.ClusterWeight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WeightedCluster.ClusterWeight.Builder |
setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
WeightedCluster.ClusterWeight.Builder |
setWeight(com.google.protobuf.UInt32Value value)
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic WeightedCluster.ClusterWeight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic WeightedCluster.ClusterWeight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic WeightedCluster.ClusterWeight.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder mergeFrom(WeightedCluster.ClusterWeight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<WeightedCluster.ClusterWeight.Builder>IOExceptionpublic String getName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getName in interface WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface WeightedCluster.ClusterWeightOrBuilderpublic WeightedCluster.ClusterWeight.Builder setName(String value)
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public WeightedCluster.ClusterWeight.Builder clearName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public WeightedCluster.ClusterWeight.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public boolean hasWeight()
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }hasWeight in interface WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.UInt32Value getWeight()
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }getWeight in interface WeightedCluster.ClusterWeightOrBuilderpublic WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value value)
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }public WeightedCluster.ClusterWeight.Builder setWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }public WeightedCluster.ClusterWeight.Builder mergeWeight(com.google.protobuf.UInt32Value value)
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }public WeightedCluster.ClusterWeight.Builder clearWeight()
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }public com.google.protobuf.UInt32Value.Builder getWeightBuilder()
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }public com.google.protobuf.UInt32ValueOrBuilder getWeightOrBuilder()
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 determines the total weight.
.google.protobuf.UInt32Value weight = 2 [(.validate.rules) = { ... }getWeightOrBuilder in interface 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, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;hasMetadataMatch in interface WeightedCluster.ClusterWeightOrBuilderpublic 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, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatch in interface WeightedCluster.ClusterWeightOrBuilderpublic 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, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;public WeightedCluster.ClusterWeight.Builder setMetadataMatch(Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;public WeightedCluster.ClusterWeight.Builder mergeMetadataMatch(Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;public WeightedCluster.ClusterWeight.Builder clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;public Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;public MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, combined with what's provided in :ref:`RouteAction's metadata_match <envoy_api_field_config.filter.network.thrift_proxy.v2alpha1.RouteAction.metadata_match>`, will be considered. Values here will take precedence. Keys and values should be provided under the "envoy.lb" metadata key.
.envoy.api.v2.core.Metadata metadata_match = 3;getMetadataMatchOrBuilder in interface WeightedCluster.ClusterWeightOrBuilderpublic final WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>public final WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WeightedCluster.ClusterWeight.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.