public static final class ClusterLoadAssignment.Policy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder> implements ClusterLoadAssignment.PolicyOrBuilder
Load balancing policy settings. [#next-free-field: 6]Protobuf type
envoy.config.endpoint.v3.ClusterLoadAssignment.Policy| Modifier and Type | Method and Description |
|---|---|
ClusterLoadAssignment.Policy.Builder |
addAllDropOverloads(Iterable<? extends ClusterLoadAssignment.Policy.DropOverload> values)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
addDropOverloads(ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
addDropOverloads(ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
addDropOverloads(int index,
ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
addDropOverloads(int index,
ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.DropOverload.Builder |
addDropOverloadsBuilder()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.DropOverload.Builder |
addDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClusterLoadAssignment.Policy |
build() |
ClusterLoadAssignment.Policy |
buildPartial() |
ClusterLoadAssignment.Policy.Builder |
clear() |
ClusterLoadAssignment.Policy.Builder |
clearDropOverloads()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
clearEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used.
|
ClusterLoadAssignment.Policy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ClusterLoadAssignment.Policy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ClusterLoadAssignment.Policy.Builder |
clearOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
ClusterLoadAssignment.Policy.Builder |
clone() |
ClusterLoadAssignment.Policy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ClusterLoadAssignment.Policy.DropOverload |
getDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.DropOverload.Builder |
getDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
List<ClusterLoadAssignment.Policy.DropOverload.Builder> |
getDropOverloadsBuilderList()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
int |
getDropOverloadsCount()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
List<ClusterLoadAssignment.Policy.DropOverload> |
getDropOverloadsList()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.DropOverloadOrBuilder |
getDropOverloadsOrBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
List<? extends ClusterLoadAssignment.Policy.DropOverloadOrBuilder> |
getDropOverloadsOrBuilderList()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
com.google.protobuf.Duration |
getEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used.
|
com.google.protobuf.Duration.Builder |
getEndpointStaleAfterBuilder()
The max time until which the endpoints from this assignment can be used.
|
com.google.protobuf.DurationOrBuilder |
getEndpointStaleAfterOrBuilder()
The max time until which the endpoints from this assignment can be used.
|
com.google.protobuf.UInt32Value |
getOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
com.google.protobuf.UInt32Value.Builder |
getOverprovisioningFactorBuilder()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
com.google.protobuf.UInt32ValueOrBuilder |
getOverprovisioningFactorOrBuilder()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
boolean |
hasEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used.
|
boolean |
hasOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClusterLoadAssignment.Policy.Builder |
mergeEndpointStaleAfter(com.google.protobuf.Duration value)
The max time until which the endpoints from this assignment can be used.
|
ClusterLoadAssignment.Policy.Builder |
mergeFrom(ClusterLoadAssignment.Policy other) |
ClusterLoadAssignment.Policy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClusterLoadAssignment.Policy.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClusterLoadAssignment.Policy.Builder |
mergeOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
ClusterLoadAssignment.Policy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ClusterLoadAssignment.Policy.Builder |
removeDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
setDropOverloads(int index,
ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
setDropOverloads(int index,
ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
ClusterLoadAssignment.Policy.Builder |
setEndpointStaleAfter(com.google.protobuf.Duration.Builder builderForValue)
The max time until which the endpoints from this assignment can be used.
|
ClusterLoadAssignment.Policy.Builder |
setEndpointStaleAfter(com.google.protobuf.Duration value)
The max time until which the endpoints from this assignment can be used.
|
ClusterLoadAssignment.Policy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ClusterLoadAssignment.Policy.Builder |
setOverprovisioningFactor(com.google.protobuf.UInt32Value.Builder builderForValue)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
ClusterLoadAssignment.Policy.Builder |
setOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
ClusterLoadAssignment.Policy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClusterLoadAssignment.Policy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClusterLoadAssignment.Policy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClusterLoadAssignment.Policy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.Builder mergeFrom(ClusterLoadAssignment.Policy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>public ClusterLoadAssignment.Policy.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<ClusterLoadAssignment.Policy.Builder>IOExceptionpublic List<ClusterLoadAssignment.Policy.DropOverload> getDropOverloadsList()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsList in interface ClusterLoadAssignment.PolicyOrBuilderpublic int getDropOverloadsCount()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsCount in interface ClusterLoadAssignment.PolicyOrBuilderpublic ClusterLoadAssignment.Policy.DropOverload getDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloads in interface ClusterLoadAssignment.PolicyOrBuilderpublic ClusterLoadAssignment.Policy.Builder setDropOverloads(int index, ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder setDropOverloads(int index, ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder addDropOverloads(ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder addDropOverloads(int index, ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder addDropOverloads(ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder addDropOverloads(int index, ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder addAllDropOverloads(Iterable<? extends ClusterLoadAssignment.Policy.DropOverload> values)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder clearDropOverloads()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.Builder removeDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.DropOverload.Builder getDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.DropOverloadOrBuilder getDropOverloadsOrBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsOrBuilder in interface ClusterLoadAssignment.PolicyOrBuilderpublic List<? extends ClusterLoadAssignment.Policy.DropOverloadOrBuilder> getDropOverloadsOrBuilderList()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsOrBuilderList in interface ClusterLoadAssignment.PolicyOrBuilderpublic ClusterLoadAssignment.Policy.DropOverload.Builder addDropOverloadsBuilder()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public ClusterLoadAssignment.Policy.DropOverload.Builder addDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public List<ClusterLoadAssignment.Policy.DropOverload.Builder> getDropOverloadsBuilderList()
Action to trim the overall incoming traffic to protect the upstream
hosts. This action allows protection in case the hosts are unable to
recover from an outage, or unable to autoscale or unable to handle
incoming traffic volume for any reason.
At the client each category is applied one after the other to generate
the 'actual' drop percentage on all outgoing traffic. For example:
.. code-block:: json
{ "drop_overloads": [
{ "category": "throttle", "drop_percentage": 60 }
{ "category": "lb", "drop_percentage": 50 }
]}
The actual drop percentages applied to the traffic at the clients will be
"throttle"_drop = 60%
"lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
actual_outgoing_load = 20% // remaining after applying all categories.
[#not-implemented-hide:]
repeated .envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public boolean hasOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }hasOverprovisioningFactor in interface ClusterLoadAssignment.PolicyOrBuilderpublic com.google.protobuf.UInt32Value getOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }getOverprovisioningFactor in interface ClusterLoadAssignment.PolicyOrBuilderpublic ClusterLoadAssignment.Policy.Builder setOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder setOverprovisioningFactor(com.google.protobuf.UInt32Value.Builder builderForValue)
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder mergeOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder clearOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32Value.Builder getOverprovisioningFactorBuilder()
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }public com.google.protobuf.UInt32ValueOrBuilder getOverprovisioningFactorOrBuilder()
Priority levels and localities are considered overprovisioned with this
factor (in percentage). This means that we don't consider a priority
level or locality unhealthy until the fraction of healthy hosts
multiplied by the overprovisioning factor drops below 100.
With the default value 140(1.4), Envoy doesn't consider a priority level
or a locality unhealthy until their percentage of healthy hosts drops
below 72%. For example:
.. code-block:: json
{ "overprovisioning_factor": 100 }
Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
:ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
.google.protobuf.UInt32Value overprovisioning_factor = 3 [(.validate.rules) = { ... }getOverprovisioningFactorOrBuilder in interface ClusterLoadAssignment.PolicyOrBuilderpublic boolean hasEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }hasEndpointStaleAfter in interface ClusterLoadAssignment.PolicyOrBuilderpublic com.google.protobuf.Duration getEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }getEndpointStaleAfter in interface ClusterLoadAssignment.PolicyOrBuilderpublic ClusterLoadAssignment.Policy.Builder setEndpointStaleAfter(com.google.protobuf.Duration value)
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder setEndpointStaleAfter(com.google.protobuf.Duration.Builder builderForValue)
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder mergeEndpointStaleAfter(com.google.protobuf.Duration value)
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }public ClusterLoadAssignment.Policy.Builder clearEndpointStaleAfter()
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }public com.google.protobuf.Duration.Builder getEndpointStaleAfterBuilder()
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }public com.google.protobuf.DurationOrBuilder getEndpointStaleAfterOrBuilder()
The max time until which the endpoints from this assignment can be used. If no new assignments are received before this time expires the endpoints are considered stale and should be marked unhealthy. Defaults to 0 which means endpoints never go stale.
.google.protobuf.Duration endpoint_stale_after = 4 [(.validate.rules) = { ... }getEndpointStaleAfterOrBuilder in interface ClusterLoadAssignment.PolicyOrBuilderpublic final ClusterLoadAssignment.Policy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>public final ClusterLoadAssignment.Policy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterLoadAssignment.Policy.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.