public static final class Protos.TaskStatus.Builder extends <any> implements Protos.TaskStatusOrBuilder
Describes the current status of a task.Protobuf type
mesos.TaskStatus
Modifier and Type | Method and Description |
---|---|
Protos.TaskStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TaskStatus |
build() |
Protos.TaskStatus |
buildPartial() |
Protos.TaskStatus.Builder |
clear() |
Protos.TaskStatus.Builder |
clearCheckStatus()
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.TaskStatus.Builder |
clearContainerStatus()
Container related information that is resolved dynamically such as
network address.
|
Protos.TaskStatus.Builder |
clearData()
optional bytes data = 3; |
Protos.TaskStatus.Builder |
clearExecutorId()
TODO(benh): Use in master/slave.
|
Protos.TaskStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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`.
|
Protos.TaskStatus.Builder |
clearLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.TaskStatus.Builder |
clearLimitation()
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
Protos.TaskStatus.Builder |
clearMessage()
Possible message explaining state.
|
Protos.TaskStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TaskStatus.Builder |
clearReason()
optional .mesos.TaskStatus.Reason reason = 10; |
Protos.TaskStatus.Builder |
clearSlaveId()
optional .mesos.SlaveID slave_id = 5; |
Protos.TaskStatus.Builder |
clearSource()
optional .mesos.TaskStatus.Source source = 9; |
Protos.TaskStatus.Builder |
clearState()
required .mesos.TaskState state = 2; |
Protos.TaskStatus.Builder |
clearTaskId()
required .mesos.TaskID task_id = 1; |
Protos.TaskStatus.Builder |
clearTimestamp()
optional double timestamp = 6; |
Protos.TaskStatus.Builder |
clearUnreachableTime()
The time (according to the master's clock) when the agent where
this task was running became unreachable.
|
Protos.TaskStatus.Builder |
clearUuid()
Statuses that are delivered reliably to the scheduler will
include a 'uuid'.
|
Protos.TaskStatus.Builder |
clone() |
Protos.CheckStatusInfo |
getCheckStatus()
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.CheckStatusInfo.Builder |
getCheckStatusBuilder()
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.ContainerStatus.Builder |
getContainerStatusBuilder()
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.TaskStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ExecutorID |
getExecutorId()
TODO(benh): Use in master/slave.
|
Protos.ExecutorID.Builder |
getExecutorIdBuilder()
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.Labels.Builder |
getLabelsBuilder()
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.TaskResourceLimitation.Builder |
getLimitationBuilder()
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.SlaveID.Builder |
getSlaveIdBuilder()
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.TaskID.Builder |
getTaskIdBuilder()
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.TimeInfo.Builder |
getUnreachableTimeBuilder()
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'.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TaskStatus.Builder |
mergeCheckStatus(Protos.CheckStatusInfo value)
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.TaskStatus.Builder |
mergeContainerStatus(Protos.ContainerStatus value)
Container related information that is resolved dynamically such as
network address.
|
Protos.TaskStatus.Builder |
mergeExecutorId(Protos.ExecutorID value)
TODO(benh): Use in master/slave.
|
Protos.TaskStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TaskStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TaskStatus.Builder |
mergeLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.TaskStatus.Builder |
mergeLimitation(Protos.TaskResourceLimitation value)
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
Protos.TaskStatus.Builder |
mergeSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 5; |
Protos.TaskStatus.Builder |
mergeTaskId(Protos.TaskID value)
required .mesos.TaskID task_id = 1; |
Protos.TaskStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
Protos.TaskStatus.Builder |
setCheckStatus(Protos.CheckStatusInfo.Builder builderForValue)
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.TaskStatus.Builder |
setCheckStatus(Protos.CheckStatusInfo value)
Contains check status for the check specified in the corresponding
`TaskInfo`.
|
Protos.TaskStatus.Builder |
setContainerStatus(Protos.ContainerStatus.Builder builderForValue)
Container related information that is resolved dynamically such as
network address.
|
Protos.TaskStatus.Builder |
setContainerStatus(Protos.ContainerStatus value)
Container related information that is resolved dynamically such as
network address.
|
Protos.TaskStatus.Builder |
setData(com.google.protobuf.ByteString value)
optional bytes data = 3; |
Protos.TaskStatus.Builder |
setExecutorId(Protos.ExecutorID.Builder builderForValue)
TODO(benh): Use in master/slave.
|
Protos.TaskStatus.Builder |
setExecutorId(Protos.ExecutorID value)
TODO(benh): Use in master/slave.
|
Protos.TaskStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
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`.
|
Protos.TaskStatus.Builder |
setLabels(Protos.Labels.Builder builderForValue)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.TaskStatus.Builder |
setLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.TaskStatus.Builder |
setLimitation(Protos.TaskResourceLimitation.Builder builderForValue)
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
Protos.TaskStatus.Builder |
setLimitation(Protos.TaskResourceLimitation value)
If the reason field indicates a container resource limitation,
this field optionally contains additional information.
|
Protos.TaskStatus.Builder |
setMessage(java.lang.String value)
Possible message explaining state.
|
Protos.TaskStatus.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
Possible message explaining state.
|
Protos.TaskStatus.Builder |
setReason(Protos.TaskStatus.Reason value)
optional .mesos.TaskStatus.Reason reason = 10; |
Protos.TaskStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TaskStatus.Builder |
setSlaveId(Protos.SlaveID.Builder builderForValue)
optional .mesos.SlaveID slave_id = 5; |
Protos.TaskStatus.Builder |
setSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 5; |
Protos.TaskStatus.Builder |
setSource(Protos.TaskStatus.Source value)
optional .mesos.TaskStatus.Source source = 9; |
Protos.TaskStatus.Builder |
setState(Protos.TaskState value)
required .mesos.TaskState state = 2; |
Protos.TaskStatus.Builder |
setTaskId(Protos.TaskID.Builder builderForValue)
required .mesos.TaskID task_id = 1; |
Protos.TaskStatus.Builder |
setTaskId(Protos.TaskID value)
required .mesos.TaskID task_id = 1; |
Protos.TaskStatus.Builder |
setTimestamp(double value)
optional double timestamp = 6; |
Protos.TaskStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
Protos.TaskStatus.Builder |
setUuid(com.google.protobuf.ByteString value)
Statuses that are delivered reliably to the scheduler will
include a 'uuid'.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.TaskStatus.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.TaskStatus getDefaultInstanceForType()
public Protos.TaskStatus build()
public Protos.TaskStatus buildPartial()
public Protos.TaskStatus.Builder clone()
public Protos.TaskStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.TaskStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.TaskStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.TaskStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskStatus.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.TaskStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasTaskId()
required .mesos.TaskID task_id = 1;
hasTaskId
in interface Protos.TaskStatusOrBuilder
public Protos.TaskID getTaskId()
required .mesos.TaskID task_id = 1;
getTaskId
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setTaskId(Protos.TaskID value)
required .mesos.TaskID task_id = 1;
public Protos.TaskStatus.Builder setTaskId(Protos.TaskID.Builder builderForValue)
required .mesos.TaskID task_id = 1;
public Protos.TaskStatus.Builder mergeTaskId(Protos.TaskID value)
required .mesos.TaskID task_id = 1;
public Protos.TaskStatus.Builder clearTaskId()
required .mesos.TaskID task_id = 1;
public Protos.TaskID.Builder getTaskIdBuilder()
required .mesos.TaskID task_id = 1;
public Protos.TaskIDOrBuilder getTaskIdOrBuilder()
required .mesos.TaskID task_id = 1;
getTaskIdOrBuilder
in interface Protos.TaskStatusOrBuilder
public boolean hasState()
required .mesos.TaskState state = 2;
hasState
in interface Protos.TaskStatusOrBuilder
public Protos.TaskState getState()
required .mesos.TaskState state = 2;
getState
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setState(Protos.TaskState value)
required .mesos.TaskState state = 2;
public Protos.TaskStatus.Builder clearState()
required .mesos.TaskState state = 2;
public boolean hasMessage()
Possible message explaining state.
optional string message = 4;
hasMessage
in interface Protos.TaskStatusOrBuilder
public java.lang.String getMessage()
Possible message explaining state.
optional string message = 4;
getMessage
in interface Protos.TaskStatusOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
Possible message explaining state.
optional string message = 4;
getMessageBytes
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setMessage(java.lang.String value)
Possible message explaining state.
optional string message = 4;
public Protos.TaskStatus.Builder clearMessage()
Possible message explaining state.
optional string message = 4;
public Protos.TaskStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
Possible message explaining state.
optional string message = 4;
public boolean hasSource()
optional .mesos.TaskStatus.Source source = 9;
hasSource
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Source getSource()
optional .mesos.TaskStatus.Source source = 9;
getSource
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setSource(Protos.TaskStatus.Source value)
optional .mesos.TaskStatus.Source source = 9;
public Protos.TaskStatus.Builder clearSource()
optional .mesos.TaskStatus.Source source = 9;
public boolean hasReason()
optional .mesos.TaskStatus.Reason reason = 10;
hasReason
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Reason getReason()
optional .mesos.TaskStatus.Reason reason = 10;
getReason
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setReason(Protos.TaskStatus.Reason value)
optional .mesos.TaskStatus.Reason reason = 10;
public Protos.TaskStatus.Builder clearReason()
optional .mesos.TaskStatus.Reason reason = 10;
public boolean hasData()
optional bytes data = 3;
hasData
in interface Protos.TaskStatusOrBuilder
public com.google.protobuf.ByteString getData()
optional bytes data = 3;
getData
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setData(com.google.protobuf.ByteString value)
optional bytes data = 3;
public Protos.TaskStatus.Builder clearData()
optional bytes data = 3;
public boolean hasSlaveId()
optional .mesos.SlaveID slave_id = 5;
hasSlaveId
in interface Protos.TaskStatusOrBuilder
public Protos.SlaveID getSlaveId()
optional .mesos.SlaveID slave_id = 5;
getSlaveId
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 5;
public Protos.TaskStatus.Builder setSlaveId(Protos.SlaveID.Builder builderForValue)
optional .mesos.SlaveID slave_id = 5;
public Protos.TaskStatus.Builder mergeSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 5;
public Protos.TaskStatus.Builder clearSlaveId()
optional .mesos.SlaveID slave_id = 5;
public Protos.SlaveID.Builder getSlaveIdBuilder()
optional .mesos.SlaveID slave_id = 5;
public Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 5;
getSlaveIdOrBuilder
in interface Protos.TaskStatusOrBuilder
public boolean hasExecutorId()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
hasExecutorId
in interface Protos.TaskStatusOrBuilder
public Protos.ExecutorID getExecutorId()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
getExecutorId
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setExecutorId(Protos.ExecutorID value)
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
public Protos.TaskStatus.Builder setExecutorId(Protos.ExecutorID.Builder builderForValue)
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
public Protos.TaskStatus.Builder mergeExecutorId(Protos.ExecutorID value)
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
public Protos.TaskStatus.Builder clearExecutorId()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
public Protos.ExecutorID.Builder getExecutorIdBuilder()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
public Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
TODO(benh): Use in master/slave.
optional .mesos.ExecutorID executor_id = 7;
getExecutorIdOrBuilder
in interface Protos.TaskStatusOrBuilder
public boolean hasTimestamp()
optional double timestamp = 6;
hasTimestamp
in interface Protos.TaskStatusOrBuilder
public double getTimestamp()
optional double timestamp = 6;
getTimestamp
in interface Protos.TaskStatusOrBuilder
public Protos.TaskStatus.Builder setTimestamp(double value)
optional double timestamp = 6;
public Protos.TaskStatus.Builder clearTimestamp()
optional double timestamp = 6;
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;
hasUuid
in interface Protos.TaskStatusOrBuilder
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;
getUuid
in interface Protos.TaskStatusOrBuilder
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;
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;
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;
hasHealthy
in interface Protos.TaskStatusOrBuilder
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;
getHealthy
in interface Protos.TaskStatusOrBuilder
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;
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;
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;
hasCheckStatus
in interface Protos.TaskStatusOrBuilder
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;
getCheckStatus
in interface Protos.TaskStatusOrBuilder
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;
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;
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;
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;
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;
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;
getCheckStatusOrBuilder
in interface Protos.TaskStatusOrBuilder
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;
hasLabels
in interface Protos.TaskStatusOrBuilder
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;
getLabels
in interface Protos.TaskStatusOrBuilder
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;
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;
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;
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;
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;
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;
getLabelsOrBuilder
in interface Protos.TaskStatusOrBuilder
public boolean hasContainerStatus()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
hasContainerStatus
in interface Protos.TaskStatusOrBuilder
public Protos.ContainerStatus getContainerStatus()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
getContainerStatus
in interface Protos.TaskStatusOrBuilder
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;
public Protos.TaskStatus.Builder setContainerStatus(Protos.ContainerStatus.Builder builderForValue)
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
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;
public Protos.TaskStatus.Builder clearContainerStatus()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
public Protos.ContainerStatus.Builder getContainerStatusBuilder()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
public Protos.ContainerStatusOrBuilder getContainerStatusOrBuilder()
Container related information that is resolved dynamically such as network address.
optional .mesos.ContainerStatus container_status = 13;
getContainerStatusOrBuilder
in interface Protos.TaskStatusOrBuilder
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;
hasUnreachableTime
in interface Protos.TaskStatusOrBuilder
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;
getUnreachableTime
in interface Protos.TaskStatusOrBuilder
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;
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;
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;
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;
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;
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;
getUnreachableTimeOrBuilder
in interface Protos.TaskStatusOrBuilder
public boolean hasLimitation()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
hasLimitation
in interface Protos.TaskStatusOrBuilder
public Protos.TaskResourceLimitation getLimitation()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
getLimitation
in interface Protos.TaskStatusOrBuilder
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;
public Protos.TaskStatus.Builder setLimitation(Protos.TaskResourceLimitation.Builder builderForValue)
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
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;
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;
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;
public Protos.TaskResourceLimitationOrBuilder getLimitationOrBuilder()
If the reason field indicates a container resource limitation, this field optionally contains additional information.
optional .mesos.TaskResourceLimitation limitation = 16;
getLimitationOrBuilder
in interface Protos.TaskStatusOrBuilder
public final Protos.TaskStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.TaskStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)