Interface DescribeTaskQueueResponse.EffectiveRateLimitOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescribeTaskQueueResponse.EffectiveRateLimit,DescribeTaskQueueResponse.EffectiveRateLimit.Builder
- Enclosing class:
DescribeTaskQueueResponse
public static interface DescribeTaskQueueResponse.EffectiveRateLimitOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSource of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.intSource of the RateLimit Configuration,which can be one of the following values: - SOURCE_API: The rate limit that is set via the TaskQueueConfig api.floatThe effective rate limit for the task queue.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-