Interface DescribeTaskQueueResponse.EffectiveRateLimitOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RateLimitSource getRateLimitSource()
      Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.
      int getRateLimitSourceValue()
      Source of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.
      float getRequestsPerSecond()
      The effective rate limit for the task queue.
      • 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

      • getRequestsPerSecond

        float getRequestsPerSecond()
         The effective rate limit for the task queue.
         
        float requests_per_second = 1;
        Returns:
        The requestsPerSecond.
      • getRateLimitSourceValue

        int getRateLimitSourceValue()
         Source of the RateLimit Configuration,which can be one of the following values:
         - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.
         - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond.
         - SOURCE_SYSTEM: The rate limit is the default value set by the system
         
        .temporal.api.enums.v1.RateLimitSource rate_limit_source = 2;
        Returns:
        The enum numeric value on the wire for rateLimitSource.
      • getRateLimitSource

        RateLimitSource getRateLimitSource()
         Source of the RateLimit Configuration,which can be one of the following values:
         - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.
         - SOURCE_WORKER: The rate limit is the value set using the workerOptions in TaskQueueActivitiesPerSecond.
         - SOURCE_SYSTEM: The rate limit is the default value set by the system
         
        .temporal.api.enums.v1.RateLimitSource rate_limit_source = 2;
        Returns:
        The rateLimitSource.