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

Interface Protos.ResourceOrBuilder

    • Method Detail

      • hasProviderId

        boolean hasProviderId()
         Specified if the resource comes from a particular resource provider.
         
        optional .mesos.ResourceProviderID provider_id = 12;
      • getProviderId

        Protos.ResourceProviderID getProviderId()
         Specified if the resource comes from a particular resource provider.
         
        optional .mesos.ResourceProviderID provider_id = 12;
      • getProviderIdOrBuilder

        Protos.ResourceProviderIDOrBuilder getProviderIdOrBuilder()
         Specified if the resource comes from a particular resource provider.
         
        optional .mesos.ResourceProviderID provider_id = 12;
      • hasName

        boolean hasName()
        required string name = 1;
      • getName

        java.lang.String getName()
        required string name = 1;
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        required string name = 1;
      • hasType

        boolean hasType()
        required .mesos.Value.Type type = 2;
      • hasScalar

        boolean hasScalar()
        optional .mesos.Value.Scalar scalar = 3;
      • hasRanges

        boolean hasRanges()
        optional .mesos.Value.Ranges ranges = 4;
      • hasSet

        boolean hasSet()
        optional .mesos.Value.Set set = 5;
      • hasRole

        @Deprecated
        boolean hasRole()
        Deprecated.
         The role that this resource is reserved for. If "*", this indicates
         that the resource is unreserved. Otherwise, the resource will only
         be offered to frameworks that belong to this role.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional string role = 6 [default = "*", deprecated = true];
      • getRole

        @Deprecated
        java.lang.String getRole()
        Deprecated.
         The role that this resource is reserved for. If "*", this indicates
         that the resource is unreserved. Otherwise, the resource will only
         be offered to frameworks that belong to this role.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional string role = 6 [default = "*", deprecated = true];
      • getRoleBytes

        @Deprecated
        com.google.protobuf.ByteString getRoleBytes()
        Deprecated.
         The role that this resource is reserved for. If "*", this indicates
         that the resource is unreserved. Otherwise, the resource will only
         be offered to frameworks that belong to this role.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional string role = 6 [default = "*", deprecated = true];
      • hasAllocationInfo

        boolean hasAllocationInfo()
        optional .mesos.Resource.AllocationInfo allocation_info = 11;
      • hasReservation

        boolean hasReservation()
         If this is set, this resource was dynamically reserved by an
         operator or a framework. Otherwise, this resource is either unreserved
         or statically reserved by an operator via the --resources flag.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional .mesos.Resource.ReservationInfo reservation = 8;
      • getReservation

        Protos.Resource.ReservationInfo getReservation()
         If this is set, this resource was dynamically reserved by an
         operator or a framework. Otherwise, this resource is either unreserved
         or statically reserved by an operator via the --resources flag.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional .mesos.Resource.ReservationInfo reservation = 8;
      • getReservationOrBuilder

        Protos.Resource.ReservationInfoOrBuilder getReservationOrBuilder()
         If this is set, this resource was dynamically reserved by an
         operator or a framework. Otherwise, this resource is either unreserved
         or statically reserved by an operator via the --resources flag.
         NOTE: Frameworks must not set this field if `reservations` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate once `reservations` is no longer experimental.
         
        optional .mesos.Resource.ReservationInfo reservation = 8;
      • getReservationsList

        java.util.List<Protos.Resource.ReservationInfo> getReservationsList()
         The stack of reservations. If this field is empty, it indicates that this
         resource is unreserved. Otherwise, the resource is reserved. 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 reservation's role.
         NOTE: Frameworks must not set this field if `reservation` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate `role` and `reservation` once this is stable.
         
        repeated .mesos.Resource.ReservationInfo reservations = 13;
      • getReservations

        Protos.Resource.ReservationInfo getReservations(int index)
         The stack of reservations. If this field is empty, it indicates that this
         resource is unreserved. Otherwise, the resource is reserved. 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 reservation's role.
         NOTE: Frameworks must not set this field if `reservation` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate `role` and `reservation` once this is stable.
         
        repeated .mesos.Resource.ReservationInfo reservations = 13;
      • getReservationsCount

        int getReservationsCount()
         The stack of reservations. If this field is empty, it indicates that this
         resource is unreserved. Otherwise, the resource is reserved. 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 reservation's role.
         NOTE: Frameworks must not set this field if `reservation` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate `role` and `reservation` once this is stable.
         
        repeated .mesos.Resource.ReservationInfo reservations = 13;
      • getReservationsOrBuilderList

        java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> getReservationsOrBuilderList()
         The stack of reservations. If this field is empty, it indicates that this
         resource is unreserved. Otherwise, the resource is reserved. 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 reservation's role.
         NOTE: Frameworks must not set this field if `reservation` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate `role` and `reservation` once this is stable.
         
        repeated .mesos.Resource.ReservationInfo reservations = 13;
      • getReservationsOrBuilder

        Protos.Resource.ReservationInfoOrBuilder getReservationsOrBuilder(int index)
         The stack of reservations. If this field is empty, it indicates that this
         resource is unreserved. Otherwise, the resource is reserved. 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 reservation's role.
         NOTE: Frameworks must not set this field if `reservation` is set.
         See the 'Resource Format' section for more details.
         TODO(mpark): Deprecate `role` and `reservation` once this is stable.
         
        repeated .mesos.Resource.ReservationInfo reservations = 13;
      • hasDisk

        boolean hasDisk()
        optional .mesos.Resource.DiskInfo disk = 7;
      • hasRevocable

        boolean hasRevocable()
         If this is set, the resources are revocable, i.e., any tasks or
         executors launched using these resources could get preempted or
         throttled at any time. This could be used by frameworks to run
         best effort tasks that do not need strict uptime or performance
         guarantees. Note that if this is set, 'disk' or 'reservation'
         cannot be set.
         
        optional .mesos.Resource.RevocableInfo revocable = 9;
      • getRevocable

        Protos.Resource.RevocableInfo getRevocable()
         If this is set, the resources are revocable, i.e., any tasks or
         executors launched using these resources could get preempted or
         throttled at any time. This could be used by frameworks to run
         best effort tasks that do not need strict uptime or performance
         guarantees. Note that if this is set, 'disk' or 'reservation'
         cannot be set.
         
        optional .mesos.Resource.RevocableInfo revocable = 9;
      • getRevocableOrBuilder

        Protos.Resource.RevocableInfoOrBuilder getRevocableOrBuilder()
         If this is set, the resources are revocable, i.e., any tasks or
         executors launched using these resources could get preempted or
         throttled at any time. This could be used by frameworks to run
         best effort tasks that do not need strict uptime or performance
         guarantees. Note that if this is set, 'disk' or 'reservation'
         cannot be set.
         
        optional .mesos.Resource.RevocableInfo revocable = 9;
      • hasShared

        boolean hasShared()
         If this is set, the resources are shared, i.e. multiple tasks
         can be launched using this resource and all of them shall refer
         to the same physical resource on the cluster. Note that only
         persistent volumes can be shared currently.
         NOTE: Different shared resources must be uniquely identifiable.
         This currently holds as persistent volume should have unique `id`
         (this is not validated for enforced though).
         
        optional .mesos.Resource.SharedInfo shared = 10;
      • getShared

        Protos.Resource.SharedInfo getShared()
         If this is set, the resources are shared, i.e. multiple tasks
         can be launched using this resource and all of them shall refer
         to the same physical resource on the cluster. Note that only
         persistent volumes can be shared currently.
         NOTE: Different shared resources must be uniquely identifiable.
         This currently holds as persistent volume should have unique `id`
         (this is not validated for enforced though).
         
        optional .mesos.Resource.SharedInfo shared = 10;
      • getSharedOrBuilder

        Protos.Resource.SharedInfoOrBuilder getSharedOrBuilder()
         If this is set, the resources are shared, i.e. multiple tasks
         can be launched using this resource and all of them shall refer
         to the same physical resource on the cluster. Note that only
         persistent volumes can be shared currently.
         NOTE: Different shared resources must be uniquely identifiable.
         This currently holds as persistent volume should have unique `id`
         (this is not validated for enforced though).
         
        optional .mesos.Resource.SharedInfo shared = 10;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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