Class LbEndpoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LbEndpoint.Builder>
com.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
io.envoyproxy.envoy.config.endpoint.v3.LbEndpoint.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LbEndpointOrBuilder
,Cloneable
- Enclosing class:
LbEndpoint
public static final class LbEndpoint.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
implements LbEndpointOrBuilder
An Endpoint that Envoy can route traffic to. [#next-free-field: 6]Protobuf type
envoy.config.endpoint.v3.LbEndpoint
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> private int
private Object
private int
private com.google.protobuf.UInt32Value
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> private Metadata
private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(LbEndpoint result) private void
buildPartialOneofs
(LbEndpoint result) clear()
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
[#not-implemented-hide:]Optional health status when known and supplied by EDS server.The optional load balancing weight of the upstream host; at least 1.The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
private com.google.protobuf.SingleFieldBuilder
<Endpoint, Endpoint.Builder, EndpointOrBuilder> .envoy.config.endpoint.v3.Endpoint endpoint = 1;
[#not-implemented-hide:]com.google.protobuf.ByteString
[#not-implemented-hide:].envoy.config.endpoint.v3.Endpoint endpoint = 1;
Optional health status when known and supplied by EDS server.int
Optional health status when known and supplied by EDS server.com.google.protobuf.UInt32Value
The optional load balancing weight of the upstream host; at least 1.com.google.protobuf.UInt32Value.Builder
The optional load balancing weight of the upstream host; at least 1.private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> The optional load balancing weight of the upstream host; at least 1.com.google.protobuf.UInt32ValueOrBuilder
The optional load balancing weight of the upstream host; at least 1.The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.private com.google.protobuf.SingleFieldBuilder
<Metadata, Metadata.Builder, MetadataOrBuilder> The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.boolean
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
boolean
[#not-implemented-hide:]boolean
The optional load balancing weight of the upstream host; at least 1.boolean
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
mergeEndpoint
(Endpoint value) .envoy.config.endpoint.v3.Endpoint endpoint = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(LbEndpoint other) mergeLoadBalancingWeight
(com.google.protobuf.UInt32Value value) The optional load balancing weight of the upstream host; at least 1.mergeMetadata
(Metadata value) The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.setEndpoint
(Endpoint value) .envoy.config.endpoint.v3.Endpoint endpoint = 1;
setEndpoint
(Endpoint.Builder builderForValue) .envoy.config.endpoint.v3.Endpoint endpoint = 1;
setEndpointName
(String value) [#not-implemented-hide:]setEndpointNameBytes
(com.google.protobuf.ByteString value) [#not-implemented-hide:]setHealthStatus
(HealthStatus value) Optional health status when known and supplied by EDS server.setHealthStatusValue
(int value) Optional health status when known and supplied by EDS server.setLoadBalancingWeight
(com.google.protobuf.UInt32Value value) The optional load balancing weight of the upstream host; at least 1.setLoadBalancingWeight
(com.google.protobuf.UInt32Value.Builder builderForValue) The optional load balancing weight of the upstream host; at least 1.setMetadata
(Metadata value) The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.setMetadata
(Metadata.Builder builderForValue) The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
hostIdentifierCase_
private int hostIdentifierCase_ -
hostIdentifier_
-
bitField0_
private int bitField0_ -
endpointBuilder_
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, endpointBuilder_EndpointOrBuilder> -
healthStatus_
private int healthStatus_ -
metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, metadataBuilder_MetadataOrBuilder> -
loadBalancingWeight_
private com.google.protobuf.UInt32Value loadBalancingWeight_ -
loadBalancingWeightBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, loadBalancingWeightBuilder_com.google.protobuf.UInt32ValueOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
buildPartialOneofs
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LbEndpoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<LbEndpoint.Builder>
-
mergeFrom
public LbEndpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LbEndpoint.Builder>
- Throws:
IOException
-
getHostIdentifierCase
- Specified by:
getHostIdentifierCase
in interfaceLbEndpointOrBuilder
-
clearHostIdentifier
-
hasEndpoint
public boolean hasEndpoint().envoy.config.endpoint.v3.Endpoint endpoint = 1;
- Specified by:
hasEndpoint
in interfaceLbEndpointOrBuilder
- Returns:
- Whether the endpoint field is set.
-
getEndpoint
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
- Specified by:
getEndpoint
in interfaceLbEndpointOrBuilder
- Returns:
- The endpoint.
-
setEndpoint
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
setEndpoint
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
mergeEndpoint
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
clearEndpoint
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
getEndpointBuilder
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
getEndpointOrBuilder
.envoy.config.endpoint.v3.Endpoint endpoint = 1;
- Specified by:
getEndpointOrBuilder
in interfaceLbEndpointOrBuilder
-
getEndpointFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Endpoint,Endpoint.Builder, getEndpointFieldBuilder()EndpointOrBuilder> .envoy.config.endpoint.v3.Endpoint endpoint = 1;
-
hasEndpointName
public boolean hasEndpointName()[#not-implemented-hide:]
string endpoint_name = 5;
- Specified by:
hasEndpointName
in interfaceLbEndpointOrBuilder
- Returns:
- Whether the endpointName field is set.
-
getEndpointName
[#not-implemented-hide:]
string endpoint_name = 5;
- Specified by:
getEndpointName
in interfaceLbEndpointOrBuilder
- Returns:
- The endpointName.
-
getEndpointNameBytes
public com.google.protobuf.ByteString getEndpointNameBytes()[#not-implemented-hide:]
string endpoint_name = 5;
- Specified by:
getEndpointNameBytes
in interfaceLbEndpointOrBuilder
- Returns:
- The bytes for endpointName.
-
setEndpointName
[#not-implemented-hide:]
string endpoint_name = 5;
- Parameters:
value
- The endpointName to set.- Returns:
- This builder for chaining.
-
clearEndpointName
[#not-implemented-hide:]
string endpoint_name = 5;
- Returns:
- This builder for chaining.
-
setEndpointNameBytes
[#not-implemented-hide:]
string endpoint_name = 5;
- Parameters:
value
- The bytes for endpointName to set.- Returns:
- This builder for chaining.
-
getHealthStatusValue
public int getHealthStatusValue()Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;
- Specified by:
getHealthStatusValue
in interfaceLbEndpointOrBuilder
- Returns:
- The enum numeric value on the wire for healthStatus.
-
setHealthStatusValue
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;
- Parameters:
value
- The enum numeric value on the wire for healthStatus to set.- Returns:
- This builder for chaining.
-
getHealthStatus
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;
- Specified by:
getHealthStatus
in interfaceLbEndpointOrBuilder
- Returns:
- The healthStatus.
-
setHealthStatus
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;
- Parameters:
value
- The healthStatus to set.- Returns:
- This builder for chaining.
-
clearHealthStatus
Optional health status when known and supplied by EDS server.
.envoy.config.core.v3.HealthStatus health_status = 2;
- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
- Specified by:
hasMetadata
in interfaceLbEndpointOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
- Specified by:
getMetadata
in interfaceLbEndpointOrBuilder
- Returns:
- The metadata.
-
setMetadata
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
setMetadata
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
mergeMetadata
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
clearMetadata
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
getMetadataBuilder
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
getMetadataOrBuilder
The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
- Specified by:
getMetadataOrBuilder
in interfaceLbEndpointOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder, getMetadataFieldBuilder()MetadataOrBuilder> The endpoint metadata specifies values that may be used by the load balancer to select endpoints in a cluster for a given request. The filter name should be specified as ``envoy.lb``. An example boolean key-value pair is ``canary``, providing the optional canary status of the upstream host. This may be matched against in a route's :ref:`RouteAction <envoy_v3_api_msg_config.route.v3.RouteAction>` metadata_match field to subset the endpoints considered in cluster load balancing.
.envoy.config.core.v3.Metadata metadata = 3;
-
hasLoadBalancingWeight
public boolean hasLoadBalancingWeight()The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
- Specified by:
hasLoadBalancingWeight
in interfaceLbEndpointOrBuilder
- Returns:
- Whether the loadBalancingWeight field is set.
-
getLoadBalancingWeight
public com.google.protobuf.UInt32Value getLoadBalancingWeight()The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
- Specified by:
getLoadBalancingWeight
in interfaceLbEndpointOrBuilder
- Returns:
- The loadBalancingWeight.
-
setLoadBalancingWeight
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-
setLoadBalancingWeight
public LbEndpoint.Builder setLoadBalancingWeight(com.google.protobuf.UInt32Value.Builder builderForValue) The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-
mergeLoadBalancingWeight
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-
clearLoadBalancingWeight
The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-
getLoadBalancingWeightBuilder
public com.google.protobuf.UInt32Value.Builder getLoadBalancingWeightBuilder()The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-
getLoadBalancingWeightOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getLoadBalancingWeightOrBuilder()The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
- Specified by:
getLoadBalancingWeightOrBuilder
in interfaceLbEndpointOrBuilder
-
getLoadBalancingWeightFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder, getLoadBalancingWeightFieldBuilder()com.google.protobuf.UInt32ValueOrBuilder> The optional load balancing weight of the upstream host; at least 1. Envoy uses the load balancing weight in some of the built in load balancers. The load balancing weight for an endpoint is divided by the sum of the weights of all endpoints in the endpoint's locality to produce a percentage of traffic for the endpoint. This percentage is then further weighted by the endpoint's locality's load balancing weight from LocalityLbEndpoints. If unspecified, will be treated as 1. The sum of the weights of all endpoints in the endpoint's locality must not exceed uint32_t maximal value (4294967295).
.google.protobuf.UInt32Value load_balancing_weight = 4 [(.validate.rules) = { ... }
-