public static final class Protos.RLimitInfo.RLimit extends com.google.protobuf.GeneratedMessageV3 implements Protos.RLimitInfo.RLimitOrBuilder
mesos.RLimitInfo.RLimit
Modifier and Type | Class and Description |
---|---|
static class |
Protos.RLimitInfo.RLimit.Builder
Protobuf type
mesos.RLimitInfo.RLimit |
static class |
Protos.RLimitInfo.RLimit.Type
Protobuf enum
mesos.RLimitInfo.RLimit.Type |
Modifier and Type | Field and Description |
---|---|
static int |
HARD_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
SOFT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.RLimitInfo.RLimit |
getDefaultInstance() |
Protos.RLimitInfo.RLimit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getHard()
Either both are set or both are not set.
|
<any> |
getParserForType() |
int |
getSerializedSize() |
long |
getSoft()
optional uint64 soft = 3; |
Protos.RLimitInfo.RLimit.Type |
getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasHard()
Either both are set or both are not set.
|
int |
hashCode() |
boolean |
hasSoft()
optional uint64 soft = 3; |
boolean |
hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.RLimitInfo.RLimit.Builder |
newBuilder() |
static Protos.RLimitInfo.RLimit.Builder |
newBuilder(Protos.RLimitInfo.RLimit prototype) |
Protos.RLimitInfo.RLimit.Builder |
newBuilderForType() |
protected Protos.RLimitInfo.RLimit.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.RLimitInfo.RLimit |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.RLimitInfo.RLimit |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RLimitInfo.RLimit |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RLimitInfo.RLimit |
parseFrom(java.nio.ByteBuffer data) |
static Protos.RLimitInfo.RLimit |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RLimitInfo.RLimit |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.RLimitInfo.RLimit |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RLimitInfo.RLimit |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.RLimitInfo.RLimit |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.RLimitInfo.RLimit |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.RLimitInfo.RLimit.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int HARD_FIELD_NUMBER
public static final int SOFT_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 boolean hasType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;
hasType
in interface Protos.RLimitInfo.RLimitOrBuilder
public Protos.RLimitInfo.RLimit.Type getType()
optional .mesos.RLimitInfo.RLimit.Type type = 1;
getType
in interface Protos.RLimitInfo.RLimitOrBuilder
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.RLimitOrBuilder
public 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.RLimitOrBuilder
public boolean hasSoft()
optional uint64 soft = 3;
hasSoft
in interface Protos.RLimitInfo.RLimitOrBuilder
public long getSoft()
optional uint64 soft = 3;
getSoft
in interface Protos.RLimitInfo.RLimitOrBuilder
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.RLimitInfo.RLimit parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RLimitInfo.RLimit parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RLimitInfo.RLimit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RLimitInfo.RLimit parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RLimitInfo.RLimit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.RLimitInfo.RLimit parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.RLimitInfo.RLimit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.RLimitInfo.RLimit parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.RLimitInfo.RLimit parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.RLimitInfo.RLimit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.RLimitInfo.RLimit.Builder newBuilderForType()
public static Protos.RLimitInfo.RLimit.Builder newBuilder()
public static Protos.RLimitInfo.RLimit.Builder newBuilder(Protos.RLimitInfo.RLimit prototype)
public Protos.RLimitInfo.RLimit.Builder toBuilder()
protected Protos.RLimitInfo.RLimit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.RLimitInfo.RLimit getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.RLimitInfo.RLimit getDefaultInstanceForType()