public static final class EndpointOuterClass.LocalityLbEndpoints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder> implements EndpointOuterClass.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 |
|---|---|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addAllLbEndpoints(Iterable<? extends EndpointOuterClass.LbEndpoint> values)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addLbEndpoints(EndpointOuterClass.LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addLbEndpoints(EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addLbEndpoints(int index,
EndpointOuterClass.LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addLbEndpoints(int index,
EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LbEndpoint.Builder |
addLbEndpointsBuilder()
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LbEndpoint.Builder |
addLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointOuterClass.LocalityLbEndpoints |
build() |
EndpointOuterClass.LocalityLbEndpoints |
buildPartial() |
EndpointOuterClass.LocalityLbEndpoints.Builder |
clear() |
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearLbEndpoints()
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearLocality()
Identifies location of where the upstream hosts run.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
clearPriority()
Optional: the priority for this LocalityLbEndpoints.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
clone() |
EndpointOuterClass.LocalityLbEndpoints |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
EndpointOuterClass.LbEndpoint |
getLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LbEndpoint.Builder |
getLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
|
List<EndpointOuterClass.LbEndpoint.Builder> |
getLbEndpointsBuilderList()
The group of endpoints belonging to the locality specified.
|
int |
getLbEndpointsCount()
The group of endpoints belonging to the locality specified.
|
List<EndpointOuterClass.LbEndpoint> |
getLbEndpointsList()
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LbEndpointOrBuilder |
getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified.
|
List<? extends EndpointOuterClass.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.
|
Base.Locality |
getLocality()
Identifies location of where the upstream hosts run.
|
Base.Locality.Builder |
getLocalityBuilder()
Identifies location of where the upstream hosts run.
|
Base.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() |
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeFrom(EndpointOuterClass.LocalityLbEndpoints other) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeFrom(com.google.protobuf.Message other) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeLocality(Base.Locality value)
Identifies location of where the upstream hosts run.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
removeLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLbEndpoints(int index,
EndpointOuterClass.LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLbEndpoints(int index,
EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLoadBalancingWeight(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight - range 1-128.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLocality(Base.Locality.Builder builderForValue)
Identifies location of where the upstream hosts run.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setLocality(Base.Locality value)
Identifies location of where the upstream hosts run.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setPriority(int value)
Optional: the priority for this LocalityLbEndpoints.
|
EndpointOuterClass.LocalityLbEndpoints.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.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<EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.LocalityLbEndpoints getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic EndpointOuterClass.LocalityLbEndpoints build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic EndpointOuterClass.LocalityLbEndpoints buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.LocalityLbEndpoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.LocalityLbEndpoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.LocalityLbEndpoints.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.LocalityLbEndpoints.Builder mergeFrom(EndpointOuterClass.LocalityLbEndpoints other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>public EndpointOuterClass.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<EndpointOuterClass.LocalityLbEndpoints.Builder>IOExceptionpublic boolean hasLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;hasLocality in interface EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic Base.Locality getLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;getLocality in interface EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.LocalityLbEndpoints.Builder setLocality(Base.Locality value)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public EndpointOuterClass.LocalityLbEndpoints.Builder setLocality(Base.Locality.Builder builderForValue)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public EndpointOuterClass.LocalityLbEndpoints.Builder mergeLocality(Base.Locality value)
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public EndpointOuterClass.LocalityLbEndpoints.Builder clearLocality()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public Base.Locality.Builder getLocalityBuilder()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;public Base.LocalityOrBuilder getLocalityOrBuilder()
Identifies location of where the upstream hosts run.
.envoy.api.v2.core.Locality locality = 1;getLocalityOrBuilder in interface EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic List<EndpointOuterClass.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 EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.LocalityLbEndpoints.Builder setLbEndpoints(int index, EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpoints.Builder setLbEndpoints(int index, EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpoints.Builder addLbEndpoints(EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpoints.Builder addLbEndpoints(int index, EndpointOuterClass.LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.LocalityLbEndpoints.Builder addLbEndpoints(EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpoints.Builder addLbEndpoints(int index, EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpoints.Builder addAllLbEndpoints(Iterable<? extends EndpointOuterClass.LbEndpoint> values)
The group of endpoints belonging to the locality specified.
repeated .envoy.api.v2.endpoint.LbEndpoint lb_endpoints = 2 [(.gogoproto.nullable) = false];public EndpointOuterClass.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 EndpointOuterClass.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 EndpointOuterClass.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 EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic List<? extends EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.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 EndpointOuterClass.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<EndpointOuterClass.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 specificed 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 EndpointOuterClass.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 specificed 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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.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 specificed 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 EndpointOuterClass.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 specificed 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 EndpointOuterClass.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 specificed 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 EndpointOuterClass.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 specificed 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 specificed 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 specificed 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 EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpointsOrBuilderpublic EndpointOuterClass.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 EndpointOuterClass.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 EndpointOuterClass.LocalityLbEndpoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>public final EndpointOuterClass.LocalityLbEndpoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EndpointOuterClass.LocalityLbEndpoints.Builder>Copyright © 2018 The Envoy Project. All rights reserved.