public static interface Rollout.TrafficPercentStrategyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPercentages(java.lang.String key)
Maps service configuration IDs to their corresponding traffic percentage.
|
java.util.Map<java.lang.String,java.lang.Double> |
getPercentages()
Deprecated.
|
int |
getPercentagesCount()
Maps service configuration IDs to their corresponding traffic percentage.
|
java.util.Map<java.lang.String,java.lang.Double> |
getPercentagesMap()
Maps service configuration IDs to their corresponding traffic percentage.
|
double |
getPercentagesOrDefault(java.lang.String key,
double defaultValue)
Maps service configuration IDs to their corresponding traffic percentage.
|
double |
getPercentagesOrThrow(java.lang.String key)
Maps service configuration IDs to their corresponding traffic percentage.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getPercentagesCount()
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
map<string, double> percentages = 1;boolean containsPercentages(java.lang.String key)
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
map<string, double> percentages = 1;@Deprecated java.util.Map<java.lang.String,java.lang.Double> getPercentages()
getPercentagesMap() instead.java.util.Map<java.lang.String,java.lang.Double> getPercentagesMap()
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
map<string, double> percentages = 1;double getPercentagesOrDefault(java.lang.String key,
double defaultValue)
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
map<string, double> percentages = 1;double getPercentagesOrThrow(java.lang.String key)
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
map<string, double> percentages = 1;