Interface ClusterLoadAssignment.Policy.DropOverloadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterLoadAssignment.Policy.DropOverload
,ClusterLoadAssignment.Policy.DropOverload.Builder
- Enclosing class:
ClusterLoadAssignment.Policy
public static interface ClusterLoadAssignment.Policy.DropOverloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIdentifier for the policy specifying the drop.com.google.protobuf.ByteString
Identifier for the policy specifying the drop.Percentage of traffic that should be dropped for the category.Percentage of traffic that should be dropped for the category.boolean
Percentage of traffic that should be dropped for the category.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCategory
String getCategory()Identifier for the policy specifying the drop.
string category = 1 [(.validate.rules) = { ... }
- Returns:
- The category.
-
getCategoryBytes
com.google.protobuf.ByteString getCategoryBytes()Identifier for the policy specifying the drop.
string category = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for category.
-
hasDropPercentage
boolean hasDropPercentage()Percentage of traffic that should be dropped for the category.
.envoy.type.v3.FractionalPercent drop_percentage = 2;
- Returns:
- Whether the dropPercentage field is set.
-
getDropPercentage
FractionalPercent getDropPercentage()Percentage of traffic that should be dropped for the category.
.envoy.type.v3.FractionalPercent drop_percentage = 2;
- Returns:
- The dropPercentage.
-
getDropPercentageOrBuilder
FractionalPercentOrBuilder getDropPercentageOrBuilder()Percentage of traffic that should be dropped for the category.
.envoy.type.v3.FractionalPercent drop_percentage = 2;
-