public static final class TcpProxy.WeightedCluster.ClusterWeight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.WeightedCluster.ClusterWeight.Builder> implements TcpProxy.WeightedCluster.ClusterWeightOrBuilder
envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster.ClusterWeight| Modifier and Type | Method and Description |
|---|---|
TcpProxy.WeightedCluster.ClusterWeight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TcpProxy.WeightedCluster.ClusterWeight |
build() |
TcpProxy.WeightedCluster.ClusterWeight |
buildPartial() |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clear() |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clearName()
Name of the upstream cluster.
|
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clearWeight()
When a request matches the route, the choice of an upstream cluster is
determined by its weight.
|
TcpProxy.WeightedCluster.ClusterWeight.Builder |
clone() |
TcpProxy.WeightedCluster.ClusterWeight |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the upstream cluster.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the upstream cluster.
|
int |
getWeight()
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() |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
mergeFrom(com.google.protobuf.Message other) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
mergeFrom(TcpProxy.WeightedCluster.ClusterWeight other) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setName(String value)
Name of the upstream cluster.
|
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
|
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TcpProxy.WeightedCluster.ClusterWeight.Builder |
setWeight(int 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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.WeightedCluster.ClusterWeight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TcpProxy.WeightedCluster.ClusterWeight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TcpProxy.WeightedCluster.ClusterWeight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.WeightedCluster.ClusterWeight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.WeightedCluster.ClusterWeight.Builder mergeFrom(TcpProxy.WeightedCluster.ClusterWeight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.WeightedCluster.ClusterWeight.Builder>public TcpProxy.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<TcpProxy.WeightedCluster.ClusterWeight.Builder>IOExceptionpublic String getName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getName in interface TcpProxy.WeightedCluster.ClusterWeightOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface TcpProxy.WeightedCluster.ClusterWeightOrBuilderpublic TcpProxy.WeightedCluster.ClusterWeight.Builder setName(String value)
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public TcpProxy.WeightedCluster.ClusterWeight.Builder clearName()
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public TcpProxy.WeightedCluster.ClusterWeight.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the upstream cluster.
string name = 1 [(.validate.rules) = { ... }public int 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.
uint32 weight = 2 [(.validate.rules) = { ... }getWeight in interface TcpProxy.WeightedCluster.ClusterWeightOrBuilderpublic TcpProxy.WeightedCluster.ClusterWeight.Builder setWeight(int 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.
uint32 weight = 2 [(.validate.rules) = { ... }public TcpProxy.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.
uint32 weight = 2 [(.validate.rules) = { ... }public final TcpProxy.WeightedCluster.ClusterWeight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.WeightedCluster.ClusterWeight.Builder>public final TcpProxy.WeightedCluster.ClusterWeight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.WeightedCluster.ClusterWeight.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.