public static final class Protos.OfferFilters.ResourceQuantities extends com.google.protobuf.GeneratedMessageV3 implements Protos.OfferFilters.ResourceQuantitiesOrBuilder
mesos.OfferFilters.ResourceQuantities
Modifier and Type | Class and Description |
---|---|
static class |
Protos.OfferFilters.ResourceQuantities.Builder
Protobuf type
mesos.OfferFilters.ResourceQuantities |
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
QUANTITIES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsQuantities(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
boolean |
equals(java.lang.Object obj) |
static Protos.OfferFilters.ResourceQuantities |
getDefaultInstance() |
Protos.OfferFilters.ResourceQuantities |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
java.util.Map<java.lang.String,Protos.Value.Scalar> |
getQuantities()
Deprecated.
|
int |
getQuantitiesCount()
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
java.util.Map<java.lang.String,Protos.Value.Scalar> |
getQuantitiesMap()
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.Value.Scalar |
getQuantitiesOrDefault(java.lang.String key,
Protos.Value.Scalar defaultValue)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.Value.Scalar |
getQuantitiesOrThrow(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Protos.OfferFilters.ResourceQuantities.Builder |
newBuilder() |
static Protos.OfferFilters.ResourceQuantities.Builder |
newBuilder(Protos.OfferFilters.ResourceQuantities prototype) |
Protos.OfferFilters.ResourceQuantities.Builder |
newBuilderForType() |
protected Protos.OfferFilters.ResourceQuantities.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.OfferFilters.ResourceQuantities |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.OfferFilters.ResourceQuantities |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(java.nio.ByteBuffer data) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters.ResourceQuantities |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.OfferFilters.ResourceQuantities.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int QUANTITIES_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.MapField internalGetMapField(int number)
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public int getQuantitiesCount()
Protos.OfferFilters.ResourceQuantitiesOrBuilder
Quantities are pairs of identifiers of scalar resources and an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
map<string, .mesos.Value.Scalar> quantities = 1;
getQuantitiesCount
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
public boolean containsQuantities(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
map<string, .mesos.Value.Scalar> quantities = 1;
containsQuantities
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
@Deprecated public java.util.Map<java.lang.String,Protos.Value.Scalar> getQuantities()
getQuantitiesMap()
instead.getQuantities
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
public java.util.Map<java.lang.String,Protos.Value.Scalar> getQuantitiesMap()
Quantities are pairs of identifiers of scalar resources and an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
map<string, .mesos.Value.Scalar> quantities = 1;
getQuantitiesMap
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
public Protos.Value.Scalar getQuantitiesOrDefault(java.lang.String key, Protos.Value.Scalar defaultValue)
Quantities are pairs of identifiers of scalar resources and an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
map<string, .mesos.Value.Scalar> quantities = 1;
getQuantitiesOrDefault
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
public Protos.Value.Scalar getQuantitiesOrThrow(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
map<string, .mesos.Value.Scalar> quantities = 1;
getQuantitiesOrThrow
in interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
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.OfferFilters.ResourceQuantities parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters.ResourceQuantities parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters.ResourceQuantities parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters.ResourceQuantities parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters.ResourceQuantities parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters.ResourceQuantities parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters.ResourceQuantities parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters.ResourceQuantities parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters.ResourceQuantities parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters.ResourceQuantities parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.OfferFilters.ResourceQuantities.Builder newBuilderForType()
public static Protos.OfferFilters.ResourceQuantities.Builder newBuilder()
public static Protos.OfferFilters.ResourceQuantities.Builder newBuilder(Protos.OfferFilters.ResourceQuantities prototype)
public Protos.OfferFilters.ResourceQuantities.Builder toBuilder()
protected Protos.OfferFilters.ResourceQuantities.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.OfferFilters.ResourceQuantities getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.OfferFilters.ResourceQuantities getDefaultInstanceForType()