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
Modifier and TypeMethodDescriptionbooleanMaps service configuration IDs to their corresponding traffic percentage.Deprecated.intMaps service configuration IDs to their corresponding traffic percentage.Maps service configuration IDs to their corresponding traffic percentage.doublegetPercentagesOrDefault(String key, double defaultValue) Maps service configuration IDs to their corresponding traffic percentage.doubleMaps service configuration IDs to their corresponding traffic percentage.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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.UsegetPercentagesMap()instead. -
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
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
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;
-