public static final class Protos.RLimitInfo.RLimit.Builder extends <any> implements Protos.RLimitInfo.RLimitOrBuilder
mesos.RLimitInfo.RLimit| Modifier and Type | Method and Description |
|---|---|
Protos.RLimitInfo.RLimit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RLimitInfo.RLimit |
build() |
Protos.RLimitInfo.RLimit |
buildPartial() |
Protos.RLimitInfo.RLimit.Builder |
clear() |
Protos.RLimitInfo.RLimit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.RLimitInfo.RLimit.Builder |
clearHard()
Either both are set or both are not set.
|
Protos.RLimitInfo.RLimit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.RLimitInfo.RLimit.Builder |
clearSoft()
optional uint64 soft = 3; |
Protos.RLimitInfo.RLimit.Builder |
clearType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
Protos.RLimitInfo.RLimit.Builder |
clone() |
Protos.RLimitInfo.RLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getHard()
Either both are set or both are not set.
|
long |
getSoft()
optional uint64 soft = 3; |
Protos.RLimitInfo.RLimit.Type |
getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
boolean |
hasHard()
Either both are set or both are not set.
|
boolean |
hasSoft()
optional uint64 soft = 3; |
boolean |
hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.RLimitInfo.RLimit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.RLimitInfo.RLimit.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.RLimitInfo.RLimit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.RLimitInfo.RLimit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.RLimitInfo.RLimit.Builder |
setHard(long value)
Either both are set or both are not set.
|
Protos.RLimitInfo.RLimit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.RLimitInfo.RLimit.Builder |
setSoft(long value)
optional uint64 soft = 3; |
Protos.RLimitInfo.RLimit.Builder |
setType(Protos.RLimitInfo.RLimit.Type value)
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
Protos.RLimitInfo.RLimit.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.RLimit.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.RLimitInfo.RLimit getDefaultInstanceForType()
public Protos.RLimitInfo.RLimit build()
public Protos.RLimitInfo.RLimit buildPartial()
public Protos.RLimitInfo.RLimit.Builder clone()
public Protos.RLimitInfo.RLimit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RLimitInfo.RLimit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.RLimitInfo.RLimit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.RLimitInfo.RLimit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.RLimitInfo.RLimit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.RLimitInfo.RLimit.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.RLimitInfo.RLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;hasType in interface Protos.RLimitInfo.RLimitOrBuilderpublic Protos.RLimitInfo.RLimit.Type getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;getType in interface Protos.RLimitInfo.RLimitOrBuilderpublic Protos.RLimitInfo.RLimit.Builder setType(Protos.RLimitInfo.RLimit.Type value)
optional .mesos.RLimitInfo.RLimit.Type type = 1;public Protos.RLimitInfo.RLimit.Builder clearType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;public boolean hasHard()
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;hasHard in interface Protos.RLimitInfo.RLimitOrBuilderpublic long getHard()
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;getHard in interface Protos.RLimitInfo.RLimitOrBuilderpublic Protos.RLimitInfo.RLimit.Builder setHard(long value)
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;public Protos.RLimitInfo.RLimit.Builder clearHard()
Either both are set or both are not set. If both are not set, it represents unlimited. If both are set, we require `soft` <= `hard`.
optional uint64 hard = 2;public boolean hasSoft()
optional uint64 soft = 3;hasSoft in interface Protos.RLimitInfo.RLimitOrBuilderpublic long getSoft()
optional uint64 soft = 3;getSoft in interface Protos.RLimitInfo.RLimitOrBuilderpublic Protos.RLimitInfo.RLimit.Builder setSoft(long value)
optional uint64 soft = 3;public Protos.RLimitInfo.RLimit.Builder clearSoft()
optional uint64 soft = 3;public final Protos.RLimitInfo.RLimit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.RLimitInfo.RLimit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)