public static final class Protos.Offer.Builder extends <any> implements Protos.OfferOrBuilder
Describes some resources available on a slave. An offer only contains resources from a single slave.Protobuf type
mesos.Offer
Modifier and Type | Method and Description |
---|---|
Protos.Offer.Builder |
addAllAttributes(java.lang.Iterable<? extends Protos.Attribute> values)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
addAllExecutorIds(java.lang.Iterable<? extends Protos.ExecutorID> values)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
addAttributes(int index,
Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
addAttributes(int index,
Protos.Attribute value)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
addAttributes(Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
addAttributes(Protos.Attribute value)
repeated .mesos.Attribute attributes = 7; |
Protos.Attribute.Builder |
addAttributesBuilder()
repeated .mesos.Attribute attributes = 7; |
Protos.Attribute.Builder |
addAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
addExecutorIds(int index,
Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
addExecutorIds(int index,
Protos.ExecutorID value)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
addExecutorIds(Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
addExecutorIds(Protos.ExecutorID value)
Executors of the same framework running on this agent.
|
Protos.ExecutorID.Builder |
addExecutorIdsBuilder()
Executors of the same framework running on this agent.
|
Protos.ExecutorID.Builder |
addExecutorIdsBuilder(int index)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
addResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
addResources(Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
addResourcesBuilder()
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
addResourcesBuilder(int index)
repeated .mesos.Resource resources = 5; |
Protos.Offer |
build() |
Protos.Offer |
buildPartial() |
Protos.Offer.Builder |
clear() |
Protos.Offer.Builder |
clearAllocationInfo()
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Offer.Builder |
clearAttributes()
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
clearDomain()
The domain of the slave.
|
Protos.Offer.Builder |
clearExecutorIds()
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Offer.Builder |
clearFrameworkId()
required .mesos.FrameworkID framework_id = 2; |
Protos.Offer.Builder |
clearHostname()
required string hostname = 4; |
Protos.Offer.Builder |
clearId()
required .mesos.OfferID id = 1; |
Protos.Offer.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Offer.Builder |
clearResources()
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
clearSlaveId()
required .mesos.SlaveID slave_id = 3; |
Protos.Offer.Builder |
clearUnavailability()
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.Offer.Builder |
clearUrl()
URL for reaching the slave running on the host.
|
Protos.Offer.Builder |
clone() |
Protos.Resource.AllocationInfo |
getAllocationInfo()
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Resource.AllocationInfo.Builder |
getAllocationInfoBuilder()
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; |
Protos.Attribute.Builder |
getAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 7; |
java.util.List<Protos.Attribute.Builder> |
getAttributesBuilderList()
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.Offer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.DomainInfo |
getDomain()
The domain of the slave.
|
Protos.DomainInfo.Builder |
getDomainBuilder()
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.
|
Protos.ExecutorID.Builder |
getExecutorIdsBuilder(int index)
Executors of the same framework running on this agent.
|
java.util.List<Protos.ExecutorID.Builder> |
getExecutorIdsBuilderList()
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.FrameworkID.Builder |
getFrameworkIdBuilder()
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.OfferID.Builder |
getIdBuilder()
required .mesos.OfferID id = 1; |
Protos.OfferIDOrBuilder |
getIdOrBuilder()
required .mesos.OfferID id = 1; |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
getResourcesBuilder(int index)
repeated .mesos.Resource resources = 5; |
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
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.SlaveID.Builder |
getSlaveIdBuilder()
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.Unavailability.Builder |
getUnavailabilityBuilder()
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.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 |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Offer.Builder |
mergeAllocationInfo(Protos.Resource.AllocationInfo value)
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Offer.Builder |
mergeDomain(Protos.DomainInfo value)
The domain of the slave.
|
Protos.Offer.Builder |
mergeFrameworkId(Protos.FrameworkID value)
required .mesos.FrameworkID framework_id = 2; |
Protos.Offer.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Offer.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Offer.Builder |
mergeId(Protos.OfferID value)
required .mesos.OfferID id = 1; |
Protos.Offer.Builder |
mergeSlaveId(Protos.SlaveID value)
required .mesos.SlaveID slave_id = 3; |
Protos.Offer.Builder |
mergeUnavailability(Protos.Unavailability value)
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.Offer.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Builder |
mergeUrl(Protos.URL value)
URL for reaching the slave running on the host.
|
Protos.Offer.Builder |
removeAttributes(int index)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
removeExecutorIds(int index)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
removeResources(int index)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
setAllocationInfo(Protos.Resource.AllocationInfo.Builder builderForValue)
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Offer.Builder |
setAllocationInfo(Protos.Resource.AllocationInfo value)
An offer represents resources allocated to *one* of the
roles managed by the scheduler.
|
Protos.Offer.Builder |
setAttributes(int index,
Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
setAttributes(int index,
Protos.Attribute value)
repeated .mesos.Attribute attributes = 7; |
Protos.Offer.Builder |
setDomain(Protos.DomainInfo.Builder builderForValue)
The domain of the slave.
|
Protos.Offer.Builder |
setDomain(Protos.DomainInfo value)
The domain of the slave.
|
Protos.Offer.Builder |
setExecutorIds(int index,
Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
setExecutorIds(int index,
Protos.ExecutorID value)
Executors of the same framework running on this agent.
|
Protos.Offer.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Builder |
setFrameworkId(Protos.FrameworkID.Builder builderForValue)
required .mesos.FrameworkID framework_id = 2; |
Protos.Offer.Builder |
setFrameworkId(Protos.FrameworkID value)
required .mesos.FrameworkID framework_id = 2; |
Protos.Offer.Builder |
setHostname(java.lang.String value)
required string hostname = 4; |
Protos.Offer.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
required string hostname = 4; |
Protos.Offer.Builder |
setId(Protos.OfferID.Builder builderForValue)
required .mesos.OfferID id = 1; |
Protos.Offer.Builder |
setId(Protos.OfferID value)
required .mesos.OfferID id = 1; |
Protos.Offer.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Offer.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
setResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.Offer.Builder |
setSlaveId(Protos.SlaveID.Builder builderForValue)
required .mesos.SlaveID slave_id = 3; |
Protos.Offer.Builder |
setSlaveId(Protos.SlaveID value)
required .mesos.SlaveID slave_id = 3; |
Protos.Offer.Builder |
setUnavailability(Protos.Unavailability.Builder builderForValue)
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.Offer.Builder |
setUnavailability(Protos.Unavailability value)
Signifies that the resources in this Offer may be unavailable during
the given interval.
|
Protos.Offer.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Builder |
setUrl(Protos.URL.Builder builderForValue)
URL for reaching the slave running on the host.
|
Protos.Offer.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.Offer.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Offer getDefaultInstanceForType()
public Protos.Offer build()
public Protos.Offer buildPartial()
public Protos.Offer.Builder clone()
public Protos.Offer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Offer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Offer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Offer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Offer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasId()
required .mesos.OfferID id = 1;
hasId
in interface Protos.OfferOrBuilder
public Protos.OfferID getId()
required .mesos.OfferID id = 1;
getId
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setId(Protos.OfferID value)
required .mesos.OfferID id = 1;
public Protos.Offer.Builder setId(Protos.OfferID.Builder builderForValue)
required .mesos.OfferID id = 1;
public Protos.Offer.Builder mergeId(Protos.OfferID value)
required .mesos.OfferID id = 1;
public Protos.Offer.Builder clearId()
required .mesos.OfferID id = 1;
public Protos.OfferID.Builder getIdBuilder()
required .mesos.OfferID id = 1;
public Protos.OfferIDOrBuilder getIdOrBuilder()
required .mesos.OfferID id = 1;
getIdOrBuilder
in interface Protos.OfferOrBuilder
public boolean hasFrameworkId()
required .mesos.FrameworkID framework_id = 2;
hasFrameworkId
in interface Protos.OfferOrBuilder
public Protos.FrameworkID getFrameworkId()
required .mesos.FrameworkID framework_id = 2;
getFrameworkId
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setFrameworkId(Protos.FrameworkID value)
required .mesos.FrameworkID framework_id = 2;
public Protos.Offer.Builder setFrameworkId(Protos.FrameworkID.Builder builderForValue)
required .mesos.FrameworkID framework_id = 2;
public Protos.Offer.Builder mergeFrameworkId(Protos.FrameworkID value)
required .mesos.FrameworkID framework_id = 2;
public Protos.Offer.Builder clearFrameworkId()
required .mesos.FrameworkID framework_id = 2;
public Protos.FrameworkID.Builder getFrameworkIdBuilder()
required .mesos.FrameworkID framework_id = 2;
public Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
required .mesos.FrameworkID framework_id = 2;
getFrameworkIdOrBuilder
in interface Protos.OfferOrBuilder
public boolean hasSlaveId()
required .mesos.SlaveID slave_id = 3;
hasSlaveId
in interface Protos.OfferOrBuilder
public Protos.SlaveID getSlaveId()
required .mesos.SlaveID slave_id = 3;
getSlaveId
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setSlaveId(Protos.SlaveID value)
required .mesos.SlaveID slave_id = 3;
public Protos.Offer.Builder setSlaveId(Protos.SlaveID.Builder builderForValue)
required .mesos.SlaveID slave_id = 3;
public Protos.Offer.Builder mergeSlaveId(Protos.SlaveID value)
required .mesos.SlaveID slave_id = 3;
public Protos.Offer.Builder clearSlaveId()
required .mesos.SlaveID slave_id = 3;
public Protos.SlaveID.Builder getSlaveIdBuilder()
required .mesos.SlaveID slave_id = 3;
public Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
required .mesos.SlaveID slave_id = 3;
getSlaveIdOrBuilder
in interface Protos.OfferOrBuilder
public boolean hasHostname()
required string hostname = 4;
hasHostname
in interface Protos.OfferOrBuilder
public java.lang.String getHostname()
required string hostname = 4;
getHostname
in interface Protos.OfferOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
required string hostname = 4;
getHostnameBytes
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setHostname(java.lang.String value)
required string hostname = 4;
public Protos.Offer.Builder clearHostname()
required string hostname = 4;
public Protos.Offer.Builder setHostnameBytes(com.google.protobuf.ByteString value)
required string hostname = 4;
public boolean hasUrl()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
hasUrl
in interface Protos.OfferOrBuilder
public Protos.URL getUrl()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
getUrl
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setUrl(Protos.URL value)
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
public Protos.Offer.Builder setUrl(Protos.URL.Builder builderForValue)
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
public Protos.Offer.Builder mergeUrl(Protos.URL value)
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
public Protos.Offer.Builder clearUrl()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
public Protos.URL.Builder getUrlBuilder()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
public Protos.URLOrBuilder getUrlOrBuilder()
URL for reaching the slave running on the host.
optional .mesos.URL url = 8;
getUrlOrBuilder
in interface Protos.OfferOrBuilder
public boolean hasDomain()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
hasDomain
in interface Protos.OfferOrBuilder
public Protos.DomainInfo getDomain()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
getDomain
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setDomain(Protos.DomainInfo value)
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
public Protos.Offer.Builder setDomain(Protos.DomainInfo.Builder builderForValue)
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
public Protos.Offer.Builder mergeDomain(Protos.DomainInfo value)
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
public Protos.Offer.Builder clearDomain()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
public Protos.DomainInfo.Builder getDomainBuilder()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
public Protos.DomainInfoOrBuilder getDomainOrBuilder()
The domain of the slave.
optional .mesos.DomainInfo domain = 11;
getDomainOrBuilder
in interface Protos.OfferOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 5;
getResourcesList
in interface Protos.OfferOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 5;
getResourcesCount
in interface Protos.OfferOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 5;
getResources
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder setResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder addResources(Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder addResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder addResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder clearResources()
repeated .mesos.Resource resources = 5;
public Protos.Offer.Builder removeResources(int index)
repeated .mesos.Resource resources = 5;
public Protos.Resource.Builder getResourcesBuilder(int index)
repeated .mesos.Resource resources = 5;
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5;
getResourcesOrBuilder
in interface Protos.OfferOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5;
getResourcesOrBuilderList
in interface Protos.OfferOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
repeated .mesos.Resource resources = 5;
public Protos.Resource.Builder addResourcesBuilder(int index)
repeated .mesos.Resource resources = 5;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
repeated .mesos.Resource resources = 5;
public java.util.List<Protos.Attribute> getAttributesList()
repeated .mesos.Attribute attributes = 7;
getAttributesList
in interface Protos.OfferOrBuilder
public int getAttributesCount()
repeated .mesos.Attribute attributes = 7;
getAttributesCount
in interface Protos.OfferOrBuilder
public Protos.Attribute getAttributes(int index)
repeated .mesos.Attribute attributes = 7;
getAttributes
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setAttributes(int index, Protos.Attribute value)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder setAttributes(int index, Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder addAttributes(Protos.Attribute value)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder addAttributes(int index, Protos.Attribute value)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder addAttributes(Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder addAttributes(int index, Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder addAllAttributes(java.lang.Iterable<? extends Protos.Attribute> values)
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder clearAttributes()
repeated .mesos.Attribute attributes = 7;
public Protos.Offer.Builder removeAttributes(int index)
repeated .mesos.Attribute attributes = 7;
public Protos.Attribute.Builder getAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 7;
public Protos.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 7;
getAttributesOrBuilder
in interface Protos.OfferOrBuilder
public java.util.List<? extends Protos.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 7;
getAttributesOrBuilderList
in interface Protos.OfferOrBuilder
public Protos.Attribute.Builder addAttributesBuilder()
repeated .mesos.Attribute attributes = 7;
public Protos.Attribute.Builder addAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 7;
public java.util.List<Protos.Attribute.Builder> getAttributesBuilderList()
repeated .mesos.Attribute attributes = 7;
public java.util.List<Protos.ExecutorID> getExecutorIdsList()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
getExecutorIdsList
in interface Protos.OfferOrBuilder
public int getExecutorIdsCount()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
getExecutorIdsCount
in interface Protos.OfferOrBuilder
public Protos.ExecutorID getExecutorIds(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
getExecutorIds
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setExecutorIds(int index, Protos.ExecutorID value)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder setExecutorIds(int index, Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder addExecutorIds(Protos.ExecutorID value)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder addExecutorIds(int index, Protos.ExecutorID value)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder addExecutorIds(Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder addExecutorIds(int index, Protos.ExecutorID.Builder builderForValue)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder addAllExecutorIds(java.lang.Iterable<? extends Protos.ExecutorID> values)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder clearExecutorIds()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.Offer.Builder removeExecutorIds(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.ExecutorID.Builder getExecutorIdsBuilder(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.ExecutorIDOrBuilder getExecutorIdsOrBuilder(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
getExecutorIdsOrBuilder
in interface Protos.OfferOrBuilder
public java.util.List<? extends Protos.ExecutorIDOrBuilder> getExecutorIdsOrBuilderList()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
getExecutorIdsOrBuilderList
in interface Protos.OfferOrBuilder
public Protos.ExecutorID.Builder addExecutorIdsBuilder()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public Protos.ExecutorID.Builder addExecutorIdsBuilder(int index)
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public java.util.List<Protos.ExecutorID.Builder> getExecutorIdsBuilderList()
Executors of the same framework running on this agent.
repeated .mesos.ExecutorID executor_ids = 6;
public 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;
hasUnavailability
in interface Protos.OfferOrBuilder
public 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;
getUnavailability
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setUnavailability(Protos.Unavailability value)
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;
public Protos.Offer.Builder setUnavailability(Protos.Unavailability.Builder builderForValue)
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;
public Protos.Offer.Builder mergeUnavailability(Protos.Unavailability value)
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;
public Protos.Offer.Builder clearUnavailability()
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;
public Protos.Unavailability.Builder getUnavailabilityBuilder()
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;
public 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;
getUnavailabilityOrBuilder
in interface Protos.OfferOrBuilder
public 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;
hasAllocationInfo
in interface Protos.OfferOrBuilder
public 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;
getAllocationInfo
in interface Protos.OfferOrBuilder
public Protos.Offer.Builder setAllocationInfo(Protos.Resource.AllocationInfo value)
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;
public Protos.Offer.Builder setAllocationInfo(Protos.Resource.AllocationInfo.Builder builderForValue)
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;
public Protos.Offer.Builder mergeAllocationInfo(Protos.Resource.AllocationInfo value)
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;
public Protos.Offer.Builder clearAllocationInfo()
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;
public Protos.Resource.AllocationInfo.Builder getAllocationInfoBuilder()
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;
public 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;
getAllocationInfoOrBuilder
in interface Protos.OfferOrBuilder
public final Protos.Offer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Offer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)