This project has retired. For details please refer to its Attic page.
Protos.Resource.ReservationInfoOrBuilder
JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.apache.mesos

Interface Protos.Resource.ReservationInfoOrBuilder

    • Method Summary

      All Methods
      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.
    • Method Detail

      • hasType

        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;
      • getType

        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;
      • hasRole

        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;
      • getRole

        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;
      • getRoleBytes

        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;
      • hasPrincipal

        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;
      • getPrincipal

        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;
      • getPrincipalBytes

        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;
      • hasLabels

        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;
      • getLabels

        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;
      • getLabelsOrBuilder

        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;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /