public static final class LocalityLbEndpoints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder> implements LocalityLbEndpointsOrBuilder
A group of endpoints belonging to a Locality. One can have multiple LocalityLbEndpoints for a locality, but this is generally only done if the different groups need to have different load balancing weights or different priorities.Protobuf type
envoy.api.v2.endpoint.LocalityLbEndpoints| Modifier and Type | Method and Description |
|---|---|
LocalityLbEndpoints.Builder |
addAllLbEndpoints(Iterable<? extends LbEndpoint> values)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
addLbEndpoints(int index,
LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
addLbEndpoints(int index,
LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
addLbEndpoints(LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
addLbEndpoints(LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
LbEndpoint.Builder |
addLbEndpointsBuilder()
The group of endpoints belonging to the locality specified.
|
LbEndpoint.Builder |
addLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocalityLbEndpoints |
build() |
LocalityLbEndpoints |
buildPartial() |
LocalityLbEndpoints.Builder |
clear() |
LocalityLbEndpoints.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LocalityLbEndpoints.Builder |
clearLbEndpoints()
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
clearLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
LocalityLbEndpoints.Builder |
clearLocality()
Identifies location of where the upstream hosts run.
|
LocalityLbEndpoints.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LocalityLbEndpoints.Builder |
clearPriority()
Optional: the priority for this LocalityLbEndpoints.
|
LocalityLbEndpoints.Builder |
clone() |
LocalityLbEndpoints |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
LbEndpoint |
getLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
|
LbEndpoint.Builder |
getLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
|
List<LbEndpoint.Builder> |
getLbEndpointsBuilderList()
The group of endpoints belonging to the locality specified.
|
int |
getLbEndpointsCount()
The group of endpoints belonging to the locality specified.
|
List<LbEndpoint> |
getLbEndpointsList()
The group of endpoints belonging to the locality specified.
|
LbEndpointOrBuilder |
getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified.
|
List<? extends LbEndpointOrBuilder> |
getLbEndpointsOrBuilderList()
The group of endpoints belonging to the locality specified.
|
com.google.protobuf.UInt32Value |
getLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
com.google.protobuf.UInt32Value.Builder |
getLoadBalancingWeightBuilder()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
com.google.protobuf.UInt32ValueOrBuilder |
getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
Locality |
getLocality()
Identifies location of where the upstream hosts run.
|
Locality.Builder |
getLocalityBuilder()
Identifies location of where the upstream hosts run.
|
LocalityOrBuilder |
getLocalityOrBuilder()
Identifies location of where the upstream hosts run.
|
int |
getPriority()
Optional: the priority for this LocalityLbEndpoints.
|
boolean |
hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
boolean |
hasLocality()
Identifies location of where the upstream hosts run.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LocalityLbEndpoints.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LocalityLbEndpoints.Builder |
mergeFrom(LocalityLbEndpoints other) |
LocalityLbEndpoints.Builder |
mergeFrom(com.google.protobuf.Message other) |
LocalityLbEndpoints.Builder |
mergeLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
LocalityLbEndpoints.Builder |
mergeLocality(Locality value)
Identifies location of where the upstream hosts run.
|
LocalityLbEndpoints.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LocalityLbEndpoints.Builder |
removeLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LocalityLbEndpoints.Builder |
setLbEndpoints(int index,
LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
setLbEndpoints(int index,
LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
LocalityLbEndpoints.Builder |
setLoadBalancingWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
LocalityLbEndpoints.Builder |
setLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
LocalityLbEndpoints.Builder |
setLocality(Locality.Builder builderForValue)
Identifies location of where the upstream hosts run.
|
LocalityLbEndpoints.Builder |
setLocality(Locality value)
Identifies location of where the upstream hosts run.
|
LocalityLbEndpoints.Builder |
setPriority(int value)
Optional: the priority for this LocalityLbEndpoints.
|
LocalityLbEndpoints.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LocalityLbEndpoints.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.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<LocalityLbEndpoints.Builder>public LocalityLbEndpoints getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LocalityLbEndpoints build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LocalityLbEndpoints buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LocalityLbEndpoints.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.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<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.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<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.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<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.Builder mergeFrom(LocalityLbEndpoints other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>public LocalityLbEndpoints.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<LocalityLbEndpoints.Builder>IOExceptionpublic boolean hasLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;hasLocality in interface LocalityLbEndpointsOrBuilderpublic Locality getLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;getLocality in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setLocality(Locality value)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public LocalityLbEndpoints.Builder setLocality(Locality.Builder builderForValue)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public LocalityLbEndpoints.Builder mergeLocality(Locality value)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public LocalityLbEndpoints.Builder clearLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public Locality.Builder getLocalityBuilder()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public LocalityOrBuilder getLocalityOrBuilder()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;getLocalityOrBuilder in interface LocalityLbEndpointsOrBuilderpublic List<LbEndpoint> getLbEndpointsList()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];getLbEndpointsList in interface LocalityLbEndpointsOrBuilderpublic int getLbEndpointsCount()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];getLbEndpointsCount in interface LocalityLbEndpointsOrBuilderpublic LbEndpoint getLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];getLbEndpoints in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setLbEndpoints(int index, LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder setLbEndpoints(int index, LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder addLbEndpoints(LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder addLbEndpoints(int index, LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder addLbEndpoints(LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder addLbEndpoints(int index, LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder addAllLbEndpoints(Iterable<? extends LbEndpoint> values)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder clearLbEndpoints()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LocalityLbEndpoints.Builder removeLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LbEndpoint.Builder getLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LbEndpointOrBuilder getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];getLbEndpointsOrBuilder in interface LocalityLbEndpointsOrBuilderpublic List<? extends LbEndpointOrBuilder> getLbEndpointsOrBuilderList()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];getLbEndpointsOrBuilderList in interface LocalityLbEndpointsOrBuilderpublic LbEndpoint.Builder addLbEndpointsBuilder()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public LbEndpoint.Builder addLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public List<LbEndpoint.Builder> getLbEndpointsBuilderList()
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public boolean hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }hasLoadBalancingWeight in interface LocalityLbEndpointsOrBuilderpublic com.google.protobuf.UInt32Value getLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }getLoadBalancingWeight in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public LocalityLbEndpoints.Builder setLoadBalancingWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public LocalityLbEndpoints.Builder mergeLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public LocalityLbEndpoints.Builder clearLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32Value.Builder getLoadBalancingWeightBuilder()
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight - range 1-128. The load balancing weight for a locality is divided by the sum of the weights of all localities at the same priority level to produce the effective percentage of traffic for the locality. Locality weights are only considered when :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>` is configured. These weights are ignored otherwise. If no weights are specified when locality weighted load balancing is enabled, the cluster is assumed to have a weight of 1. .. attention:: The limit of 128 is somewhat arbitrary, but is applied due to performance concerns with the current implementation and can be removed when `this issue <https://github.com/envoyproxy/envoy/issues/1285>`_ is fixed.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }getLoadBalancingWeightOrBuilder in interface LocalityLbEndpointsOrBuilderpublic int getPriority()
Optional: the priority for this LocalityLbEndpoints. If unspecified this will default to the highest priority (0). Under usual circumstances, Envoy will only select endpoints for the highest priority (0). In the event all endpoints for a particular priority are unavailable/unhealthy, Envoy will fail over to selecting endpoints for the next highest priority group. Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(.validate.rules) = { ... }getPriority in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setPriority(int value)
Optional: the priority for this LocalityLbEndpoints. If unspecified this will default to the highest priority (0). Under usual circumstances, Envoy will only select endpoints for the highest priority (0). In the event all endpoints for a particular priority are unavailable/unhealthy, Envoy will fail over to selecting endpoints for the next highest priority group. Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(.validate.rules) = { ... }public LocalityLbEndpoints.Builder clearPriority()
Optional: the priority for this LocalityLbEndpoints. If unspecified this will default to the highest priority (0). Under usual circumstances, Envoy will only select endpoints for the highest priority (0). In the event all endpoints for a particular priority are unavailable/unhealthy, Envoy will fail over to selecting endpoints for the next highest priority group. Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(.validate.rules) = { ... }public final LocalityLbEndpoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>public final LocalityLbEndpoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LocalityLbEndpoints.Builder>Copyright © 2018–2019 The Envoy Project. All rights reserved.