public static final class Protos.InverseOffer.Builder extends <any> implements Protos.InverseOfferOrBuilder
A request to return some resources occupied by a framework.Protobuf type
mesos.InverseOffer
Modifier and Type | Method and Description |
---|---|
Protos.InverseOffer.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.InverseOffer.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
addResources(int index,
Protos.Resource value)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
addResources(Protos.Resource.Builder builderForValue)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
addResources(Protos.Resource value)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.Resource.Builder |
addResourcesBuilder()
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.Resource.Builder |
addResourcesBuilder(int index)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer |
build() |
Protos.InverseOffer |
buildPartial() |
Protos.InverseOffer.Builder |
clear() |
Protos.InverseOffer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.InverseOffer.Builder |
clearFrameworkId()
The framework that should release its resources.
|
Protos.InverseOffer.Builder |
clearId()
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.InverseOffer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.InverseOffer.Builder |
clearResources()
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
clearSlaveId()
Specified if the resources need to be released from a particular slave.
|
Protos.InverseOffer.Builder |
clearUnavailability()
This InverseOffer represents a planned unavailability event in the
specified interval.
|
Protos.InverseOffer.Builder |
clearUrl()
URL for reaching the slave running on the host.
|
Protos.InverseOffer.Builder |
clone() |
Protos.InverseOffer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.FrameworkID |
getFrameworkId()
The framework that should release its resources.
|
Protos.FrameworkID.Builder |
getFrameworkIdBuilder()
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.OfferID.Builder |
getIdBuilder()
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`.
|
Protos.Resource.Builder |
getResourcesBuilder(int index)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
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.SlaveID.Builder |
getSlaveIdBuilder()
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.Unavailability.Builder |
getUnavailabilityBuilder()
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.URL.Builder |
getUrlBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.InverseOffer.Builder |
mergeFrameworkId(Protos.FrameworkID value)
The framework that should release its resources.
|
Protos.InverseOffer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.InverseOffer.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.InverseOffer.Builder |
mergeId(Protos.OfferID value)
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.InverseOffer.Builder |
mergeSlaveId(Protos.SlaveID value)
Specified if the resources need to be released from a particular slave.
|
Protos.InverseOffer.Builder |
mergeUnavailability(Protos.Unavailability value)
This InverseOffer represents a planned unavailability event in the
specified interval.
|
Protos.InverseOffer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.InverseOffer.Builder |
mergeUrl(Protos.URL value)
URL for reaching the slave running on the host.
|
Protos.InverseOffer.Builder |
removeResources(int index)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.InverseOffer.Builder |
setFrameworkId(Protos.FrameworkID.Builder builderForValue)
The framework that should release its resources.
|
Protos.InverseOffer.Builder |
setFrameworkId(Protos.FrameworkID value)
The framework that should release its resources.
|
Protos.InverseOffer.Builder |
setId(Protos.OfferID.Builder builderForValue)
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.InverseOffer.Builder |
setId(Protos.OfferID value)
This is the same OfferID as found in normal offers, which allows
re-use of some of the OfferID-only messages.
|
Protos.InverseOffer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.InverseOffer.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
setResources(int index,
Protos.Resource value)
A list of resources being requested back from the framework,
on the slave identified by `slave_id`.
|
Protos.InverseOffer.Builder |
setSlaveId(Protos.SlaveID.Builder builderForValue)
Specified if the resources need to be released from a particular slave.
|
Protos.InverseOffer.Builder |
setSlaveId(Protos.SlaveID value)
Specified if the resources need to be released from a particular slave.
|
Protos.InverseOffer.Builder |
setUnavailability(Protos.Unavailability.Builder builderForValue)
This InverseOffer represents a planned unavailability event in the
specified interval.
|
Protos.InverseOffer.Builder |
setUnavailability(Protos.Unavailability value)
This InverseOffer represents a planned unavailability event in the
specified interval.
|
Protos.InverseOffer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.InverseOffer.Builder |
setUrl(Protos.URL.Builder builderForValue)
URL for reaching the slave running on the host.
|
Protos.InverseOffer.Builder |
setUrl(Protos.URL value)
URL for reaching the slave running on the host.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.InverseOffer.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.InverseOffer getDefaultInstanceForType()
public Protos.InverseOffer build()
public Protos.InverseOffer buildPartial()
public Protos.InverseOffer.Builder clone()
public Protos.InverseOffer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.InverseOffer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.InverseOffer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.InverseOffer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.InverseOffer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.InverseOffer.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.InverseOffer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public 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;
hasId
in interface Protos.InverseOfferOrBuilder
public 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;
getId
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setId(Protos.OfferID value)
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;
public Protos.InverseOffer.Builder setId(Protos.OfferID.Builder builderForValue)
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;
public Protos.InverseOffer.Builder mergeId(Protos.OfferID value)
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;
public Protos.InverseOffer.Builder clearId()
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;
public Protos.OfferID.Builder getIdBuilder()
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;
public 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;
getIdOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
hasUrl
in interface Protos.InverseOfferOrBuilder
public 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;
getUrl
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setUrl(Protos.URL value)
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;
public Protos.InverseOffer.Builder setUrl(Protos.URL.Builder builderForValue)
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;
public Protos.InverseOffer.Builder mergeUrl(Protos.URL value)
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;
public Protos.InverseOffer.Builder clearUrl()
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;
public Protos.URL.Builder getUrlBuilder()
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;
public 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;
getUrlOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
hasFrameworkId
in interface Protos.InverseOfferOrBuilder
public 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;
getFrameworkId
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setFrameworkId(Protos.FrameworkID value)
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;
public Protos.InverseOffer.Builder setFrameworkId(Protos.FrameworkID.Builder builderForValue)
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;
public Protos.InverseOffer.Builder mergeFrameworkId(Protos.FrameworkID value)
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;
public Protos.InverseOffer.Builder clearFrameworkId()
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;
public Protos.FrameworkID.Builder getFrameworkIdBuilder()
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;
public 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;
getFrameworkIdOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
hasSlaveId
in interface Protos.InverseOfferOrBuilder
public 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;
getSlaveId
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setSlaveId(Protos.SlaveID value)
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;
public Protos.InverseOffer.Builder setSlaveId(Protos.SlaveID.Builder builderForValue)
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;
public Protos.InverseOffer.Builder mergeSlaveId(Protos.SlaveID value)
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;
public Protos.InverseOffer.Builder clearSlaveId()
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;
public Protos.SlaveID.Builder getSlaveIdBuilder()
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;
public 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;
getSlaveIdOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
hasUnavailability
in interface Protos.InverseOfferOrBuilder
public 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;
getUnavailability
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setUnavailability(Protos.Unavailability value)
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;
public Protos.InverseOffer.Builder setUnavailability(Protos.Unavailability.Builder builderForValue)
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;
public Protos.InverseOffer.Builder mergeUnavailability(Protos.Unavailability value)
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;
public Protos.InverseOffer.Builder clearUnavailability()
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;
public Protos.Unavailability.Builder getUnavailabilityBuilder()
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;
public 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;
getUnavailabilityOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
getResourcesList
in interface Protos.InverseOfferOrBuilder
public 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;
getResourcesCount
in interface Protos.InverseOfferOrBuilder
public 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;
getResources
in interface Protos.InverseOfferOrBuilder
public Protos.InverseOffer.Builder setResources(int index, Protos.Resource value)
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;
public Protos.InverseOffer.Builder setResources(int index, Protos.Resource.Builder builderForValue)
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;
public Protos.InverseOffer.Builder addResources(Protos.Resource value)
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;
public Protos.InverseOffer.Builder addResources(int index, Protos.Resource value)
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;
public Protos.InverseOffer.Builder addResources(Protos.Resource.Builder builderForValue)
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;
public Protos.InverseOffer.Builder addResources(int index, Protos.Resource.Builder builderForValue)
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;
public Protos.InverseOffer.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
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;
public Protos.InverseOffer.Builder clearResources()
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;
public Protos.InverseOffer.Builder removeResources(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;
public Protos.Resource.Builder getResourcesBuilder(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;
public 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;
getResourcesOrBuilder
in interface Protos.InverseOfferOrBuilder
public 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;
getResourcesOrBuilderList
in interface Protos.InverseOfferOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
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;
public Protos.Resource.Builder addResourcesBuilder(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;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
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;
public final Protos.InverseOffer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.InverseOffer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)