Package com.google.dataflow.v1beta3
Interface AutoscalingSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutoscalingSettings,AutoscalingSettings.Builder
@Generated
public interface AutoscalingSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe algorithm to use for autoscaling.intThe algorithm to use for autoscaling.intThe maximum number of workers to cap scaling at.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
-
getAlgorithmValue
int getAlgorithmValue()The algorithm to use for autoscaling.
.google.dataflow.v1beta3.AutoscalingAlgorithm algorithm = 1;- Returns:
- The enum numeric value on the wire for algorithm.
-
getAlgorithm
AutoscalingAlgorithm getAlgorithm()The algorithm to use for autoscaling.
.google.dataflow.v1beta3.AutoscalingAlgorithm algorithm = 1;- Returns:
- The algorithm.
-
getMaxNumWorkers
int getMaxNumWorkers()The maximum number of workers to cap scaling at.
int32 max_num_workers = 2;- Returns:
- The maxNumWorkers.
-