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. [#next-free-field: 7]Protobuf type
envoy.config.endpoint.v3.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; at least 1.
|
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 |
clearProximity()
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
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; at least 1.
|
com.google.protobuf.UInt32Value.Builder |
getLoadBalancingWeightBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1.
|
com.google.protobuf.UInt32ValueOrBuilder |
getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1.
|
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.
|
com.google.protobuf.UInt32Value |
getProximity()
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
com.google.protobuf.UInt32Value.Builder |
getProximityBuilder()
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
com.google.protobuf.UInt32ValueOrBuilder |
getProximityOrBuilder()
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
boolean |
hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1.
|
boolean |
hasLocality()
Identifies location of where the upstream hosts run.
|
boolean |
hasProximity()
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
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; at least 1.
|
LocalityLbEndpoints.Builder |
mergeLocality(Locality value)
Identifies location of where the upstream hosts run.
|
LocalityLbEndpoints.Builder |
mergeProximity(com.google.protobuf.UInt32Value value)
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
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; at least 1.
|
LocalityLbEndpoints.Builder |
setLoadBalancingWeight(com.google.protobuf.UInt32Value value)
Optional: Per priority/region/zone/sub_zone weight; at least 1.
|
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 |
setProximity(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
LocalityLbEndpoints.Builder |
setProximity(com.google.protobuf.UInt32Value value)
Optional: Per locality proximity value which indicates how close this
locality is from the source locality.
|
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.config.core.v3.Locality locality = 1;hasLocality in interface LocalityLbEndpointsOrBuilderpublic Locality getLocality()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;getLocality in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setLocality(Locality value)
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;public LocalityLbEndpoints.Builder setLocality(Locality.Builder builderForValue)
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;public LocalityLbEndpoints.Builder mergeLocality(Locality value)
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;public LocalityLbEndpoints.Builder clearLocality()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;public Locality.Builder getLocalityBuilder()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;public LocalityOrBuilder getLocalityOrBuilder()
Identifies location of where the upstream hosts run.
.envoy.config.core.v3.Locality locality = 1;getLocalityOrBuilder in interface LocalityLbEndpointsOrBuilderpublic List<LbEndpoint> getLbEndpointsList()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;getLbEndpointsList in interface LocalityLbEndpointsOrBuilderpublic int getLbEndpointsCount()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;getLbEndpointsCount in interface LocalityLbEndpointsOrBuilderpublic LbEndpoint getLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;getLbEndpoints in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setLbEndpoints(int index, LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder setLbEndpoints(int index, LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder addLbEndpoints(LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder addLbEndpoints(int index, LbEndpoint value)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder addLbEndpoints(LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder addLbEndpoints(int index, LbEndpoint.Builder builderForValue)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder addAllLbEndpoints(Iterable<? extends LbEndpoint> values)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder clearLbEndpoints()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LocalityLbEndpoints.Builder removeLbEndpoints(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LbEndpoint.Builder getLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LbEndpointOrBuilder getLbEndpointsOrBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;getLbEndpointsOrBuilder in interface LocalityLbEndpointsOrBuilderpublic List<? extends LbEndpointOrBuilder> getLbEndpointsOrBuilderList()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;getLbEndpointsOrBuilderList in interface LocalityLbEndpointsOrBuilderpublic LbEndpoint.Builder addLbEndpointsBuilder()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public LbEndpoint.Builder addLbEndpointsBuilder(int index)
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public List<LbEndpoint.Builder> getLbEndpointsBuilderList()
The group of endpoints belonging to the locality specified.
repeated .envoy.config.endpoint.v3.LbEndpoint lb_endpoints = 2;public boolean hasLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.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; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.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; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.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; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.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; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public LocalityLbEndpoints.Builder clearLoadBalancingWeight()
Optional: Per priority/region/zone/sub_zone weight; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32Value.Builder getLoadBalancingWeightBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.google.protobuf.UInt32Value load_balancing_weight = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()
Optional: Per priority/region/zone/sub_zone weight; at least 1. 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. The sum of the weights of all localities at the same priority level must not exceed uint32_t maximal value (4294967295). 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 locality is assigned no load.
.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 boolean hasProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;hasProximity in interface LocalityLbEndpointsOrBuilderpublic com.google.protobuf.UInt32Value getProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;getProximity in interface LocalityLbEndpointsOrBuilderpublic LocalityLbEndpoints.Builder setProximity(com.google.protobuf.UInt32Value value)
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;public LocalityLbEndpoints.Builder setProximity(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;public LocalityLbEndpoints.Builder mergeProximity(com.google.protobuf.UInt32Value value)
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;public LocalityLbEndpoints.Builder clearProximity()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;public com.google.protobuf.UInt32Value.Builder getProximityBuilder()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;public com.google.protobuf.UInt32ValueOrBuilder getProximityOrBuilder()
Optional: Per locality proximity value which indicates how close this locality is from the source locality. This value only provides ordering information (lower the value, closer it is to the source locality). This will be consumed by load balancing schemes that need proximity order to determine where to route the requests. [#not-implemented-hide:]
.google.protobuf.UInt32Value proximity = 6;getProximityOrBuilder in interface LocalityLbEndpointsOrBuilderpublic 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–2021 The Envoy Project. All rights reserved.