public static interface Protos.OfferOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Resource.AllocationInfo |
getAllocationInfo()
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Resource.AllocationInfoOrBuilder |
getAllocationInfoOrBuilder()
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Attribute |
getAttributes(int index)
repeated .mesos.Attribute attributes = 7; |
int |
getAttributesCount()
repeated .mesos.Attribute attributes = 7; |
java.util.List<Protos.Attribute> |
getAttributesList()
repeated .mesos.Attribute attributes = 7; |
Protos.AttributeOrBuilder |
getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 7; |
java.util.List<? extends Protos.AttributeOrBuilder> |
getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 7; |
Protos.DomainInfo |
getDomain()
The domain of the slave.
|
Protos.DomainInfoOrBuilder |
getDomainOrBuilder()
The domain of the slave.
|
Protos.ExecutorID |
getExecutorIds(int index)
Executors of the same framework running on this agent.
|
int |
getExecutorIdsCount()
Executors of the same framework running on this agent.
|
java.util.List<Protos.ExecutorID> |
getExecutorIdsList()
Executors of the same framework running on this agent.
|
Protos.ExecutorIDOrBuilder |
getExecutorIdsOrBuilder(int index)
Executors of the same framework running on this agent.
|
java.util.List<? extends Protos.ExecutorIDOrBuilder> |
getExecutorIdsOrBuilderList()
Executors of the same framework running on this agent.
|
Protos.FrameworkID |
getFrameworkId()
required .mesos.FrameworkID framework_id = 2; |
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
required .mesos.FrameworkID framework_id = 2; |
java.lang.String |
getHostname()
required string hostname = 4; |
com.google.protobuf.ByteString |
getHostnameBytes()
required string hostname = 4; |
Protos.OfferID |
getId()
required .mesos.OfferID id = 1; |
Protos.OfferIDOrBuilder |
getIdOrBuilder()
required .mesos.OfferID id = 1; |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 5; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 5; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 5; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5; |
Protos.SlaveID |
getSlaveId()
required .mesos.SlaveID slave_id = 3; |
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
required .mesos.SlaveID slave_id = 3; |
Protos.Unavailability |
getUnavailability()
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.UnavailabilityOrBuilder |
getUnavailabilityOrBuilder()
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.URL |
getUrl()
URL for reaching the slave running on the host.
|
Protos.URLOrBuilder |
getUrlOrBuilder()
URL for reaching the slave running on the host.
|
boolean |
hasAllocationInfo()
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
boolean |
hasDomain()
The domain of the slave.
|
boolean |
hasFrameworkId()
required .mesos.FrameworkID framework_id = 2; |
boolean |
hasHostname()
required string hostname = 4; |
boolean |
hasId()
required .mesos.OfferID id = 1; |
boolean |
hasSlaveId()
required .mesos.SlaveID slave_id = 3; |
boolean |
hasUnavailability()
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
boolean |
hasUrl()
URL for reaching the slave running on the host.
|
boolean hasId()
required .mesos.OfferID id = 1;
Protos.OfferID getId()
required .mesos.OfferID id = 1;
Protos.OfferIDOrBuilder getIdOrBuilder()
required .mesos.OfferID id = 1;
boolean hasFrameworkId()
required .mesos.FrameworkID framework_id = 2;
Protos.FrameworkID getFrameworkId()
required .mesos.FrameworkID framework_id = 2;
Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
required .mesos.FrameworkID framework_id = 2;
boolean hasSlaveId()
required .mesos.SlaveID slave_id = 3;
Protos.SlaveID getSlaveId()
required .mesos.SlaveID slave_id = 3;
Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
required .mesos.SlaveID slave_id = 3;
boolean hasHostname()
required string hostname = 4;
java.lang.String getHostname()
required string hostname = 4;
com.google.protobuf.ByteString getHostnameBytes()
required string hostname = 4;
boolean hasUrl()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
Protos.URL getUrl()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
Protos.URLOrBuilder getUrlOrBuilder()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
boolean hasDomain()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
Protos.DomainInfo getDomain()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
Protos.DomainInfoOrBuilder getDomainOrBuilder()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 5;
Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 5;
int getResourcesCount()
repeated .mesos.Resource resources = 5;
java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5;
Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5;
java.util.List<Protos.Attribute> getAttributesList()
repeated .mesos.Attribute attributes = 7;
Protos.Attribute getAttributes(int index)
repeated .mesos.Attribute attributes = 7;
int getAttributesCount()
repeated .mesos.Attribute attributes = 7;
java.util.List<? extends Protos.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 7;
Protos.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 7;
java.util.List<Protos.ExecutorID> getExecutorIdsList()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
Protos.ExecutorID getExecutorIds(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
int getExecutorIdsCount()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
java.util.List<? extends Protos.ExecutorIDOrBuilder> getExecutorIdsOrBuilderList()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
Protos.ExecutorIDOrBuilder getExecutorIdsOrBuilder(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
boolean hasUnavailability()
Signifies that the resources in this Offer may be unavailable during the given interval. Any tasks launched using these resources may be killed when the interval arrives. For example, these resources may be part of a planned maintenance schedule. This field only provides information about a planned unavailability. The unavailability interval may not necessarily start at exactly this interval, nor last for exactly the duration of this interval. The unavailability may also be forever! See comments in `Unavailability` for more details.
optional .mesos.Unavailability unavailability = 9;
Protos.Unavailability getUnavailability()
Signifies that the resources in this Offer may be unavailable during the given interval. Any tasks launched using these resources may be killed when the interval arrives. For example, these resources may be part of a planned maintenance schedule. This field only provides information about a planned unavailability. The unavailability interval may not necessarily start at exactly this interval, nor last for exactly the duration of this interval. The unavailability may also be forever! See comments in `Unavailability` for more details.
optional .mesos.Unavailability unavailability = 9;
Protos.UnavailabilityOrBuilder getUnavailabilityOrBuilder()
Signifies that the resources in this Offer may be unavailable during the given interval. Any tasks launched using these resources may be killed when the interval arrives. For example, these resources may be part of a planned maintenance schedule. This field only provides information about a planned unavailability. The unavailability interval may not necessarily start at exactly this interval, nor last for exactly the duration of this interval. The unavailability may also be forever! See comments in `Unavailability` for more details.
optional .mesos.Unavailability unavailability = 9;
boolean hasAllocationInfo()
An offer represents resources allocated to *one* of the roles managed by the scheduler. (Therefore, each `Offer.resources[i].allocation_info` will match the top level `Offer.allocation_info`).
optional .mesos.Resource.AllocationInfo allocation_info = 10;
Protos.Resource.AllocationInfo getAllocationInfo()
An offer represents resources allocated to *one* of the roles managed by the scheduler. (Therefore, each `Offer.resources[i].allocation_info` will match the top level `Offer.allocation_info`).
optional .mesos.Resource.AllocationInfo allocation_info = 10;
Protos.Resource.AllocationInfoOrBuilder getAllocationInfoOrBuilder()
An offer represents resources allocated to *one* of the roles managed by the scheduler. (Therefore, each `Offer.resources[i].allocation_info` will match the top level `Offer.allocation_info`).
optional .mesos.Resource.AllocationInfo allocation_info = 10;