Interface AutoscalingSettingsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AutoscalingSettings, AutoscalingSettings.Builder

    public interface AutoscalingSettingsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      AutoscalingAlgorithm getAlgorithm()
      The algorithm to use for autoscaling.
      int getAlgorithmValue()
      The algorithm to use for autoscaling.
      int getMaxNumWorkers()
      The maximum number of workers to cap scaling at.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.