public static final class Protos.RateLimits.Builder extends com.google.protobuf.GeneratedMessage.Builder<Protos.RateLimits.Builder> implements Protos.RateLimitsOrBuilder
mesos.v1.RateLimits
Collection of RateLimit. Frameworks without rate limits defined here are not throttled unless 'aggregate_default_qps' is specified.
Modifier and Type | Method and Description |
---|---|
Protos.RateLimits.Builder |
addAllLimits(Iterable<? extends Protos.RateLimit> values)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
addLimits(int index,
Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
addLimits(int index,
Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
addLimits(Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
addLimits(Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimit.Builder |
addLimitsBuilder()
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimit.Builder |
addLimitsBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits |
build() |
Protos.RateLimits |
buildPartial() |
Protos.RateLimits.Builder |
clear() |
Protos.RateLimits.Builder |
clearAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3; |
Protos.RateLimits.Builder |
clearAggregateDefaultQps()
optional double aggregate_default_qps = 2; |
Protos.RateLimits.Builder |
clearLimits()
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
clone() |
long |
getAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3; |
double |
getAggregateDefaultQps()
optional double aggregate_default_qps = 2; |
Protos.RateLimits |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.RateLimit |
getLimits(int index)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimit.Builder |
getLimitsBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1; |
List<Protos.RateLimit.Builder> |
getLimitsBuilderList()
repeated .mesos.v1.RateLimit limits = 1; |
int |
getLimitsCount()
repeated .mesos.v1.RateLimit limits = 1; |
List<Protos.RateLimit> |
getLimitsList()
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimitOrBuilder |
getLimitsOrBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1; |
List<? extends Protos.RateLimitOrBuilder> |
getLimitsOrBuilderList()
repeated .mesos.v1.RateLimit limits = 1; |
boolean |
hasAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3; |
boolean |
hasAggregateDefaultQps()
optional double aggregate_default_qps = 2; |
protected com.google.protobuf.GeneratedMessage.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 |
mergeFrom(Protos.RateLimits other) |
Protos.RateLimits.Builder |
removeLimits(int index)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
setAggregateDefaultCapacity(long value)
optional uint64 aggregate_default_capacity = 3; |
Protos.RateLimits.Builder |
setAggregateDefaultQps(double value)
optional double aggregate_default_qps = 2; |
Protos.RateLimits.Builder |
setLimits(int index,
Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1; |
Protos.RateLimits.Builder |
setLimits(int index,
Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<Protos.RateLimits.Builder>
public Protos.RateLimits.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<Protos.RateLimits.Builder>
public Protos.RateLimits.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<Protos.RateLimits.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.GeneratedMessage.Builder<Protos.RateLimits.Builder>
public Protos.RateLimits getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Protos.RateLimits build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Protos.RateLimits buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Protos.RateLimits.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Protos.RateLimits.Builder>
public Protos.RateLimits.Builder mergeFrom(Protos.RateLimits other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Protos.RateLimits.Builder>
public Protos.RateLimits.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<Protos.RateLimits.Builder>
IOException
public List<Protos.RateLimit> getLimitsList()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
getLimitsList
in interface Protos.RateLimitsOrBuilder
public int getLimitsCount()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
getLimitsCount
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimit getLimits(int index)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
getLimits
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimits.Builder setLimits(int index, Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder setLimits(int index, Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder addLimits(Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder addLimits(int index, Protos.RateLimit value)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder addLimits(Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder addLimits(int index, Protos.RateLimit.Builder builderForValue)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder addAllLimits(Iterable<? extends Protos.RateLimit> values)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder clearLimits()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimits.Builder removeLimits(int index)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimit.Builder getLimitsBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimitOrBuilder getLimitsOrBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
getLimitsOrBuilder
in interface Protos.RateLimitsOrBuilder
public List<? extends Protos.RateLimitOrBuilder> getLimitsOrBuilderList()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
getLimitsOrBuilderList
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimit.Builder addLimitsBuilder()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public Protos.RateLimit.Builder addLimitsBuilder(int index)
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public List<Protos.RateLimit.Builder> getLimitsBuilderList()
repeated .mesos.v1.RateLimit limits = 1;
Items should have unique principals.
public boolean hasAggregateDefaultQps()
optional double aggregate_default_qps = 2;
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.
hasAggregateDefaultQps
in interface Protos.RateLimitsOrBuilder
public double getAggregateDefaultQps()
optional double aggregate_default_qps = 2;
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.
getAggregateDefaultQps
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimits.Builder setAggregateDefaultQps(double value)
optional double aggregate_default_qps = 2;
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.
public Protos.RateLimits.Builder clearAggregateDefaultQps()
optional double aggregate_default_qps = 2;
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.
public boolean hasAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3;
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
hasAggregateDefaultCapacity
in interface Protos.RateLimitsOrBuilder
public long getAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3;
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
getAggregateDefaultCapacity
in interface Protos.RateLimitsOrBuilder
public Protos.RateLimits.Builder setAggregateDefaultCapacity(long value)
optional uint64 aggregate_default_capacity = 3;
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
public Protos.RateLimits.Builder clearAggregateDefaultCapacity()
optional uint64 aggregate_default_capacity = 3;
All the frameworks not specified in 'limits' get this default capacity. This is an aggregate value similar to 'aggregate_default_qps'.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.