public static final class Protos.OfferFilters.ResourceQuantities.Builder extends <any> implements Protos.OfferFilters.ResourceQuantitiesOrBuilder
mesos.OfferFilters.ResourceQuantities
Modifier and Type | Method and Description |
---|---|
Protos.OfferFilters.ResourceQuantities.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OfferFilters.ResourceQuantities |
build() |
Protos.OfferFilters.ResourceQuantities |
buildPartial() |
Protos.OfferFilters.ResourceQuantities.Builder |
clear() |
Protos.OfferFilters.ResourceQuantities.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.OfferFilters.ResourceQuantities.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.OfferFilters.ResourceQuantities.Builder |
clearQuantities() |
Protos.OfferFilters.ResourceQuantities.Builder |
clone() |
boolean |
containsQuantities(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.OfferFilters.ResourceQuantities |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.util.Map<java.lang.String,Protos.Value.Scalar> |
getMutableQuantities()
Deprecated.
|
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}}`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Protos.OfferFilters.ResourceQuantities.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.OfferFilters.ResourceQuantities.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.OfferFilters.ResourceQuantities.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.OfferFilters.ResourceQuantities.Builder |
putAllQuantities(java.util.Map<java.lang.String,Protos.Value.Scalar> values)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.OfferFilters.ResourceQuantities.Builder |
putQuantities(java.lang.String key,
Protos.Value.Scalar value)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.OfferFilters.ResourceQuantities.Builder |
removeQuantities(java.lang.String key)
Quantities are pairs of identifiers of scalar resources and
an associated value, e.g., `{"disk": Scalar {"value": 30}}`.
|
Protos.OfferFilters.ResourceQuantities.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OfferFilters.ResourceQuantities.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.OfferFilters.ResourceQuantities.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.OfferFilters.ResourceQuantities.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.OfferFilters.ResourceQuantities getDefaultInstanceForType()
public Protos.OfferFilters.ResourceQuantities build()
public Protos.OfferFilters.ResourceQuantities buildPartial()
public Protos.OfferFilters.ResourceQuantities.Builder clone()
public Protos.OfferFilters.ResourceQuantities.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OfferFilters.ResourceQuantities.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.OfferFilters.ResourceQuantities.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.OfferFilters.ResourceQuantities.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.OfferFilters.ResourceQuantities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OfferFilters.ResourceQuantities.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.OfferFilters.ResourceQuantities.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
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 Protos.OfferFilters.ResourceQuantities.Builder clearQuantities()
public Protos.OfferFilters.ResourceQuantities.Builder removeQuantities(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 public java.util.Map<java.lang.String,Protos.Value.Scalar> getMutableQuantities()
public Protos.OfferFilters.ResourceQuantities.Builder putQuantities(java.lang.String key, Protos.Value.Scalar value)
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;
public Protos.OfferFilters.ResourceQuantities.Builder putAllQuantities(java.util.Map<java.lang.String,Protos.Value.Scalar> values)
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;
public final Protos.OfferFilters.ResourceQuantities.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.OfferFilters.ResourceQuantities.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)