public static interface Protos.InverseOfferOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.FrameworkID |
getFrameworkId()
The framework that should release its resources.
|
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
The framework that should release its resources.
|
Protos.OfferID |
getId()
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.OfferIDOrBuilder |
getIdOrBuilder()
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.Resource |
getResources(int index)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
int |
getResourcesCount()
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
java.util.List<Protos.Resource> |
getResourcesList()
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.SlaveID |
getSlaveId()
Specified if the resources need to be released from a particular slave.
|
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
Specified if the resources need to be released from a particular slave.
|
Protos.Unavailability |
getUnavailability()
This InverseOffer represents a planned unavailability event in the
specified interval.
|
Protos.UnavailabilityOrBuilder |
getUnavailabilityOrBuilder()
This InverseOffer represents a planned unavailability event in the
specified 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 |
hasFrameworkId()
The framework that should release its resources.
|
boolean |
hasId()
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
boolean |
hasSlaveId()
Specified if the resources need to be released from a particular slave.
|
boolean |
hasUnavailability()
This InverseOffer represents a planned unavailability event in the
specified interval.
|
boolean |
hasUrl()
URL for reaching the slave running on the host.
|
boolean hasId()
This is the same OfferID as found in normal offers, which allows re-use of some of the OfferID-only messages.
required .mesos.OfferID id = 1;
Protos.OfferID getId()
This is the same OfferID as found in normal offers, which allows re-use of some of the OfferID-only messages.
required .mesos.OfferID id = 1;
Protos.OfferIDOrBuilder getIdOrBuilder()
This is the same OfferID as found in normal offers, which allows re-use of some of the OfferID-only messages.
required .mesos.OfferID id = 1;
boolean hasUrl()
URL for reaching the slave running on the host. This enables some optimizations as described in MESOS-3012, such as allowing the scheduler driver to bypass the master and talk directly with a slave.
optional .mesos.URL url = 2;
Protos.URL getUrl()
URL for reaching the slave running on the host. This enables some optimizations as described in MESOS-3012, such as allowing the scheduler driver to bypass the master and talk directly with a slave.
optional .mesos.URL url = 2;
Protos.URLOrBuilder getUrlOrBuilder()
URL for reaching the slave running on the host. This enables some optimizations as described in MESOS-3012, such as allowing the scheduler driver to bypass the master and talk directly with a slave.
optional .mesos.URL url = 2;
boolean hasFrameworkId()
The framework that should release its resources. If no specifics are provided (i.e. which slave), all the framework's resources are requested back.
required .mesos.FrameworkID framework_id = 3;
Protos.FrameworkID getFrameworkId()
The framework that should release its resources. If no specifics are provided (i.e. which slave), all the framework's resources are requested back.
required .mesos.FrameworkID framework_id = 3;
Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
The framework that should release its resources. If no specifics are provided (i.e. which slave), all the framework's resources are requested back.
required .mesos.FrameworkID framework_id = 3;
boolean hasSlaveId()
Specified if the resources need to be released from a particular slave. All the framework's resources on this slave are requested back, unless further qualified by the `resources` field.
optional .mesos.SlaveID slave_id = 4;
Protos.SlaveID getSlaveId()
Specified if the resources need to be released from a particular slave. All the framework's resources on this slave are requested back, unless further qualified by the `resources` field.
optional .mesos.SlaveID slave_id = 4;
Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
Specified if the resources need to be released from a particular slave. All the framework's resources on this slave are requested back, unless further qualified by the `resources` field.
optional .mesos.SlaveID slave_id = 4;
boolean hasUnavailability()
This InverseOffer represents a planned unavailability event in the specified interval. Any tasks running on the given framework or slave may be killed when the interval arrives. Therefore, frameworks should aim to gracefully terminate tasks prior to the arrival of the interval. For reserved resources, the resources are expected to be returned to the framework after the unavailability interval. This is an expectation, not a guarantee. For example, if the unavailability duration is not set, the resources may be removed permanently. For other resources, there is no guarantee that requested resources will be returned after the unavailability interval. The allocator has no obligation to re-offer these resources to the prior framework after the unavailability.
required .mesos.Unavailability unavailability = 5;
Protos.Unavailability getUnavailability()
This InverseOffer represents a planned unavailability event in the specified interval. Any tasks running on the given framework or slave may be killed when the interval arrives. Therefore, frameworks should aim to gracefully terminate tasks prior to the arrival of the interval. For reserved resources, the resources are expected to be returned to the framework after the unavailability interval. This is an expectation, not a guarantee. For example, if the unavailability duration is not set, the resources may be removed permanently. For other resources, there is no guarantee that requested resources will be returned after the unavailability interval. The allocator has no obligation to re-offer these resources to the prior framework after the unavailability.
required .mesos.Unavailability unavailability = 5;
Protos.UnavailabilityOrBuilder getUnavailabilityOrBuilder()
This InverseOffer represents a planned unavailability event in the specified interval. Any tasks running on the given framework or slave may be killed when the interval arrives. Therefore, frameworks should aim to gracefully terminate tasks prior to the arrival of the interval. For reserved resources, the resources are expected to be returned to the framework after the unavailability interval. This is an expectation, not a guarantee. For example, if the unavailability duration is not set, the resources may be removed permanently. For other resources, there is no guarantee that requested resources will be returned after the unavailability interval. The allocator has no obligation to re-offer these resources to the prior framework after the unavailability.
required .mesos.Unavailability unavailability = 5;
java.util.List<Protos.Resource> getResourcesList()
A list of resources being requested back from the framework, on the slave identified by `slave_id`. If no resources are specified then all resources are being requested back. For the purpose of maintenance, this field is always empty (maintenance always requests all resources back).
repeated .mesos.Resource resources = 6;
Protos.Resource getResources(int index)
A list of resources being requested back from the framework, on the slave identified by `slave_id`. If no resources are specified then all resources are being requested back. For the purpose of maintenance, this field is always empty (maintenance always requests all resources back).
repeated .mesos.Resource resources = 6;
int getResourcesCount()
A list of resources being requested back from the framework, on the slave identified by `slave_id`. If no resources are specified then all resources are being requested back. For the purpose of maintenance, this field is always empty (maintenance always requests all resources back).
repeated .mesos.Resource resources = 6;
java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
A list of resources being requested back from the framework, on the slave identified by `slave_id`. If no resources are specified then all resources are being requested back. For the purpose of maintenance, this field is always empty (maintenance always requests all resources back).
repeated .mesos.Resource resources = 6;
Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
A list of resources being requested back from the framework, on the slave identified by `slave_id`. If no resources are specified then all resources are being requested back. For the purpose of maintenance, this field is always empty (maintenance always requests all resources back).
repeated .mesos.Resource resources = 6;