public interface TokenBucketOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getFillInterval()
The fill interval that tokens are added to the bucket.
|
com.google.protobuf.DurationOrBuilder |
getFillIntervalOrBuilder()
The fill interval that tokens are added to the bucket.
|
int |
getMaxTokens()
The maximum tokens that the bucket can hold.
|
com.google.protobuf.UInt32Value |
getTokensPerFill()
The number of tokens added to the bucket during each fill interval.
|
com.google.protobuf.UInt32ValueOrBuilder |
getTokensPerFillOrBuilder()
The number of tokens added to the bucket during each fill interval.
|
boolean |
hasFillInterval()
The fill interval that tokens are added to the bucket.
|
boolean |
hasTokensPerFill()
The number of tokens added to the bucket during each fill interval.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getMaxTokens()
The maximum tokens that the bucket can hold. This is also the number of tokens that the bucket initially contains.
uint32 max_tokens = 1 [(.validate.rules) = { ... }boolean hasTokensPerFill()
The number of tokens added to the bucket during each fill interval. If not specified, defaults to a single token.
.google.protobuf.UInt32Value tokens_per_fill = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getTokensPerFill()
The number of tokens added to the bucket during each fill interval. If not specified, defaults to a single token.
.google.protobuf.UInt32Value tokens_per_fill = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getTokensPerFillOrBuilder()
The number of tokens added to the bucket during each fill interval. If not specified, defaults to a single token.
.google.protobuf.UInt32Value tokens_per_fill = 2 [(.validate.rules) = { ... }boolean hasFillInterval()
The fill interval that tokens are added to the bucket. During each fill interval `tokens_per_fill` are added to the bucket. The bucket will never contain more than `max_tokens` tokens.
.google.protobuf.Duration fill_interval = 3 [(.validate.rules) = { ... }com.google.protobuf.Duration getFillInterval()
The fill interval that tokens are added to the bucket. During each fill interval `tokens_per_fill` are added to the bucket. The bucket will never contain more than `max_tokens` tokens.
.google.protobuf.Duration fill_interval = 3 [(.validate.rules) = { ... }com.google.protobuf.DurationOrBuilder getFillIntervalOrBuilder()
The fill interval that tokens are added to the bucket. During each fill interval `tokens_per_fill` are added to the bucket. The bucket will never contain more than `max_tokens` tokens.
.google.protobuf.Duration fill_interval = 3 [(.validate.rules) = { ... }Copyright © 2018–2021 The Envoy Project. All rights reserved.