public static interface Protos.OfferFilters.ResourceQuantitiesOrBuilder
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}}`.
|
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 getQuantitiesCount()
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;
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;
@Deprecated java.util.Map<java.lang.String,Protos.Value.Scalar> getQuantities()
getQuantitiesMap()
instead.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;
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;
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;