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

Class Protos.TaskInfo.Builder

  • All Implemented Interfaces:
    Protos.TaskInfoOrBuilder
    Enclosing class:
    Protos.TaskInfo


    public static final class Protos.TaskInfo.Builder
    extends <any>
    implements Protos.TaskInfoOrBuilder 
     Describes a task. Passed from the scheduler all the way to an
     executor (see SchedulerDriver::launchTasks and
     Executor::launchTask). Either ExecutorInfo or CommandInfo should be set.
     A different executor can be used to launch this task, and subsequent tasks
     meant for the same executor can reuse the same ExecutorInfo struct.
     
    Protobuf type mesos.TaskInfo
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField(int number)
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      • getDefaultInstanceForType

        public Protos.TaskInfo getDefaultInstanceForType()
      • setField

        public Protos.TaskInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • setRepeatedField

        public Protos.TaskInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         int index,
         java.lang.Object value)
      • addRepeatedField

        public Protos.TaskInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

        public Protos.TaskInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • setNameBytes

        public Protos.TaskInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
        required string name = 1;
      • removeResources

        public Protos.TaskInfo.Builder removeResources(int index)
        repeated .mesos.Resource resources = 4;
      • getResourcesBuilder

        public Protos.Resource.Builder getResourcesBuilder(int index)
        repeated .mesos.Resource resources = 4;
      • addResourcesBuilder

        public Protos.Resource.Builder addResourcesBuilder(int index)
        repeated .mesos.Resource resources = 4;
      • getResourcesBuilderList

        public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
        repeated .mesos.Resource resources = 4;
      • hasContainer

        public boolean hasContainer()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
        Specified by:
        hasContainer in interface Protos.TaskInfoOrBuilder
      • getContainer

        public Protos.ContainerInfo getContainer()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
        Specified by:
        getContainer in interface Protos.TaskInfoOrBuilder
      • setContainer

        public Protos.TaskInfo.Builder setContainer(Protos.ContainerInfo value)
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • setContainer

        public Protos.TaskInfo.Builder setContainer(Protos.ContainerInfo.Builder builderForValue)
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • mergeContainer

        public Protos.TaskInfo.Builder mergeContainer(Protos.ContainerInfo value)
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • clearContainer

        public Protos.TaskInfo.Builder clearContainer()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • getContainerBuilder

        public Protos.ContainerInfo.Builder getContainerBuilder()
         Task provided with a container will launch the container as part
         of this task paired with the task's CommandInfo.
         
        optional .mesos.ContainerInfo container = 9;
      • hasHealthCheck

        public boolean hasHealthCheck()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
        Specified by:
        hasHealthCheck in interface Protos.TaskInfoOrBuilder
      • getHealthCheck

        public Protos.HealthCheck getHealthCheck()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
        Specified by:
        getHealthCheck in interface Protos.TaskInfoOrBuilder
      • setHealthCheck

        public Protos.TaskInfo.Builder setHealthCheck(Protos.HealthCheck value)
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • setHealthCheck

        public Protos.TaskInfo.Builder setHealthCheck(Protos.HealthCheck.Builder builderForValue)
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • mergeHealthCheck

        public Protos.TaskInfo.Builder mergeHealthCheck(Protos.HealthCheck value)
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • clearHealthCheck

        public Protos.TaskInfo.Builder clearHealthCheck()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • getHealthCheckBuilder

        public Protos.HealthCheck.Builder getHealthCheckBuilder()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
      • getHealthCheckOrBuilder

        public Protos.HealthCheckOrBuilder getHealthCheckOrBuilder()
         A health check for the task. Implemented for executor-less
         command-based tasks. For tasks that specify an executor, it is
         the executor's responsibility to implement the health checking.
         
        optional .mesos.HealthCheck health_check = 8;
        Specified by:
        getHealthCheckOrBuilder in interface Protos.TaskInfoOrBuilder
      • hasCheck

        public boolean hasCheck()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
        Specified by:
        hasCheck in interface Protos.TaskInfoOrBuilder
      • getCheck

        public Protos.CheckInfo getCheck()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
        Specified by:
        getCheck in interface Protos.TaskInfoOrBuilder
      • setCheck

        public Protos.TaskInfo.Builder setCheck(Protos.CheckInfo value)
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • setCheck

        public Protos.TaskInfo.Builder setCheck(Protos.CheckInfo.Builder builderForValue)
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • mergeCheck

        public Protos.TaskInfo.Builder mergeCheck(Protos.CheckInfo value)
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • clearCheck

        public Protos.TaskInfo.Builder clearCheck()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • getCheckBuilder

        public Protos.CheckInfo.Builder getCheckBuilder()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
      • getCheckOrBuilder

        public Protos.CheckInfoOrBuilder getCheckOrBuilder()
         A general check for the task. Implemented for all built-in executors.
         For tasks that specify an executor, it is the executor's responsibility
         to implement checking support. Executors should (all built-in executors
         will) neither interpret nor act on the check's result.
         NOTE: Check support in built-in executors is experimental.
         TODO(alexr): Consider supporting multiple checks per task.
         
        optional .mesos.CheckInfo check = 13;
        Specified by:
        getCheckOrBuilder in interface Protos.TaskInfoOrBuilder
      • hasKillPolicy

        public boolean hasKillPolicy()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
        Specified by:
        hasKillPolicy in interface Protos.TaskInfoOrBuilder
      • getKillPolicy

        public Protos.KillPolicy getKillPolicy()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
        Specified by:
        getKillPolicy in interface Protos.TaskInfoOrBuilder
      • setKillPolicy

        public Protos.TaskInfo.Builder setKillPolicy(Protos.KillPolicy value)
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • setKillPolicy

        public Protos.TaskInfo.Builder setKillPolicy(Protos.KillPolicy.Builder builderForValue)
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • mergeKillPolicy

        public Protos.TaskInfo.Builder mergeKillPolicy(Protos.KillPolicy value)
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • clearKillPolicy

        public Protos.TaskInfo.Builder clearKillPolicy()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • getKillPolicyBuilder

        public Protos.KillPolicy.Builder getKillPolicyBuilder()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
      • getKillPolicyOrBuilder

        public Protos.KillPolicyOrBuilder getKillPolicyOrBuilder()
         A kill policy for the task. Implemented for executor-less
         command-based and docker tasks. For tasks that specify an
         executor, it is the executor's responsibility to implement
         the kill policy.
         
        optional .mesos.KillPolicy kill_policy = 12;
        Specified by:
        getKillPolicyOrBuilder in interface Protos.TaskInfoOrBuilder
      • hasLabels

        public boolean hasLabels()
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
        Specified by:
        hasLabels in interface Protos.TaskInfoOrBuilder
      • getLabels

        public Protos.Labels getLabels()
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
        Specified by:
        getLabels in interface Protos.TaskInfoOrBuilder
      • setLabels

        public Protos.TaskInfo.Builder setLabels(Protos.Labels value)
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • setLabels

        public Protos.TaskInfo.Builder setLabels(Protos.Labels.Builder builderForValue)
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • mergeLabels

        public Protos.TaskInfo.Builder mergeLabels(Protos.Labels value)
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • clearLabels

        public Protos.TaskInfo.Builder clearLabels()
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • getLabelsBuilder

        public Protos.Labels.Builder getLabelsBuilder()
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
      • getLabelsOrBuilder

        public Protos.LabelsOrBuilder getLabelsOrBuilder()
         Labels are free-form key value pairs which are exposed through
         master and slave endpoints. Labels will not be interpreted or
         acted upon by Mesos itself. As opposed to the data field, labels
         will be kept in memory on master and slave processes. Therefore,
         labels should be used to tag tasks with light-weight meta-data.
         Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 10;
        Specified by:
        getLabelsOrBuilder in interface Protos.TaskInfoOrBuilder
      • hasDiscovery

        public boolean hasDiscovery()
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
        Specified by:
        hasDiscovery in interface Protos.TaskInfoOrBuilder
      • getDiscovery

        public Protos.DiscoveryInfo getDiscovery()
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
        Specified by:
        getDiscovery in interface Protos.TaskInfoOrBuilder
      • setDiscovery

        public Protos.TaskInfo.Builder setDiscovery(Protos.DiscoveryInfo value)
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • setDiscovery

        public Protos.TaskInfo.Builder setDiscovery(Protos.DiscoveryInfo.Builder builderForValue)
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • mergeDiscovery

        public Protos.TaskInfo.Builder mergeDiscovery(Protos.DiscoveryInfo value)
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • clearDiscovery

        public Protos.TaskInfo.Builder clearDiscovery()
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • getDiscoveryBuilder

        public Protos.DiscoveryInfo.Builder getDiscoveryBuilder()
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
      • getDiscoveryOrBuilder

        public Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
         Service discovery information for the task. It is not interpreted
         or acted upon by Mesos. It is up to a service discovery system
         to use this information as needed and to handle tasks without
         service discovery information.
         
        optional .mesos.DiscoveryInfo discovery = 11;
        Specified by:
        getDiscoveryOrBuilder in interface Protos.TaskInfoOrBuilder
      • hasMaxCompletionTime

        public boolean hasMaxCompletionTime()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
        Specified by:
        hasMaxCompletionTime in interface Protos.TaskInfoOrBuilder
      • getMaxCompletionTime

        public Protos.DurationInfo getMaxCompletionTime()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
        Specified by:
        getMaxCompletionTime in interface Protos.TaskInfoOrBuilder
      • setMaxCompletionTime

        public Protos.TaskInfo.Builder setMaxCompletionTime(Protos.DurationInfo value)
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • setMaxCompletionTime

        public Protos.TaskInfo.Builder setMaxCompletionTime(Protos.DurationInfo.Builder builderForValue)
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • mergeMaxCompletionTime

        public Protos.TaskInfo.Builder mergeMaxCompletionTime(Protos.DurationInfo value)
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • clearMaxCompletionTime

        public Protos.TaskInfo.Builder clearMaxCompletionTime()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • getMaxCompletionTimeBuilder

        public Protos.DurationInfo.Builder getMaxCompletionTimeBuilder()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
      • getMaxCompletionTimeOrBuilder

        public Protos.DurationInfoOrBuilder getMaxCompletionTimeOrBuilder()
         Maximum duration for task completion. If the task is non-terminal at the
         end of this duration, it will fail with the reason
         `REASON_MAX_COMPLETION_TIME_REACHED`. Mesos supports this field for
         executor-less tasks, and tasks that use Docker or default executors.
         It is the executor's responsibility to implement this, so it might not be
         supported by all custom executors.
         
        optional .mesos.DurationInfo max_completion_time = 14;
        Specified by:
        getMaxCompletionTimeOrBuilder in interface Protos.TaskInfoOrBuilder
      • containsLimits

        public boolean containsLimits(java.lang.String key)
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
        Specified by:
        containsLimits in interface Protos.TaskInfoOrBuilder
      • removeLimits

        public Protos.TaskInfo.Builder removeLimits(java.lang.String key)
         Resource limits associated with the task.
         
        map<string, .mesos.Value.Scalar> limits = 15;
      • getMutableLimits

        @Deprecated
        public java.util.Map<java.lang.String,Protos.Value.Scalar> getMutableLimits()
        Deprecated.
        Use alternate mutation accessors instead.
      • setUnknownFields

        public final Protos.TaskInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      • mergeUnknownFields

        public final Protos.TaskInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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