public static interface Protos.TaskStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.AgentID |
getAgentId()
optional .mesos.v1.AgentID agent_id = 5; |
Protos.AgentIDOrBuilder |
getAgentIdOrBuilder()
optional .mesos.v1.AgentID agent_id = 5; |
Protos.CheckStatusInfo |
getCheckStatus()
optional .mesos.v1.CheckStatusInfo check_status = 15; |
Protos.CheckStatusInfoOrBuilder |
getCheckStatusOrBuilder()
optional .mesos.v1.CheckStatusInfo check_status = 15; |
Protos.ContainerStatus |
getContainerStatus()
optional .mesos.v1.ContainerStatus container_status = 13; |
Protos.ContainerStatusOrBuilder |
getContainerStatusOrBuilder()
optional .mesos.v1.ContainerStatus container_status = 13; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 3; |
Protos.ExecutorID |
getExecutorId()
optional .mesos.v1.ExecutorID executor_id = 7; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
optional .mesos.v1.ExecutorID executor_id = 7; |
boolean |
getHealthy()
optional bool healthy = 8; |
Protos.Labels |
getLabels()
optional .mesos.v1.Labels labels = 12; |
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
optional .mesos.v1.Labels labels = 12; |
String |
getMessage()
optional string message = 4; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 4; |
Protos.TaskStatus.Reason |
getReason()
optional .mesos.v1.TaskStatus.Reason reason = 10; |
Protos.TaskStatus.Source |
getSource()
optional .mesos.v1.TaskStatus.Source source = 9; |
Protos.TaskState |
getState()
required .mesos.v1.TaskState state = 2; |
Protos.TaskID |
getTaskId()
required .mesos.v1.TaskID task_id = 1; |
Protos.TaskIDOrBuilder |
getTaskIdOrBuilder()
required .mesos.v1.TaskID task_id = 1; |
double |
getTimestamp()
optional double timestamp = 6; |
Protos.TimeInfo |
getUnreachableTime()
optional .mesos.v1.TimeInfo unreachable_time = 14; |
Protos.TimeInfoOrBuilder |
getUnreachableTimeOrBuilder()
optional .mesos.v1.TimeInfo unreachable_time = 14; |
com.google.protobuf.ByteString |
getUuid()
optional bytes uuid = 11; |
boolean |
hasAgentId()
optional .mesos.v1.AgentID agent_id = 5; |
boolean |
hasCheckStatus()
optional .mesos.v1.CheckStatusInfo check_status = 15; |
boolean |
hasContainerStatus()
optional .mesos.v1.ContainerStatus container_status = 13; |
boolean |
hasData()
optional bytes data = 3; |
boolean |
hasExecutorId()
optional .mesos.v1.ExecutorID executor_id = 7; |
boolean |
hasHealthy()
optional bool healthy = 8; |
boolean |
hasLabels()
optional .mesos.v1.Labels labels = 12; |
boolean |
hasMessage()
optional string message = 4; |
boolean |
hasReason()
optional .mesos.v1.TaskStatus.Reason reason = 10; |
boolean |
hasSource()
optional .mesos.v1.TaskStatus.Source source = 9; |
boolean |
hasState()
required .mesos.v1.TaskState state = 2; |
boolean |
hasTaskId()
required .mesos.v1.TaskID task_id = 1; |
boolean |
hasTimestamp()
optional double timestamp = 6; |
boolean |
hasUnreachableTime()
optional .mesos.v1.TimeInfo unreachable_time = 14; |
boolean |
hasUuid()
optional bytes uuid = 11; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasTaskId()
required .mesos.v1.TaskID task_id = 1;
Protos.TaskID getTaskId()
required .mesos.v1.TaskID task_id = 1;
Protos.TaskIDOrBuilder getTaskIdOrBuilder()
required .mesos.v1.TaskID task_id = 1;
boolean hasState()
required .mesos.v1.TaskState state = 2;
Protos.TaskState getState()
required .mesos.v1.TaskState state = 2;
boolean hasMessage()
optional string message = 4;
Possible message explaining state.
String getMessage()
optional string message = 4;
Possible message explaining state.
com.google.protobuf.ByteString getMessageBytes()
optional string message = 4;
Possible message explaining state.
boolean hasSource()
optional .mesos.v1.TaskStatus.Source source = 9;
Protos.TaskStatus.Source getSource()
optional .mesos.v1.TaskStatus.Source source = 9;
boolean hasReason()
optional .mesos.v1.TaskStatus.Reason reason = 10;
Protos.TaskStatus.Reason getReason()
optional .mesos.v1.TaskStatus.Reason reason = 10;
boolean hasData()
optional bytes data = 3;
com.google.protobuf.ByteString getData()
optional bytes data = 3;
boolean hasAgentId()
optional .mesos.v1.AgentID agent_id = 5;
Protos.AgentID getAgentId()
optional .mesos.v1.AgentID agent_id = 5;
Protos.AgentIDOrBuilder getAgentIdOrBuilder()
optional .mesos.v1.AgentID agent_id = 5;
boolean hasExecutorId()
optional .mesos.v1.ExecutorID executor_id = 7;
TODO(benh): Use in master/agent.
Protos.ExecutorID getExecutorId()
optional .mesos.v1.ExecutorID executor_id = 7;
TODO(benh): Use in master/agent.
Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
optional .mesos.v1.ExecutorID executor_id = 7;
TODO(benh): Use in master/agent.
boolean hasTimestamp()
optional double timestamp = 6;
double getTimestamp()
optional double timestamp = 6;
boolean hasUuid()
optional bytes uuid = 11;
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.
com.google.protobuf.ByteString getUuid()
optional bytes uuid = 11;
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.
boolean hasHealthy()
optional bool healthy = 8;
Describes whether the task has been determined to be healthy (true) or unhealthy (false) according to the `health_check` field in `TaskInfo`.
boolean getHealthy()
optional bool healthy = 8;
Describes whether the task has been determined to be healthy (true) or unhealthy (false) according to the `health_check` field in `TaskInfo`.
boolean hasCheckStatus()
optional .mesos.v1.CheckStatusInfo check_status = 15;
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.
Protos.CheckStatusInfo getCheckStatus()
optional .mesos.v1.CheckStatusInfo check_status = 15;
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.
Protos.CheckStatusInfoOrBuilder getCheckStatusOrBuilder()
optional .mesos.v1.CheckStatusInfo check_status = 15;
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.
boolean hasLabels()
optional .mesos.v1.Labels labels = 12;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag TaskStatus message with light-weight meta-data. Labels should not contain duplicate key-value pairs.
Protos.Labels getLabels()
optional .mesos.v1.Labels labels = 12;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag TaskStatus message with light-weight meta-data. Labels should not contain duplicate key-value pairs.
Protos.LabelsOrBuilder getLabelsOrBuilder()
optional .mesos.v1.Labels labels = 12;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag TaskStatus message with light-weight meta-data. Labels should not contain duplicate key-value pairs.
boolean hasContainerStatus()
optional .mesos.v1.ContainerStatus container_status = 13;
Container related information that is resolved dynamically such as network address.
Protos.ContainerStatus getContainerStatus()
optional .mesos.v1.ContainerStatus container_status = 13;
Container related information that is resolved dynamically such as network address.
Protos.ContainerStatusOrBuilder getContainerStatusOrBuilder()
optional .mesos.v1.ContainerStatus container_status = 13;
Container related information that is resolved dynamically such as network address.
boolean hasUnreachableTime()
optional .mesos.v1.TimeInfo unreachable_time = 14;
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).
Protos.TimeInfo getUnreachableTime()
optional .mesos.v1.TimeInfo unreachable_time = 14;
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).
Protos.TimeInfoOrBuilder getUnreachableTimeOrBuilder()
optional .mesos.v1.TimeInfo unreachable_time = 14;
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).
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.