public static final class Protos.ResourceProviderInfo.Builder extends <any> implements Protos.ResourceProviderInfoOrBuilder
Describes a resource provider. Note that the 'id' field is only available after a resource provider is registered with the master, and is made available here to facilitate re-registration.Protobuf type
mesos.ResourceProviderInfo| Modifier and Type | Method and Description |
|---|---|
Protos.ResourceProviderInfo.Builder |
addAllAttributes(java.lang.Iterable<? extends Protos.Attribute> values)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
addAllDefaultReservations(java.lang.Iterable<? extends Protos.Resource.ReservationInfo> values)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
addAttributes(int index,
Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
addAttributes(int index,
Protos.Attribute value)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
addAttributes(Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
addAttributes(Protos.Attribute value)
repeated .mesos.Attribute attributes = 2; |
Protos.Attribute.Builder |
addAttributesBuilder()
repeated .mesos.Attribute attributes = 2; |
Protos.Attribute.Builder |
addAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
addDefaultReservations(int index,
Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
addDefaultReservations(int index,
Protos.Resource.ReservationInfo value)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
addDefaultReservations(Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
addDefaultReservations(Protos.Resource.ReservationInfo value)
The stack of default reservations.
|
Protos.Resource.ReservationInfo.Builder |
addDefaultReservationsBuilder()
The stack of default reservations.
|
Protos.Resource.ReservationInfo.Builder |
addDefaultReservationsBuilder(int index)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceProviderInfo |
build() |
Protos.ResourceProviderInfo |
buildPartial() |
Protos.ResourceProviderInfo.Builder |
clear() |
Protos.ResourceProviderInfo.Builder |
clearAttributes()
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
clearDefaultReservations()
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ResourceProviderInfo.Builder |
clearId()
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderInfo.Builder |
clearName()
The name of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ResourceProviderInfo.Builder |
clearStorage()
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.Builder |
clearType()
The type of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
clone() |
Protos.Attribute |
getAttributes(int index)
repeated .mesos.Attribute attributes = 2; |
Protos.Attribute.Builder |
getAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 2; |
java.util.List<Protos.Attribute.Builder> |
getAttributesBuilderList()
repeated .mesos.Attribute attributes = 2; |
int |
getAttributesCount()
repeated .mesos.Attribute attributes = 2; |
java.util.List<Protos.Attribute> |
getAttributesList()
repeated .mesos.Attribute attributes = 2; |
Protos.AttributeOrBuilder |
getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 2; |
java.util.List<? extends Protos.AttributeOrBuilder> |
getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo |
getDefaultInstanceForType() |
Protos.Resource.ReservationInfo |
getDefaultReservations(int index)
The stack of default reservations.
|
Protos.Resource.ReservationInfo.Builder |
getDefaultReservationsBuilder(int index)
The stack of default reservations.
|
java.util.List<Protos.Resource.ReservationInfo.Builder> |
getDefaultReservationsBuilderList()
The stack of default reservations.
|
int |
getDefaultReservationsCount()
The stack of default reservations.
|
java.util.List<Protos.Resource.ReservationInfo> |
getDefaultReservationsList()
The stack of default reservations.
|
Protos.Resource.ReservationInfoOrBuilder |
getDefaultReservationsOrBuilder(int index)
The stack of default reservations.
|
java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> |
getDefaultReservationsOrBuilderList()
The stack of default reservations.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ResourceProviderID |
getId()
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderID.Builder |
getIdBuilder()
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderIDOrBuilder |
getIdOrBuilder()
optional .mesos.ResourceProviderID id = 1; |
java.lang.String |
getName()
The name of the resource provider.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource provider.
|
Protos.ResourceProviderInfo.Storage |
getStorage()
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.Storage.Builder |
getStorageBuilder()
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.StorageOrBuilder |
getStorageOrBuilder()
EXPERIMENTAL.
|
java.lang.String |
getType()
The type of the resource provider.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of the resource provider.
|
boolean |
hasId()
optional .mesos.ResourceProviderID id = 1; |
boolean |
hasName()
The name of the resource provider.
|
boolean |
hasStorage()
EXPERIMENTAL.
|
boolean |
hasType()
The type of the resource provider.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ResourceProviderInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ResourceProviderInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ResourceProviderInfo.Builder |
mergeId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderInfo.Builder |
mergeStorage(Protos.ResourceProviderInfo.Storage value)
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceProviderInfo.Builder |
removeAttributes(int index)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
removeDefaultReservations(int index)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
setAttributes(int index,
Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
setAttributes(int index,
Protos.Attribute value)
repeated .mesos.Attribute attributes = 2; |
Protos.ResourceProviderInfo.Builder |
setDefaultReservations(int index,
Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
setDefaultReservations(int index,
Protos.Resource.ReservationInfo value)
The stack of default reservations.
|
Protos.ResourceProviderInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceProviderInfo.Builder |
setId(Protos.ResourceProviderID.Builder builderForValue)
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderInfo.Builder |
setId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID id = 1; |
Protos.ResourceProviderInfo.Builder |
setName(java.lang.String value)
The name of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ResourceProviderInfo.Builder |
setStorage(Protos.ResourceProviderInfo.Storage.Builder builderForValue)
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.Builder |
setStorage(Protos.ResourceProviderInfo.Storage value)
EXPERIMENTAL.
|
Protos.ResourceProviderInfo.Builder |
setType(java.lang.String value)
The type of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
The type of the resource provider.
|
Protos.ResourceProviderInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.ResourceProviderInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ResourceProviderInfo getDefaultInstanceForType()
public Protos.ResourceProviderInfo build()
public Protos.ResourceProviderInfo buildPartial()
public Protos.ResourceProviderInfo.Builder clone()
public Protos.ResourceProviderInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceProviderInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ResourceProviderInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ResourceProviderInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ResourceProviderInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceProviderInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ResourceProviderInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasId()
optional .mesos.ResourceProviderID id = 1;hasId in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderID getId()
optional .mesos.ResourceProviderID id = 1;getId in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID id = 1;public Protos.ResourceProviderInfo.Builder setId(Protos.ResourceProviderID.Builder builderForValue)
optional .mesos.ResourceProviderID id = 1;public Protos.ResourceProviderInfo.Builder mergeId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID id = 1;public Protos.ResourceProviderInfo.Builder clearId()
optional .mesos.ResourceProviderID id = 1;public Protos.ResourceProviderID.Builder getIdBuilder()
optional .mesos.ResourceProviderID id = 1;public Protos.ResourceProviderIDOrBuilder getIdOrBuilder()
optional .mesos.ResourceProviderID id = 1;getIdOrBuilder in interface Protos.ResourceProviderInfoOrBuilderpublic java.util.List<Protos.Attribute> getAttributesList()
repeated .mesos.Attribute attributes = 2;getAttributesList in interface Protos.ResourceProviderInfoOrBuilderpublic int getAttributesCount()
repeated .mesos.Attribute attributes = 2;getAttributesCount in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.Attribute getAttributes(int index)
repeated .mesos.Attribute attributes = 2;getAttributes in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setAttributes(int index, Protos.Attribute value)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder setAttributes(int index, Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder addAttributes(Protos.Attribute value)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder addAttributes(int index, Protos.Attribute value)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder addAttributes(Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder addAttributes(int index, Protos.Attribute.Builder builderForValue)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder addAllAttributes(java.lang.Iterable<? extends Protos.Attribute> values)
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder clearAttributes()
repeated .mesos.Attribute attributes = 2;public Protos.ResourceProviderInfo.Builder removeAttributes(int index)
repeated .mesos.Attribute attributes = 2;public Protos.Attribute.Builder getAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 2;public Protos.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 2;getAttributesOrBuilder in interface Protos.ResourceProviderInfoOrBuilderpublic java.util.List<? extends Protos.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 2;getAttributesOrBuilderList in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.Attribute.Builder addAttributesBuilder()
repeated .mesos.Attribute attributes = 2;public Protos.Attribute.Builder addAttributesBuilder(int index)
repeated .mesos.Attribute attributes = 2;public java.util.List<Protos.Attribute.Builder> getAttributesBuilderList()
repeated .mesos.Attribute attributes = 2;public boolean hasType()
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;hasType in interface Protos.ResourceProviderInfoOrBuilderpublic java.lang.String getType()
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;getType in interface Protos.ResourceProviderInfoOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;getTypeBytes in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setType(java.lang.String value)
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;public Protos.ResourceProviderInfo.Builder clearType()
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;public Protos.ResourceProviderInfo.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of the resource provider. This uniquely identifies a
resource provider implementation. For instance:
org.apache.mesos.rp.local.storage
Please follow to Java package naming convention
(https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
to avoid conflicts on type names.
required string type = 3;public boolean hasName()
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;hasName in interface Protos.ResourceProviderInfoOrBuilderpublic java.lang.String getName()
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;getName in interface Protos.ResourceProviderInfoOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;getNameBytes in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setName(java.lang.String value)
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;public Protos.ResourceProviderInfo.Builder clearName()
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;public Protos.ResourceProviderInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the resource provider. There could be multiple instances of a type of resource provider. The name field is used to distinguish these instances. It should be a legal Java identifier (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html) to avoid conflicts on concatenation of type and name.
required string name = 4;public java.util.List<Protos.Resource.ReservationInfo> getDefaultReservationsList()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;getDefaultReservationsList in interface Protos.ResourceProviderInfoOrBuilderpublic int getDefaultReservationsCount()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;getDefaultReservationsCount in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.Resource.ReservationInfo getDefaultReservations(int index)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;getDefaultReservations in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setDefaultReservations(int index, Protos.Resource.ReservationInfo value)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder setDefaultReservations(int index, Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder addDefaultReservations(Protos.Resource.ReservationInfo value)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder addDefaultReservations(int index, Protos.Resource.ReservationInfo value)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder addDefaultReservations(Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder addDefaultReservations(int index, Protos.Resource.ReservationInfo.Builder builderForValue)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder addAllDefaultReservations(java.lang.Iterable<? extends Protos.Resource.ReservationInfo> values)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder clearDefaultReservations()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.ResourceProviderInfo.Builder removeDefaultReservations(int index)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.Resource.ReservationInfo.Builder getDefaultReservationsBuilder(int index)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.Resource.ReservationInfoOrBuilder getDefaultReservationsOrBuilder(int index)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;getDefaultReservationsOrBuilder in interface Protos.ResourceProviderInfoOrBuilderpublic java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> getDefaultReservationsOrBuilderList()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;getDefaultReservationsOrBuilderList in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.Resource.ReservationInfo.Builder addDefaultReservationsBuilder()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public Protos.Resource.ReservationInfo.Builder addDefaultReservationsBuilder(int index)
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public java.util.List<Protos.Resource.ReservationInfo.Builder> getDefaultReservationsBuilderList()
The stack of default reservations. If this field is not empty, it indicates that resources from this resource provider are reserved by default, except for the resources that have been reserved or unreserved through operations. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current one.
repeated .mesos.Resource.ReservationInfo default_reservations = 5;public boolean hasStorage()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;hasStorage in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Storage getStorage()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;getStorage in interface Protos.ResourceProviderInfoOrBuilderpublic Protos.ResourceProviderInfo.Builder setStorage(Protos.ResourceProviderInfo.Storage value)
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;public Protos.ResourceProviderInfo.Builder setStorage(Protos.ResourceProviderInfo.Storage.Builder builderForValue)
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;public Protos.ResourceProviderInfo.Builder mergeStorage(Protos.ResourceProviderInfo.Storage value)
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;public Protos.ResourceProviderInfo.Builder clearStorage()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;public Protos.ResourceProviderInfo.Storage.Builder getStorageBuilder()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;public Protos.ResourceProviderInfo.StorageOrBuilder getStorageOrBuilder()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;getStorageOrBuilder in interface Protos.ResourceProviderInfoOrBuilderpublic final Protos.ResourceProviderInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ResourceProviderInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)