public static final class Databricks.RateLimit extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Databricks.RateLimit.Builder
API rate limits applied to RPCs coming from the API Proxy.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
MAX_BURST_FIELD_NUMBER |
static int |
MAX_SUSTAINED_PER_SECOND_FIELD_NUMBER |
static com.google.protobuf.Parser<Databricks.RateLimit> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static Databricks.RateLimit |
getDefaultInstance() |
Databricks.RateLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<Databricks.RateLimit> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static Databricks.RateLimit.Builder |
newBuilder() |
static Databricks.RateLimit.Builder |
newBuilder(Databricks.RateLimit prototype) |
Databricks.RateLimit.Builder |
newBuilderForType() |
protected Databricks.RateLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Databricks.RateLimit |
parseDelimitedFrom(InputStream input) |
static Databricks.RateLimit |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.RateLimit |
parseFrom(byte[] data) |
static Databricks.RateLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.RateLimit |
parseFrom(ByteBuffer data) |
static Databricks.RateLimit |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.RateLimit |
parseFrom(com.google.protobuf.ByteString data) |
static Databricks.RateLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Databricks.RateLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Databricks.RateLimit |
parseFrom(InputStream input) |
static Databricks.RateLimit |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Databricks.RateLimit> |
parser() |
Databricks.RateLimit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int MAX_BURST_FIELD_NUMBER
public static final int MAX_SUSTAINED_PER_SECOND_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Databricks.RateLimit> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Databricks.RateLimit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Databricks.RateLimit parseFrom(InputStream input) throws IOException
IOException
public static Databricks.RateLimit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Databricks.RateLimit parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Databricks.RateLimit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Databricks.RateLimit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Databricks.RateLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Databricks.RateLimit.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Databricks.RateLimit.Builder newBuilder()
public static Databricks.RateLimit.Builder newBuilder(Databricks.RateLimit prototype)
public Databricks.RateLimit.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Databricks.RateLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Databricks.RateLimit getDefaultInstance()
public static com.google.protobuf.Parser<Databricks.RateLimit> parser()
public com.google.protobuf.Parser<Databricks.RateLimit> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Databricks.RateLimit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2018. All rights reserved.