public static final class Protos.RateLimits extends com.google.protobuf.GeneratedMessageV3 implements Protos.RateLimitsOrBuilder
Collection of RateLimit. Frameworks without rate limits defined here are not throttled unless 'aggregate_default_qps' is specified.Protobuf type
mesos.RateLimits
Modifier and Type | Class and Description |
---|---|
static class |
Protos.RateLimits.Builder
Collection of RateLimit.
|
Modifier and Type | Field and Description |
---|---|
static int |
AGGREGATE_DEFAULT_CAPACITY_FIELD_NUMBER |
static int |
AGGREGATE_DEFAULT_QPS_FIELD_NUMBER |
static int |
LIMITS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getAggregateDefaultCapacity()
All the frameworks not specified in 'limits' get this default capacity.
|
double |
getAggregateDefaultQps()
All the frameworks not specified in 'limits' get this default rate.
|
static Protos.RateLimits |
getDefaultInstance() |
Protos.RateLimits |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.RateLimit |
getLimits(int index)
Items should have unique principals.
|
int |
getLimitsCount()
Items should have unique principals.
|
java.util.List<Protos.RateLimit> |
getLimitsList()
Items should have unique principals.
|
Protos.RateLimitOrBuilder |
getLimitsOrBuilder(int index)
Items should have unique principals.
|
java.util.List<? extends Protos.RateLimitOrBuilder> |
getLimitsOrBuilderList()
Items should have unique principals.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAggregateDefaultCapacity()
All the frameworks not specified in 'limits' get this default capacity.
|
boolean |
hasAggregateDefaultQps()
All the frameworks not specified in 'limits' get this default rate.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.RateLimits.Builder |
newBuilder() |
static Protos.RateLimits.Builder |
newBuilder(Protos.RateLimits prototype) |
Protos.RateLimits.Builder |
newBuilderForType() |
protected Protos.RateLimits.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.RateLimits |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.RateLimits |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RateLimits |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RateLimits |
parseFrom(java.nio.ByteBuffer data) |
static Protos.RateLimits |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RateLimits |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.RateLimits |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RateLimits |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.RateLimits |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RateLimits |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.RateLimits.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int LIMITS_FIELD_NUMBER
public static final int AGGREGATE_DEFAULT_QPS_FIELD_NUMBER
public static final int AGGREGATE_DEFAULT_CAPACITY_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public java.util.List<Protos.RateLimit> getLimitsList()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsList
in interface Protos.RateLimitsOrBuilder
public java.util.List<? extends Protos.RateLimitOrBuilder> getLimitsOrBuilderList()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsOrBuilderList
in interface Protos.RateLimitsOrBuilder
public int getLimitsCount()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsCount
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimit getLimits(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimits
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimitOrBuilder getLimitsOrBuilder(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsOrBuilder
in interface Protos.RateLimitsOrBuilder
public boolean hasAggregateDefaultQps()
All the frameworks not specified in 'limits' get this default rate. This rate is an aggregate rate for all of them, i.e., their combined traffic is throttled together at this rate.
optional double aggregate_default_qps = 2;
hasAggregateDefaultQps
in interface Protos.RateLimitsOrBuilder
public double getAggregateDefaultQps()
All the frameworks not specified in 'limits' get this default rate. This rate is an aggregate rate for all of them, i.e., their combined traffic is throttled together at this rate.
optional double aggregate_default_qps = 2;
getAggregateDefaultQps
in interface Protos.RateLimitsOrBuilder
public boolean hasAggregateDefaultCapacity()
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
optional uint64 aggregate_default_capacity = 3;
hasAggregateDefaultCapacity
in interface Protos.RateLimitsOrBuilder
public long getAggregateDefaultCapacity()
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
optional uint64 aggregate_default_capacity = 3;
getAggregateDefaultCapacity
in interface Protos.RateLimitsOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.RateLimits parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RateLimits parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RateLimits parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RateLimits parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RateLimits parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RateLimits parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.RateLimits parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.RateLimits parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.RateLimits parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.RateLimits parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.RateLimits.Builder newBuilderForType()
public static Protos.RateLimits.Builder newBuilder()
public static Protos.RateLimits.Builder newBuilder(Protos.RateLimits prototype)
public Protos.RateLimits.Builder toBuilder()
protected Protos.RateLimits.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.RateLimits getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.RateLimits getDefaultInstanceForType()