public static interface Protos.Resource.AllocationInfoOrBuilder
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRole()
If set, this resource is allocated to a role.
|
com.google.protobuf.ByteString |
getRoleBytes()
If set, this resource is allocated to a role.
|
boolean |
hasRole()
If set, this resource is allocated to a role.
|
boolean hasRole()
If set, this resource is allocated to a role. Note that in the future, this may be unset and the scheduler may be responsible for allocating to one of its roles.
optional string role = 1;java.lang.String getRole()
If set, this resource is allocated to a role. Note that in the future, this may be unset and the scheduler may be responsible for allocating to one of its roles.
optional string role = 1;com.google.protobuf.ByteString getRoleBytes()
If set, this resource is allocated to a role. Note that in the future, this may be unset and the scheduler may be responsible for allocating to one of its roles.
optional string role = 1;