Interface RateLimitSettingsOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.DoubleValue getFillRate()
      Rate at which tokens will be filled per second.
      com.google.protobuf.DoubleValueOrBuilder getFillRateOrBuilder()
      Rate at which tokens will be filled per second.
      com.google.protobuf.UInt32Value getMaxTokens()
      Maximum number of tokens to be used for rate limiting discovery request calls.
      com.google.protobuf.UInt32ValueOrBuilder getMaxTokensOrBuilder()
      Maximum number of tokens to be used for rate limiting discovery request calls.
      boolean hasFillRate()
      Rate at which tokens will be filled per second.
      boolean hasMaxTokens()
      Maximum number of tokens to be used for rate limiting discovery request calls.
      • 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

      • hasMaxTokens

        boolean hasMaxTokens()
         Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a
         default value of 100 will be used.
         
        .google.protobuf.UInt32Value max_tokens = 1;
        Returns:
        Whether the maxTokens field is set.
      • getMaxTokens

        com.google.protobuf.UInt32Value getMaxTokens()
         Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a
         default value of 100 will be used.
         
        .google.protobuf.UInt32Value max_tokens = 1;
        Returns:
        The maxTokens.
      • getMaxTokensOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getMaxTokensOrBuilder()
         Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a
         default value of 100 will be used.
         
        .google.protobuf.UInt32Value max_tokens = 1;
      • hasFillRate

        boolean hasFillRate()
         Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens
         per second will be used. The minimal fill rate is once per year. Lower
         fill rates will be set to once per year.
         
        .google.protobuf.DoubleValue fill_rate = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the fillRate field is set.
      • getFillRate

        com.google.protobuf.DoubleValue getFillRate()
         Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens
         per second will be used. The minimal fill rate is once per year. Lower
         fill rates will be set to once per year.
         
        .google.protobuf.DoubleValue fill_rate = 2 [(.validate.rules) = { ... }
        Returns:
        The fillRate.
      • getFillRateOrBuilder

        com.google.protobuf.DoubleValueOrBuilder getFillRateOrBuilder()
         Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens
         per second will be used. The minimal fill rate is once per year. Lower
         fill rates will be set to once per year.
         
        .google.protobuf.DoubleValue fill_rate = 2 [(.validate.rules) = { ... }