public static final class Protos.RLimitInfo.Builder extends <any> implements Protos.RLimitInfoOrBuilder
Encapsulation for POSIX rlimits, see http://pubs.opengroup.org/onlinepubs/009695399/functions/getrlimit.html. Note that some types might only be defined for Linux. We use a custom prefix to avoid conflict with existing system macros (e.g., `RLIMIT_CPU` or `NOFILE`).Protobuf type
mesos.RLimitInfo
Modifier and Type | Method and Description |
---|---|
Protos.RLimitInfo.Builder |
addAllRlimits(java.lang.Iterable<? extends Protos.RLimitInfo.RLimit> values)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RLimitInfo.Builder |
addRlimits(int index,
Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
addRlimits(int index,
Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
addRlimits(Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
addRlimits(Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.RLimit.Builder |
addRlimitsBuilder()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.RLimit.Builder |
addRlimitsBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo |
build() |
Protos.RLimitInfo |
buildPartial() |
Protos.RLimitInfo.Builder |
clear() |
Protos.RLimitInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.RLimitInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.RLimitInfo.Builder |
clearRlimits()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
clone() |
Protos.RLimitInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.RLimitInfo.RLimit |
getRlimits(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.RLimit.Builder |
getRlimitsBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
java.util.List<Protos.RLimitInfo.RLimit.Builder> |
getRlimitsBuilderList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
int |
getRlimitsCount()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
java.util.List<Protos.RLimitInfo.RLimit> |
getRlimitsList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.RLimitOrBuilder |
getRlimitsOrBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
java.util.List<? extends Protos.RLimitInfo.RLimitOrBuilder> |
getRlimitsOrBuilderList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.RLimitInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.RLimitInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.RLimitInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.RLimitInfo.Builder |
removeRlimits(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RLimitInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.RLimitInfo.Builder |
setRlimits(int index,
Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.Builder |
setRlimits(int index,
Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1; |
Protos.RLimitInfo.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.RLimitInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.RLimitInfo getDefaultInstanceForType()
public Protos.RLimitInfo build()
public Protos.RLimitInfo buildPartial()
public Protos.RLimitInfo.Builder clone()
public Protos.RLimitInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RLimitInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.RLimitInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.RLimitInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.RLimitInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RLimitInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.RLimitInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.RLimitInfo.RLimit> getRlimitsList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
getRlimitsList
in interface Protos.RLimitInfoOrBuilder
public int getRlimitsCount()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
getRlimitsCount
in interface Protos.RLimitInfoOrBuilder
public Protos.RLimitInfo.RLimit getRlimits(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
getRlimits
in interface Protos.RLimitInfoOrBuilder
public Protos.RLimitInfo.Builder setRlimits(int index, Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder setRlimits(int index, Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder addRlimits(Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder addRlimits(int index, Protos.RLimitInfo.RLimit value)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder addRlimits(Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder addRlimits(int index, Protos.RLimitInfo.RLimit.Builder builderForValue)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder addAllRlimits(java.lang.Iterable<? extends Protos.RLimitInfo.RLimit> values)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder clearRlimits()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.Builder removeRlimits(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.RLimit.Builder getRlimitsBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.RLimitOrBuilder getRlimitsOrBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
getRlimitsOrBuilder
in interface Protos.RLimitInfoOrBuilder
public java.util.List<? extends Protos.RLimitInfo.RLimitOrBuilder> getRlimitsOrBuilderList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
getRlimitsOrBuilderList
in interface Protos.RLimitInfoOrBuilder
public Protos.RLimitInfo.RLimit.Builder addRlimitsBuilder()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public Protos.RLimitInfo.RLimit.Builder addRlimitsBuilder(int index)
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public java.util.List<Protos.RLimitInfo.RLimit.Builder> getRlimitsBuilderList()
repeated .mesos.RLimitInfo.RLimit rlimits = 1;
public final Protos.RLimitInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.RLimitInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)