public static final class RouteOuterClass.WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder> implements RouteOuterClass.WeightedCluster.ClusterWeightOrBuilder
envoy.config.filter.network.thrift_proxy.v2alpha1.WeightedCluster.ClusterWeight| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight |
build() |
RouteOuterClass.WeightedCluster.ClusterWeight |
buildPartial() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clear() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearName()
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clearWeight()
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
clone() |
RouteOuterClass.WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Base.Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
Base.MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria used by the subset load balancer.
|
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() |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeFrom(RouteOuterClass.WeightedCluster.ClusterWeight other) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
mergeWeight(com.google.protobuf.UInt32Value value)
When a request matches the route, the choice of an upstream cluster is determined by its
weight.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Base.Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setName(String value)
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
|
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.WeightedCluster.ClusterWeight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.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.
|
RouteOuterClass.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<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.WeightedCluster.ClusterWeight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(RouteOuterClass.WeightedCluster.ClusterWeight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>IOExceptionpublic String getName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getName in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder setName(String value)
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 RouteOuterClass.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 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, 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 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, 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 RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic RouteOuterClass.WeightedCluster.ClusterWeight.Builder setMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, 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 RouteOuterClass.WeightedCluster.ClusterWeight.Builder setMetadataMatch(Base.Metadata.Builder builderForValue)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, 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 RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, 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 RouteOuterClass.WeightedCluster.ClusterWeight.Builder clearMetadataMatch()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, 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 Base.Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria used by the subset load balancer. Only endpoints in the upstream cluster with metadata matching what is set in this field, 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 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, 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 RouteOuterClass.WeightedCluster.ClusterWeightOrBuilderpublic final RouteOuterClass.WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>public final RouteOuterClass.WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.WeightedCluster.ClusterWeight.Builder>Copyright © 2018 The Envoy Project. All rights reserved.