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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCategory()
Identifier for the policy specifying the drop.com.google.protobuf.ByteString
getCategoryBytes()
Identifier for the policy specifying the drop.FractionalPercent
getDropPercentage()
Percentage of traffic that should be dropped for the category.FractionalPercentOrBuilder
getDropPercentageOrBuilder()
Percentage of traffic that should be dropped for the category.boolean
hasDropPercentage()
Percentage of traffic that should be dropped for the category.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCategory
java.lang.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;
-
-