Interface PollerScalingDecisionOrBuilder

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

@Generated(value="protoc", comments="annotations:PollerScalingDecisionOrBuilder.java.pb.meta") public interface PollerScalingDecisionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    How many poll requests to suggest should be added or removed, if any.

    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

    • getPollRequestDeltaSuggestion

      int getPollRequestDeltaSuggestion()
       How many poll requests to suggest should be added or removed, if any. As of now, server only
       scales up or down by 1. However, SDKs should allow for other values (while staying within
       defined min/max).
      
       The SDK is free to ignore this suggestion, EX: making more polls would not make sense because
       all slots are already occupied.
       
      int32 poll_request_delta_suggestion = 1;
      Returns:
      The pollRequestDeltaSuggestion.