This project has retired. For details please refer to its Attic page.
Protos.TaskStatus
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class Protos.TaskStatus

    • Field Detail

      • EXECUTOR_ID_FIELD_NUMBER

        public static final int EXECUTOR_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CHECK_STATUS_FIELD_NUMBER

        public static final int CHECK_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTAINER_STATUS_FIELD_NUMBER

        public static final int CONTAINER_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UNREACHABLE_TIME_FIELD_NUMBER

        public static final int UNREACHABLE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LIMITATION_FIELD_NUMBER

        public static final int LIMITATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSER

        @Deprecated
        public static final <any> PARSER
        Deprecated.
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      • getDescriptor

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

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

        public com.google.protobuf.ByteString getMessageBytes()
         Possible message explaining state.
         
        optional string message = 4;
        Specified by:
        getMessageBytes in interface Protos.TaskStatusOrBuilder
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
      • equals

        public boolean equals(java.lang.Object obj)
      • hashCode

        public int hashCode()
      • parseFrom

        public static Protos.TaskStatus parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TaskStatus parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TaskStatus parseFrom(com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TaskStatus parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TaskStatus parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.TaskStatus parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.TaskStatus parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.TaskStatus parseDelimitedFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.TaskStatus parseFrom(com.google.protobuf.CodedInputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.TaskStatus parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        protected Protos.TaskStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      • parser

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

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