public static final class Protos.OfferFilters extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.OfferFilters.Builder
Represents filters that allow a framework to control the shape of
offers that will be sent to its role(s).
|
static class |
Protos.OfferFilters.MinAllocatableResources
Protobuf type
mesos.OfferFilters.MinAllocatableResources |
static interface |
Protos.OfferFilters.MinAllocatableResourcesOrBuilder |
static class |
Protos.OfferFilters.ResourceQuantities
Protobuf type
mesos.OfferFilters.ResourceQuantities |
static interface |
Protos.OfferFilters.ResourceQuantitiesOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
MIN_ALLOCATABLE_RESOURCES_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.OfferFilters |
getDefaultInstance() |
Protos.OfferFilters |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.OfferFilters.MinAllocatableResources |
getMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
Protos.OfferFilters.MinAllocatableResourcesOrBuilder |
getMinAllocatableResourcesOrBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMinAllocatableResources()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.OfferFilters.Builder |
newBuilder() |
static Protos.OfferFilters.Builder |
newBuilder(Protos.OfferFilters prototype) |
Protos.OfferFilters.Builder |
newBuilderForType() |
protected Protos.OfferFilters.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.OfferFilters |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.OfferFilters |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters |
parseFrom(java.nio.ByteBuffer data) |
static Protos.OfferFilters |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.OfferFilters |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.OfferFilters |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.OfferFilters |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.OfferFilters.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int MIN_ALLOCATABLE_RESOURCES_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 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.MinAllocatableResourcesOrBuilder getMinAllocatableResourcesOrBuilder()
optional .mesos.OfferFilters.MinAllocatableResources min_allocatable_resources = 1;
getMinAllocatableResourcesOrBuilder
in interface Protos.OfferFiltersOrBuilder
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 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.OfferFilters parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.OfferFilters parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.OfferFilters.Builder newBuilderForType()
public static Protos.OfferFilters.Builder newBuilder()
public static Protos.OfferFilters.Builder newBuilder(Protos.OfferFilters prototype)
public Protos.OfferFilters.Builder toBuilder()
protected Protos.OfferFilters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.OfferFilters getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.OfferFilters getDefaultInstanceForType()