public static final class Eds.ClusterLoadAssignment.Policy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Policy.Builder> implements Eds.ClusterLoadAssignment.PolicyOrBuilder
Load balancing policy settings.Protobuf type
envoy.api.v2.ClusterLoadAssignment.Policy| Modifier and Type | Method and Description |
|---|---|
Eds.ClusterLoadAssignment.Policy.Builder |
addAllDropOverloads(Iterable<? extends Eds.ClusterLoadAssignment.Policy.DropOverload> values)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
addDropOverloads(Eds.ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
addDropOverloads(Eds.ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
addDropOverloads(int index,
Eds.ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
addDropOverloads(int index,
Eds.ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.DropOverload.Builder |
addDropOverloadsBuilder()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.DropOverload.Builder |
addDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eds.ClusterLoadAssignment.Policy |
build() |
Eds.ClusterLoadAssignment.Policy |
buildPartial() |
Eds.ClusterLoadAssignment.Policy.Builder |
clear() |
Eds.ClusterLoadAssignment.Policy.Builder |
clearDropOverloads()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Eds.ClusterLoadAssignment.Policy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Eds.ClusterLoadAssignment.Policy.Builder |
clearOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
Eds.ClusterLoadAssignment.Policy.Builder |
clone() |
Eds.ClusterLoadAssignment.Policy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Eds.ClusterLoadAssignment.Policy.DropOverload |
getDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.DropOverload.Builder |
getDropOverloadsBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
List<Eds.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<Eds.ClusterLoadAssignment.Policy.DropOverload> |
getDropOverloadsList()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.DropOverloadOrBuilder |
getDropOverloadsOrBuilder(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
List<? extends Eds.ClusterLoadAssignment.Policy.DropOverloadOrBuilder> |
getDropOverloadsOrBuilderList()
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
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 |
hasOverprovisioningFactor()
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Eds.ClusterLoadAssignment.Policy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Eds.ClusterLoadAssignment.Policy.Builder |
mergeFrom(Eds.ClusterLoadAssignment.Policy other) |
Eds.ClusterLoadAssignment.Policy.Builder |
mergeFrom(com.google.protobuf.Message other) |
Eds.ClusterLoadAssignment.Policy.Builder |
mergeOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
Eds.ClusterLoadAssignment.Policy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Eds.ClusterLoadAssignment.Policy.Builder |
removeDropOverloads(int index)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
setDropOverloads(int index,
Eds.ClusterLoadAssignment.Policy.DropOverload.Builder builderForValue)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
setDropOverloads(int index,
Eds.ClusterLoadAssignment.Policy.DropOverload value)
Action to trim the overall incoming traffic to protect the upstream
hosts.
|
Eds.ClusterLoadAssignment.Policy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eds.ClusterLoadAssignment.Policy.Builder |
setOverprovisioningFactor(com.google.protobuf.UInt32Value.Builder builderForValue)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
Eds.ClusterLoadAssignment.Policy.Builder |
setOverprovisioningFactor(com.google.protobuf.UInt32Value value)
Priority levels and localities are considered overprovisioned with this
factor (in percentage).
|
Eds.ClusterLoadAssignment.Policy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.ClusterLoadAssignment.Policy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Eds.ClusterLoadAssignment.Policy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Eds.ClusterLoadAssignment.Policy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.ClusterLoadAssignment.Policy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.ClusterLoadAssignment.Policy.Builder mergeFrom(Eds.ClusterLoadAssignment.Policy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Policy.Builder>public Eds.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<Eds.ClusterLoadAssignment.Policy.Builder>IOExceptionpublic List<Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsList in interface Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsCount in interface Eds.ClusterLoadAssignment.PolicyOrBuilderpublic Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloads in interface Eds.ClusterLoadAssignment.PolicyOrBuilderpublic Eds.ClusterLoadAssignment.Policy.Builder setDropOverloads(int index, Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder setDropOverloads(int index, Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder addDropOverloads(Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder addDropOverloads(int index, Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder addDropOverloads(Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder addDropOverloads(int index, Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.ClusterLoadAssignment.Policy.Builder addAllDropOverloads(Iterable<? extends Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsOrBuilder in interface Eds.ClusterLoadAssignment.PolicyOrBuilderpublic List<? extends Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;getDropOverloadsOrBuilderList in interface Eds.ClusterLoadAssignment.PolicyOrBuilderpublic Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public Eds.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.
repeated .envoy.api.v2.ClusterLoadAssignment.Policy.DropOverload drop_overloads = 2;public List<Eds.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.
repeated .envoy.api.v2.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 percentage 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%. 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 Eds.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 percentage 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%. 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 Eds.ClusterLoadAssignment.PolicyOrBuilderpublic Eds.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 percentage 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%. 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 Eds.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 percentage 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%. 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 Eds.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 percentage 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%. 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 Eds.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 percentage 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%. 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 percentage 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%. 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 percentage 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%. 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 Eds.ClusterLoadAssignment.PolicyOrBuilderpublic final Eds.ClusterLoadAssignment.Policy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Policy.Builder>public final Eds.ClusterLoadAssignment.Policy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Eds.ClusterLoadAssignment.Policy.Builder>Copyright © 2018 The Envoy Project. All rights reserved.