public static interface Protos.Resource.ReservationInfoOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Labels |
getLabels()
Labels are free-form key value pairs that can be used to
associate arbitrary metadata with a reserved resource.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
Labels are free-form key value pairs that can be used to
associate arbitrary metadata with a reserved resource.
|
java.lang.String |
getPrincipal()
Indicates the principal, if any, of the framework or operator
that reserved this resource.
|
com.google.protobuf.ByteString |
getPrincipalBytes()
Indicates the principal, if any, of the framework or operator
that reserved this resource.
|
java.lang.String |
getRole()
The role to which this reservation is made for.
|
com.google.protobuf.ByteString |
getRoleBytes()
The role to which this reservation is made for.
|
Protos.Resource.ReservationInfo.Type |
getType()
The type of this reservation.
|
boolean |
hasLabels()
Labels are free-form key value pairs that can be used to
associate arbitrary metadata with a reserved resource.
|
boolean |
hasPrincipal()
Indicates the principal, if any, of the framework or operator
that reserved this resource.
|
boolean |
hasRole()
The role to which this reservation is made for.
|
boolean |
hasType()
The type of this reservation.
|
boolean hasType()
The type of this reservation. NOTE: This field must not be set for `Resource.reservation`. See the 'Resource Format' section for more details.
optional .mesos.Resource.ReservationInfo.Type type = 4;
Protos.Resource.ReservationInfo.Type getType()
The type of this reservation. NOTE: This field must not be set for `Resource.reservation`. See the 'Resource Format' section for more details.
optional .mesos.Resource.ReservationInfo.Type type = 4;
boolean hasRole()
The role to which this reservation is made for. NOTE: This field must not be set for `Resource.reservation`. See the 'Resource Format' section for more details.
optional string role = 3;
java.lang.String getRole()
The role to which this reservation is made for. NOTE: This field must not be set for `Resource.reservation`. See the 'Resource Format' section for more details.
optional string role = 3;
com.google.protobuf.ByteString getRoleBytes()
The role to which this reservation is made for. NOTE: This field must not be set for `Resource.reservation`. See the 'Resource Format' section for more details.
optional string role = 3;
boolean hasPrincipal()
Indicates the principal, if any, of the framework or operator that reserved this resource. If reserved by a framework, the field should match the `FrameworkInfo.principal`. It is used in conjunction with the `UnreserveResources` ACL to determine whether the entity attempting to unreserve this resource is permitted to do so.
optional string principal = 1;
java.lang.String getPrincipal()
Indicates the principal, if any, of the framework or operator that reserved this resource. If reserved by a framework, the field should match the `FrameworkInfo.principal`. It is used in conjunction with the `UnreserveResources` ACL to determine whether the entity attempting to unreserve this resource is permitted to do so.
optional string principal = 1;
com.google.protobuf.ByteString getPrincipalBytes()
Indicates the principal, if any, of the framework or operator that reserved this resource. If reserved by a framework, the field should match the `FrameworkInfo.principal`. It is used in conjunction with the `UnreserveResources` ACL to determine whether the entity attempting to unreserve this resource is permitted to do so.
optional string principal = 1;
boolean hasLabels()
Labels are free-form key value pairs that can be used to associate arbitrary metadata with a reserved resource. For example, frameworks can use labels to identify the intended purpose for a portion of the resources the framework has reserved at a given slave. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 2;
Protos.Labels getLabels()
Labels are free-form key value pairs that can be used to associate arbitrary metadata with a reserved resource. For example, frameworks can use labels to identify the intended purpose for a portion of the resources the framework has reserved at a given slave. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 2;
Protos.LabelsOrBuilder getLabelsOrBuilder()
Labels are free-form key value pairs that can be used to associate arbitrary metadata with a reserved resource. For example, frameworks can use labels to identify the intended purpose for a portion of the resources the framework has reserved at a given slave. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 2;