public static interface Protos.TaskStatusOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.CheckStatusInfo |
getCheckStatus()
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.CheckStatusInfoOrBuilder |
getCheckStatusOrBuilder()
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.ContainerStatus |
getContainerStatus()
Container related information that is resolved dynamically such as
network address.
|
Protos.ContainerStatusOrBuilder |
getContainerStatusOrBuilder()
Container related information that is resolved dynamically such as
network address.
|
com.google.protobuf.ByteString |
getData()
optional bytes data = 3; |
Protos.ExecutorID |
getExecutorId()
TODO(benh): Use in master/slave.
|
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
TODO(benh): Use in master/slave.
|
boolean |
getHealthy()
Describes whether the task has been determined to be healthy (true) or
unhealthy (false) according to the `health_check` field in `TaskInfo`.
|
Protos.Labels |
getLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.TaskResourceLimitation |
getLimitation()
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
Protos.TaskResourceLimitationOrBuilder |
getLimitationOrBuilder()
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
java.lang.String |
getMessage()
Possible message explaining state.
|
com.google.protobuf.ByteString |
getMessageBytes()
Possible message explaining state.
|
Protos.TaskStatus.Reason |
getReason()
optional .mesos.TaskStatus.Reason reason = 10; |
Protos.SlaveID |
getSlaveId()
optional .mesos.SlaveID slave_id = 5; |
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 5; |
Protos.TaskStatus.Source |
getSource()
optional .mesos.TaskStatus.Source source = 9; |
Protos.TaskState |
getState()
required .mesos.TaskState state = 2; |
Protos.TaskID |
getTaskId()
required .mesos.TaskID task_id = 1; |
Protos.TaskIDOrBuilder |
getTaskIdOrBuilder()
required .mesos.TaskID task_id = 1; |
double |
getTimestamp()
optional double timestamp = 6; |
Protos.TimeInfo |
getUnreachableTime()
The time (according to the master's clock) when the agent where
this task was running became unreachable.
|
Protos.TimeInfoOrBuilder |
getUnreachableTimeOrBuilder()
The time (according to the master's clock) when the agent where
this task was running became unreachable.
|
com.google.protobuf.ByteString |
getUuid()
Statuses that are delivered reliably to the scheduler will
include a 'uuid'.
|
boolean |
hasCheckStatus()
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
boolean |
hasContainerStatus()
Container related information that is resolved dynamically such as
network address.
|
boolean |
hasData()
optional bytes data = 3; |
boolean |
hasExecutorId()
TODO(benh): Use in master/slave.
|
boolean |
hasHealthy()
Describes whether the task has been determined to be healthy (true) or
unhealthy (false) according to the `health_check` field in `TaskInfo`.
|
boolean |
hasLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
boolean |
hasLimitation()
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
boolean |
hasMessage()
Possible message explaining state.
|
boolean |
hasReason()
optional .mesos.TaskStatus.Reason reason = 10; |
boolean |
hasSlaveId()
optional .mesos.SlaveID slave_id = 5; |
boolean |
hasSource()
optional .mesos.TaskStatus.Source source = 9; |
boolean |
hasState()
required .mesos.TaskState state = 2; |
boolean |
hasTaskId()
required .mesos.TaskID task_id = 1; |
boolean |
hasTimestamp()
optional double timestamp = 6; |
boolean |
hasUnreachableTime()
The time (according to the master's clock) when the agent where
this task was running became unreachable.
|
boolean |
hasUuid()
Statuses that are delivered reliably to the scheduler will
include a 'uuid'.
|
boolean hasTaskId()
required .mesos.TaskID task_id = 1;
Protos.TaskID getTaskId()
required .mesos.TaskID task_id = 1;
Protos.TaskIDOrBuilder getTaskIdOrBuilder()
required .mesos.TaskID task_id = 1;
boolean hasState()
required .mesos.TaskState state = 2;
Protos.TaskState getState()
required .mesos.TaskState state = 2;
boolean hasMessage()
Possible message explaining state.
optional string message = 4;
java.lang.String getMessage()
Possible message explaining state.
optional string message = 4;
com.google.protobuf.ByteString getMessageBytes()
Possible message explaining state.
optional string message = 4;
boolean hasSource()
optional .mesos.TaskStatus.Source source = 9;
Protos.TaskStatus.Source getSource()
optional .mesos.TaskStatus.Source source = 9;
boolean hasReason()
optional .mesos.TaskStatus.Reason reason = 10;
Protos.TaskStatus.Reason getReason()
optional .mesos.TaskStatus.Reason reason = 10;
boolean hasData()
optional bytes data = 3;
com.google.protobuf.ByteString getData()
optional bytes data = 3;
boolean hasSlaveId()
optional .mesos.SlaveID slave_id = 5;
Protos.SlaveID getSlaveId()
optional .mesos.SlaveID slave_id = 5;
Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 5;
boolean hasExecutorId()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
Protos.ExecutorID getExecutorId()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
boolean hasTimestamp()
optional double timestamp = 6;
double getTimestamp()
optional double timestamp = 6;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
boolean hasContainerStatus()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
Protos.ContainerStatus getContainerStatus()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
Protos.ContainerStatusOrBuilder getContainerStatusOrBuilder()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
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;
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;
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;
boolean hasLimitation()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
Protos.TaskResourceLimitation getLimitation()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
Protos.TaskResourceLimitationOrBuilder getLimitationOrBuilder()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;