public static final class Databricks.RateLimit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder> implements Databricks.RateLimitOrBuilder
API rate limits applied to RPCs coming from the API Proxy. The rate limits are applied on a per organization basis.Protobuf type
RateLimit
Modifier and Type | Method and Description |
---|---|
Databricks.RateLimit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Databricks.RateLimit |
build() |
Databricks.RateLimit |
buildPartial() |
Databricks.RateLimit.Builder |
clear() |
Databricks.RateLimit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Databricks.RateLimit.Builder |
clearMaxBurst()
The maximum burst of API requests allowed for a single endpoint.
|
Databricks.RateLimit.Builder |
clearMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint.
|
Databricks.RateLimit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Databricks.RateLimit.Builder |
clone() |
Databricks.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getMaxBurst()
The maximum burst of API requests allowed for a single endpoint.
|
long |
getMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint.
|
boolean |
hasMaxBurst()
The maximum burst of API requests allowed for a single endpoint.
|
boolean |
hasMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Databricks.RateLimit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Databricks.RateLimit.Builder |
mergeFrom(Databricks.RateLimit other) |
Databricks.RateLimit.Builder |
mergeFrom(com.google.protobuf.Message other) |
Databricks.RateLimit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Databricks.RateLimit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Databricks.RateLimit.Builder |
setMaxBurst(long value)
The maximum burst of API requests allowed for a single endpoint.
|
Databricks.RateLimit.Builder |
setMaxSustainedPerSecond(long value)
The maximum sustained request per second limit for a single endpoint.
|
Databricks.RateLimit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Databricks.RateLimit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Databricks.RateLimit build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Databricks.RateLimit buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Databricks.RateLimit.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder mergeFrom(Databricks.RateLimit other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public Databricks.RateLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Databricks.RateLimit.Builder>
IOException
public boolean hasMaxBurst()
The maximum burst of API requests allowed for a single endpoint. In the context of the token bucket algorithm, this constant represents the total capacity of the token bucket.
optional int64 max_burst = 1;
hasMaxBurst
in interface Databricks.RateLimitOrBuilder
public long getMaxBurst()
The maximum burst of API requests allowed for a single endpoint. In the context of the token bucket algorithm, this constant represents the total capacity of the token bucket.
optional int64 max_burst = 1;
getMaxBurst
in interface Databricks.RateLimitOrBuilder
public Databricks.RateLimit.Builder setMaxBurst(long value)
The maximum burst of API requests allowed for a single endpoint. In the context of the token bucket algorithm, this constant represents the total capacity of the token bucket.
optional int64 max_burst = 1;
public Databricks.RateLimit.Builder clearMaxBurst()
The maximum burst of API requests allowed for a single endpoint. In the context of the token bucket algorithm, this constant represents the total capacity of the token bucket.
optional int64 max_burst = 1;
public boolean hasMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint. In the context of the, token bucket algorithm, this constant represents the rate at which the token bucket fills.
optional int64 max_sustained_per_second = 2;
hasMaxSustainedPerSecond
in interface Databricks.RateLimitOrBuilder
public long getMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint. In the context of the, token bucket algorithm, this constant represents the rate at which the token bucket fills.
optional int64 max_sustained_per_second = 2;
getMaxSustainedPerSecond
in interface Databricks.RateLimitOrBuilder
public Databricks.RateLimit.Builder setMaxSustainedPerSecond(long value)
The maximum sustained request per second limit for a single endpoint. In the context of the, token bucket algorithm, this constant represents the rate at which the token bucket fills.
optional int64 max_sustained_per_second = 2;
public Databricks.RateLimit.Builder clearMaxSustainedPerSecond()
The maximum sustained request per second limit for a single endpoint. In the context of the, token bucket algorithm, this constant represents the rate at which the token bucket fills.
optional int64 max_sustained_per_second = 2;
public final Databricks.RateLimit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
public final Databricks.RateLimit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Databricks.RateLimit.Builder>
Copyright © 2018. All rights reserved.