public static final class Protos.OfferFilters.Builder extends <any> implements Protos.OfferFiltersOrBuilder
Represents filters that allow a framework to control the shape of offers that will be sent to its role(s). These filters apply globally to any agent (unlike the existing `DECLINE` filter which us a time-based resource subset filter that only applies to the agent that was declined). NOTE: Custom allocators might interpret these fields in a different way, or not at all.Protobuf type
mesos.OfferFilters
Modifier and Type | Method and Description |
---|---|
Protos.OfferFilters.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OfferFilters |
build() |
Protos.OfferFilters |
buildPartial() |
Protos.OfferFilters.Builder |
clear() |
Protos.OfferFilters.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.OfferFilters.Builder |
clearMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.OfferFilters.Builder |
clone() |
Protos.OfferFilters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.OfferFilters.MinAllocatableResources |
getMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.MinAllocatableResources.Builder |
getMinAllocatableResourcesBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.MinAllocatableResourcesOrBuilder |
getMinAllocatableResourcesOrBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
boolean |
hasMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.OfferFilters.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.OfferFilters.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.OfferFilters.Builder |
mergeMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources value)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.OfferFilters.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OfferFilters.Builder |
setMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources.Builder builderForValue)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.Builder |
setMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources value)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.OfferFilters.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.OfferFilters.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.OfferFilters getDefaultInstanceForType()
public Protos.OfferFilters build()
public Protos.OfferFilters buildPartial()
public Protos.OfferFilters.Builder clone()
public Protos.OfferFilters.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OfferFilters.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.OfferFilters.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.OfferFilters.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.OfferFilters.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OfferFilters.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.OfferFilters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
hasMinAllocatableResources
in interface Protos.OfferFiltersOrBuilder
public Protos.OfferFilters.MinAllocatableResources getMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
getMinAllocatableResources
in interface Protos.OfferFiltersOrBuilder
public Protos.OfferFilters.Builder setMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources value)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
public Protos.OfferFilters.Builder setMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources.Builder builderForValue)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
public Protos.OfferFilters.Builder mergeMinAllocatableResources(Protos.OfferFilters.MinAllocatableResources value)
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
public Protos.OfferFilters.Builder clearMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
public Protos.OfferFilters.MinAllocatableResources.Builder getMinAllocatableResourcesBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
public Protos.OfferFilters.MinAllocatableResourcesOrBuilder getMinAllocatableResourcesOrBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
getMinAllocatableResourcesOrBuilder
in interface Protos.OfferFiltersOrBuilder
public final Protos.OfferFilters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.OfferFilters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)