Interface WorkerConfig.AutoscalingPollerBehaviorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
WorkerConfig.AutoscalingPollerBehavior, WorkerConfig.AutoscalingPollerBehavior.Builder
Enclosing class:
WorkerConfig

public static interface WorkerConfig.AutoscalingPollerBehaviorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    This many polls will be attempted initially before scaling kicks in.
    int
    At most this many poll calls will ever be open at once.
    int
    At least this many poll calls will always be attempted (assuming slots are available).

    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 Details

    • getMinPollers

      int getMinPollers()
       At least this many poll calls will always be attempted (assuming slots are available).
       Cannot be zero.
       
      int32 min_pollers = 1;
      Returns:
      The minPollers.
    • getMaxPollers

      int getMaxPollers()
       At most this many poll calls will ever be open at once. Must be >= `minimum`.
       
      int32 max_pollers = 2;
      Returns:
      The maxPollers.
    • getInitialPollers

      int getInitialPollers()
       This many polls will be attempted initially before scaling kicks in. Must be between
        `minimum` and `maximum`.
       
      int32 initial_pollers = 3;
      Returns:
      The initialPollers.