public static final class Protos.RateLimits.Builder extends <any> 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 | Method and Description |
---|---|
Protos.RateLimits.Builder |
addAllLimits(java.lang.Iterable<? extends Protos.RateLimit> values)
Items should have unique principals.
|
Protos.RateLimits.Builder |
addLimits(int index,
Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
|
Protos.RateLimits.Builder |
addLimits(int index,
Protos.RateLimit value)
Items should have unique principals.
|
Protos.RateLimits.Builder |
addLimits(Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
|
Protos.RateLimits.Builder |
addLimits(Protos.RateLimit value)
Items should have unique principals.
|
Protos.RateLimit.Builder |
addLimitsBuilder()
Items should have unique principals.
|
Protos.RateLimit.Builder |
addLimitsBuilder(int index)
Items should have unique principals.
|
Protos.RateLimits.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RateLimits |
build() |
Protos.RateLimits |
buildPartial() |
Protos.RateLimits.Builder |
clear() |
Protos.RateLimits.Builder |
clearAggregateDefaultCapacity()
All the frameworks not specified in 'limits' get this default capacity.
|
Protos.RateLimits.Builder |
clearAggregateDefaultQps()
All the frameworks not specified in 'limits' get this default rate.
|
Protos.RateLimits.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.RateLimits.Builder |
clearLimits()
Items should have unique principals.
|
Protos.RateLimits.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.RateLimits.Builder |
clone() |
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.
|
Protos.RateLimits |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.RateLimit |
getLimits(int index)
Items should have unique principals.
|
Protos.RateLimit.Builder |
getLimitsBuilder(int index)
Items should have unique principals.
|
java.util.List<Protos.RateLimit.Builder> |
getLimitsBuilderList()
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.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.RateLimits.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.RateLimits.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.RateLimits.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.RateLimits.Builder |
removeLimits(int index)
Items should have unique principals.
|
Protos.RateLimits.Builder |
setAggregateDefaultCapacity(long value)
All the frameworks not specified in 'limits' get this default capacity.
|
Protos.RateLimits.Builder |
setAggregateDefaultQps(double value)
All the frameworks not specified in 'limits' get this default rate.
|
Protos.RateLimits.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RateLimits.Builder |
setLimits(int index,
Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
|
Protos.RateLimits.Builder |
setLimits(int index,
Protos.RateLimit value)
Items should have unique principals.
|
Protos.RateLimits.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.RateLimits.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.RateLimits.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.RateLimits getDefaultInstanceForType()
public Protos.RateLimits build()
public Protos.RateLimits buildPartial()
public Protos.RateLimits.Builder clone()
public Protos.RateLimits.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RateLimits.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.RateLimits.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.RateLimits.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.RateLimits.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RateLimits.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.RateLimits.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.RateLimit> getLimitsList()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsList
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.RateLimits.Builder setLimits(int index, Protos.RateLimit value)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder setLimits(int index, Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder addLimits(Protos.RateLimit value)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder addLimits(int index, Protos.RateLimit value)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder addLimits(Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder addLimits(int index, Protos.RateLimit.Builder builderForValue)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder addAllLimits(java.lang.Iterable<? extends Protos.RateLimit> values)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder clearLimits()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimits.Builder removeLimits(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimit.Builder getLimitsBuilder(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimitOrBuilder getLimitsOrBuilder(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
getLimitsOrBuilder
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 Protos.RateLimit.Builder addLimitsBuilder()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public Protos.RateLimit.Builder addLimitsBuilder(int index)
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
public java.util.List<Protos.RateLimit.Builder> getLimitsBuilderList()
Items should have unique principals.
repeated .mesos.RateLimit limits = 1;
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 Protos.RateLimits.Builder setAggregateDefaultQps(double value)
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;
public Protos.RateLimits.Builder clearAggregateDefaultQps()
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;
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 Protos.RateLimits.Builder setAggregateDefaultCapacity(long value)
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;
public Protos.RateLimits.Builder clearAggregateDefaultCapacity()
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;
public final Protos.RateLimits.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.RateLimits.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)