Interface Rollout.TrafficPercentStrategyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rollout.TrafficPercentStrategy
,Rollout.TrafficPercentStrategy.Builder
- Enclosing class:
- Rollout
public static interface Rollout.TrafficPercentStrategyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsPercentages(String key)
Maps service configuration IDs to their corresponding traffic percentage.Map<String,Double>
getPercentages()
Deprecated.int
getPercentagesCount()
Maps service configuration IDs to their corresponding traffic percentage.Map<String,Double>
getPercentagesMap()
Maps service configuration IDs to their corresponding traffic percentage.double
getPercentagesOrDefault(String key, double defaultValue)
Maps service configuration IDs to their corresponding traffic percentage.double
getPercentagesOrThrow(String key)
Maps service configuration IDs to their corresponding traffic percentage.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPercentagesCount
int 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;
-
containsPercentages
boolean containsPercentages(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;
-
getPercentages
@Deprecated Map<String,Double> getPercentages()
Deprecated.UsegetPercentagesMap()
instead.
-
getPercentagesMap
Map<String,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;
-
getPercentagesOrDefault
double getPercentagesOrDefault(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;
-
getPercentagesOrThrow
double getPercentagesOrThrow(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;
-
-