public static final class TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder> implements TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilder
Allows for specification of multiple upstream clusters along with weights that indicate the percentage of traffic to be forwarded to each cluster. The router selects an upstream cluster based on these weights.Protobuf type
envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedClustergetAllFields, 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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder mergeFrom(TcpProxyOuterClass.TcpProxy.WeightedCluster other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public TcpProxyOuterClass.TcpProxy.WeightedCluster.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<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>IOExceptionpublic List<TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight> getClustersList()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }getClustersList in interface TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilderpublic int getClustersCount()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }getClustersCount in interface TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight getClusters(int index)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }getClusters in interface TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder setClusters(int index, TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight value)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder setClusters(int index, TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder builderForValue)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder addClusters(TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight value)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder addClusters(int index, TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight value)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder addClusters(TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder builderForValue)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder addClusters(int index, TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder builderForValue)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder addAllClusters(Iterable<? extends TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight> values)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder clearClusters()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder removeClusters(int index)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder getClustersBuilder(int index)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeightOrBuilder getClustersOrBuilder(int index)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }getClustersOrBuilder in interface TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilderpublic List<? extends TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeightOrBuilder> getClustersOrBuilderList()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }getClustersOrBuilderList in interface TcpProxyOuterClass.TcpProxy.WeightedClusterOrBuilderpublic TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder addClustersBuilder()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder addClustersBuilder(int index)
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public List<TcpProxyOuterClass.TcpProxy.WeightedCluster.ClusterWeight.Builder> getClustersBuilderList()
Specifies one or more upstream clusters associated with the route.
repeated .envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight clusters = 1 [(.validate.rules) = { ... }public final TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>public final TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxyOuterClass.TcpProxy.WeightedCluster.Builder>Copyright © 2018 The Envoy Project. All rights reserved.