public static interface Protos.ResourceProviderInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Attribute |
getAttributes(int index)
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.Resource.ReservationInfo |
getDefaultReservations(int index)
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.
|
Protos.ResourceProviderID |
getId()
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.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.
|
boolean hasId()
optional .mesos.ResourceProviderID id = 1;
Protos.ResourceProviderID getId()
optional .mesos.ResourceProviderID id = 1;
Protos.ResourceProviderIDOrBuilder getIdOrBuilder()
optional .mesos.ResourceProviderID id = 1;
java.util.List<Protos.Attribute> getAttributesList()
repeated .mesos.Attribute attributes = 2;
Protos.Attribute getAttributes(int index)
repeated .mesos.Attribute attributes = 2;
int getAttributesCount()
repeated .mesos.Attribute attributes = 2;
java.util.List<? extends Protos.AttributeOrBuilder> getAttributesOrBuilderList()
repeated .mesos.Attribute attributes = 2;
Protos.AttributeOrBuilder getAttributesOrBuilder(int index)
repeated .mesos.Attribute attributes = 2;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
boolean hasStorage()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;
Protos.ResourceProviderInfo.Storage getStorage()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;
Protos.ResourceProviderInfo.StorageOrBuilder getStorageOrBuilder()
EXPERIMENTAL.
optional .mesos.ResourceProviderInfo.Storage storage = 6;