public static final class RateLimitInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<RateLimitInfo.Builder> implements RateLimitInfoOrBuilder
Information about how client should adjust the load to Bigtable.Protobuf type
google.bigtable.v2.RateLimitInfo| Modifier and Type | Method and Description |
|---|---|
RateLimitInfo |
build() |
RateLimitInfo |
buildPartial() |
RateLimitInfo.Builder |
clear() |
RateLimitInfo.Builder |
clearFactor()
If it has been at least one `period` since the last load adjustment, the
client should multiply the current load by this value to get the new target
load.
|
RateLimitInfo.Builder |
clearPeriod()
Time that clients should wait before adjusting the target rate again.
|
RateLimitInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getFactor()
If it has been at least one `period` since the last load adjustment, the
client should multiply the current load by this value to get the new target
load.
|
com.google.protobuf.Duration |
getPeriod()
Time that clients should wait before adjusting the target rate again.
|
com.google.protobuf.Duration.Builder |
getPeriodBuilder()
Time that clients should wait before adjusting the target rate again.
|
com.google.protobuf.DurationOrBuilder |
getPeriodOrBuilder()
Time that clients should wait before adjusting the target rate again.
|
boolean |
hasPeriod()
Time that clients should wait before adjusting the target rate again.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RateLimitInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RateLimitInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
RateLimitInfo.Builder |
mergeFrom(RateLimitInfo other) |
RateLimitInfo.Builder |
mergePeriod(com.google.protobuf.Duration value)
Time that clients should wait before adjusting the target rate again.
|
RateLimitInfo.Builder |
setFactor(double value)
If it has been at least one `period` since the last load adjustment, the
client should multiply the current load by this value to get the new target
load.
|
RateLimitInfo.Builder |
setPeriod(com.google.protobuf.Duration.Builder builderForValue)
Time that clients should wait before adjusting the target rate again.
|
RateLimitInfo.Builder |
setPeriod(com.google.protobuf.Duration value)
Time that clients should wait before adjusting the target rate again.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RateLimitInfo.Builder>public RateLimitInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RateLimitInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RateLimitInfo.Builder>public RateLimitInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RateLimitInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RateLimitInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RateLimitInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitInfo.Builder>public RateLimitInfo.Builder mergeFrom(RateLimitInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RateLimitInfo.Builder>public RateLimitInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RateLimitInfo.Builder>IOExceptionpublic boolean hasPeriod()
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;hasPeriod in interface RateLimitInfoOrBuilderpublic com.google.protobuf.Duration getPeriod()
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;getPeriod in interface RateLimitInfoOrBuilderpublic RateLimitInfo.Builder setPeriod(com.google.protobuf.Duration value)
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;public RateLimitInfo.Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue)
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;public RateLimitInfo.Builder mergePeriod(com.google.protobuf.Duration value)
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;public RateLimitInfo.Builder clearPeriod()
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;public com.google.protobuf.Duration.Builder getPeriodBuilder()
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder()
Time that clients should wait before adjusting the target rate again. If clients adjust rate too frequently, the impact of the previous adjustment may not have been taken into account and may over-throttle or under-throttle. If clients adjust rate too slowly, they will not be responsive to load changes on server side, and may over-throttle or under-throttle.
.google.protobuf.Duration period = 1;getPeriodOrBuilder in interface RateLimitInfoOrBuilderpublic double getFactor()
If it has been at least one `period` since the last load adjustment, the client should multiply the current load by this value to get the new target load. For example, if the current load is 100 and `factor` is 0.8, the new target load should be 80. After adjusting, the client should ignore `factor` until another `period` has passed. The client can measure its load using any unit that's comparable over time. For example, QPS can be used as long as each request involves a similar amount of work.
double factor = 2;getFactor in interface RateLimitInfoOrBuilderpublic RateLimitInfo.Builder setFactor(double value)
If it has been at least one `period` since the last load adjustment, the client should multiply the current load by this value to get the new target load. For example, if the current load is 100 and `factor` is 0.8, the new target load should be 80. After adjusting, the client should ignore `factor` until another `period` has passed. The client can measure its load using any unit that's comparable over time. For example, QPS can be used as long as each request involves a similar amount of work.
double factor = 2;value - The factor to set.public RateLimitInfo.Builder clearFactor()
If it has been at least one `period` since the last load adjustment, the client should multiply the current load by this value to get the new target load. For example, if the current load is 100 and `factor` is 0.8, the new target load should be 80. After adjusting, the client should ignore `factor` until another `period` has passed. The client can measure its load using any unit that's comparable over time. For example, QPS can be used as long as each request involves a similar amount of work.
double factor = 2;Copyright © 2026 Google LLC. All rights reserved.