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

Class Protos.TaskStatus.Builder

    • Method Detail

      • getDescriptor

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

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

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

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

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

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

        public final boolean isInitialized()
      • mergeFrom

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

        public com.google.protobuf.ByteString getMessageBytes()
         Possible message explaining state.
         
        optional string message = 4;
        Specified by:
        getMessageBytes in interface Protos.TaskStatusOrBuilder
      • setMessage

        public Protos.TaskStatus.Builder setMessage(java.lang.String value)
         Possible message explaining state.
         
        optional string message = 4;
      • clearMessage

        public Protos.TaskStatus.Builder clearMessage()
         Possible message explaining state.
         
        optional string message = 4;
      • setMessageBytes

        public Protos.TaskStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
         Possible message explaining state.
         
        optional string message = 4;
      • clearExecutorId

        public Protos.TaskStatus.Builder clearExecutorId()
         TODO(benh): Use in master/slave.
         
        optional .mesos.ExecutorID executor_id = 7;
      • getExecutorIdBuilder

        public Protos.ExecutorID.Builder getExecutorIdBuilder()
         TODO(benh): Use in master/slave.
         
        optional .mesos.ExecutorID executor_id = 7;
      • hasUuid

        public boolean hasUuid()
         Statuses that are delivered reliably to the scheduler will
         include a 'uuid'. The status is considered delivered once
         it is acknowledged by the scheduler. Schedulers can choose
         to either explicitly acknowledge statuses or let the scheduler
         driver implicitly acknowledge (default).
         TODO(bmahler): This is currently overwritten in the scheduler
         driver and executor driver, but executors will need to set this
         to a valid RFC-4122 UUID if using the HTTP API.
         
        optional bytes uuid = 11;
        Specified by:
        hasUuid in interface Protos.TaskStatusOrBuilder
      • getUuid

        public com.google.protobuf.ByteString getUuid()
         Statuses that are delivered reliably to the scheduler will
         include a 'uuid'. The status is considered delivered once
         it is acknowledged by the scheduler. Schedulers can choose
         to either explicitly acknowledge statuses or let the scheduler
         driver implicitly acknowledge (default).
         TODO(bmahler): This is currently overwritten in the scheduler
         driver and executor driver, but executors will need to set this
         to a valid RFC-4122 UUID if using the HTTP API.
         
        optional bytes uuid = 11;
        Specified by:
        getUuid in interface Protos.TaskStatusOrBuilder
      • setUuid

        public Protos.TaskStatus.Builder setUuid(com.google.protobuf.ByteString value)
         Statuses that are delivered reliably to the scheduler will
         include a 'uuid'. The status is considered delivered once
         it is acknowledged by the scheduler. Schedulers can choose
         to either explicitly acknowledge statuses or let the scheduler
         driver implicitly acknowledge (default).
         TODO(bmahler): This is currently overwritten in the scheduler
         driver and executor driver, but executors will need to set this
         to a valid RFC-4122 UUID if using the HTTP API.
         
        optional bytes uuid = 11;
      • clearUuid

        public Protos.TaskStatus.Builder clearUuid()
         Statuses that are delivered reliably to the scheduler will
         include a 'uuid'. The status is considered delivered once
         it is acknowledged by the scheduler. Schedulers can choose
         to either explicitly acknowledge statuses or let the scheduler
         driver implicitly acknowledge (default).
         TODO(bmahler): This is currently overwritten in the scheduler
         driver and executor driver, but executors will need to set this
         to a valid RFC-4122 UUID if using the HTTP API.
         
        optional bytes uuid = 11;
      • hasHealthy

        public boolean hasHealthy()
         Describes whether the task has been determined to be healthy (true) or
         unhealthy (false) according to the `health_check` field in `TaskInfo`.
         
        optional bool healthy = 8;
        Specified by:
        hasHealthy in interface Protos.TaskStatusOrBuilder
      • getHealthy

        public boolean getHealthy()
         Describes whether the task has been determined to be healthy (true) or
         unhealthy (false) according to the `health_check` field in `TaskInfo`.
         
        optional bool healthy = 8;
        Specified by:
        getHealthy in interface Protos.TaskStatusOrBuilder
      • setHealthy

        public Protos.TaskStatus.Builder setHealthy(boolean value)
         Describes whether the task has been determined to be healthy (true) or
         unhealthy (false) according to the `health_check` field in `TaskInfo`.
         
        optional bool healthy = 8;
      • clearHealthy

        public Protos.TaskStatus.Builder clearHealthy()
         Describes whether the task has been determined to be healthy (true) or
         unhealthy (false) according to the `health_check` field in `TaskInfo`.
         
        optional bool healthy = 8;
      • hasCheckStatus

        public boolean hasCheckStatus()
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
        Specified by:
        hasCheckStatus in interface Protos.TaskStatusOrBuilder
      • getCheckStatus

        public Protos.CheckStatusInfo getCheckStatus()
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
        Specified by:
        getCheckStatus in interface Protos.TaskStatusOrBuilder
      • setCheckStatus

        public Protos.TaskStatus.Builder setCheckStatus(Protos.CheckStatusInfo value)
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
      • setCheckStatus

        public Protos.TaskStatus.Builder setCheckStatus(Protos.CheckStatusInfo.Builder builderForValue)
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
      • mergeCheckStatus

        public Protos.TaskStatus.Builder mergeCheckStatus(Protos.CheckStatusInfo value)
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
      • clearCheckStatus

        public Protos.TaskStatus.Builder clearCheckStatus()
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
      • getCheckStatusBuilder

        public Protos.CheckStatusInfo.Builder getCheckStatusBuilder()
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
      • getCheckStatusOrBuilder

        public Protos.CheckStatusInfoOrBuilder getCheckStatusOrBuilder()
         Contains check status for the check specified in the corresponding
         `TaskInfo`. If no check has been specified, this field must be
         absent, otherwise it must be present even if the check status is
         not available yet. If the status update is triggered for a different
         reason than `REASON_TASK_CHECK_STATUS_UPDATED`, this field will contain
         the last known value.
         NOTE: A check-related task status update is triggered if and only if
         the value or presence of any field in `CheckStatusInfo` changes.
         NOTE: Check support in built-in executors is experimental.
         
        optional .mesos.CheckStatusInfo check_status = 15;
        Specified by:
        getCheckStatusOrBuilder in interface Protos.TaskStatusOrBuilder
      • 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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
        Specified by:
        hasLabels in interface Protos.TaskStatusOrBuilder
      • 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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
        Specified by:
        getLabels in interface Protos.TaskStatusOrBuilder
      • setLabels

        public Protos.TaskStatus.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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
      • setLabels

        public Protos.TaskStatus.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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
      • mergeLabels

        public Protos.TaskStatus.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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
      • clearLabels

        public Protos.TaskStatus.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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
      • 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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
      • 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 TaskStatus message with light-weight
         meta-data. Labels should not contain duplicate key-value pairs.
         
        optional .mesos.Labels labels = 12;
        Specified by:
        getLabelsOrBuilder in interface Protos.TaskStatusOrBuilder
      • hasContainerStatus

        public boolean hasContainerStatus()
         Container related information that is resolved dynamically such as
         network address.
         
        optional .mesos.ContainerStatus container_status = 13;
        Specified by:
        hasContainerStatus in interface Protos.TaskStatusOrBuilder
      • setContainerStatus

        public Protos.TaskStatus.Builder setContainerStatus(Protos.ContainerStatus value)
         Container related information that is resolved dynamically such as
         network address.
         
        optional .mesos.ContainerStatus container_status = 13;
      • mergeContainerStatus

        public Protos.TaskStatus.Builder mergeContainerStatus(Protos.ContainerStatus value)
         Container related information that is resolved dynamically such as
         network address.
         
        optional .mesos.ContainerStatus container_status = 13;
      • clearContainerStatus

        public Protos.TaskStatus.Builder clearContainerStatus()
         Container related information that is resolved dynamically such as
         network address.
         
        optional .mesos.ContainerStatus container_status = 13;
      • getContainerStatusBuilder

        public Protos.ContainerStatus.Builder getContainerStatusBuilder()
         Container related information that is resolved dynamically such as
         network address.
         
        optional .mesos.ContainerStatus container_status = 13;
      • hasUnreachableTime

        public boolean hasUnreachableTime()
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
        Specified by:
        hasUnreachableTime in interface Protos.TaskStatusOrBuilder
      • getUnreachableTime

        public Protos.TimeInfo getUnreachableTime()
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
        Specified by:
        getUnreachableTime in interface Protos.TaskStatusOrBuilder
      • setUnreachableTime

        public Protos.TaskStatus.Builder setUnreachableTime(Protos.TimeInfo value)
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
      • setUnreachableTime

        public Protos.TaskStatus.Builder setUnreachableTime(Protos.TimeInfo.Builder builderForValue)
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
      • mergeUnreachableTime

        public Protos.TaskStatus.Builder mergeUnreachableTime(Protos.TimeInfo value)
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
      • clearUnreachableTime

        public Protos.TaskStatus.Builder clearUnreachableTime()
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
      • getUnreachableTimeBuilder

        public Protos.TimeInfo.Builder getUnreachableTimeBuilder()
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
      • getUnreachableTimeOrBuilder

        public Protos.TimeInfoOrBuilder getUnreachableTimeOrBuilder()
         The time (according to the master's clock) when the agent where
         this task was running became unreachable. This is only set on
         status updates for tasks running on agents that are unreachable
         (e.g., partitioned away from the master).
         
        optional .mesos.TimeInfo unreachable_time = 14;
        Specified by:
        getUnreachableTimeOrBuilder in interface Protos.TaskStatusOrBuilder
      • hasLimitation

        public boolean hasLimitation()
         If the reason field indicates a container resource limitation,
         this field optionally contains additional information.
         
        optional .mesos.TaskResourceLimitation limitation = 16;
        Specified by:
        hasLimitation in interface Protos.TaskStatusOrBuilder
      • setLimitation

        public Protos.TaskStatus.Builder setLimitation(Protos.TaskResourceLimitation value)
         If the reason field indicates a container resource limitation,
         this field optionally contains additional information.
         
        optional .mesos.TaskResourceLimitation limitation = 16;
      • mergeLimitation

        public Protos.TaskStatus.Builder mergeLimitation(Protos.TaskResourceLimitation value)
         If the reason field indicates a container resource limitation,
         this field optionally contains additional information.
         
        optional .mesos.TaskResourceLimitation limitation = 16;
      • clearLimitation

        public Protos.TaskStatus.Builder clearLimitation()
         If the reason field indicates a container resource limitation,
         this field optionally contains additional information.
         
        optional .mesos.TaskResourceLimitation limitation = 16;
      • getLimitationBuilder

        public Protos.TaskResourceLimitation.Builder getLimitationBuilder()
         If the reason field indicates a container resource limitation,
         this field optionally contains additional information.
         
        optional .mesos.TaskResourceLimitation limitation = 16;
      • setUnknownFields

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

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

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