public static interface Protos.TaskOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLimits(java.lang.String key)
Resource limits associated with the task.
|
Protos.ContainerInfo |
getContainer()
Container information for the task.
|
Protos.ContainerInfoOrBuilder |
getContainerOrBuilder()
Container information for the task.
|
Protos.DiscoveryInfo |
getDiscovery()
Service discovery information for the task.
|
Protos.DiscoveryInfoOrBuilder |
getDiscoveryOrBuilder()
Service discovery information for the task.
|
Protos.ExecutorID |
getExecutorId()
optional .mesos.ExecutorID executor_id = 4; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
optional .mesos.ExecutorID executor_id = 4; |
Protos.FrameworkID |
getFrameworkId()
required .mesos.FrameworkID framework_id = 3; |
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
required .mesos.FrameworkID framework_id = 3; |
Protos.HealthCheck |
getHealthCheck()
optional .mesos.HealthCheck health_check = 15; |
Protos.HealthCheckOrBuilder |
getHealthCheckOrBuilder()
optional .mesos.HealthCheck health_check = 15; |
Protos.KillPolicy |
getKillPolicy()
The kill policy used for this task when it is killed.
|
Protos.KillPolicyOrBuilder |
getKillPolicyOrBuilder()
The kill policy used for this task when it is killed.
|
Protos.Labels |
getLabels()
optional .mesos.Labels labels = 11; |
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
optional .mesos.Labels labels = 11; |
java.util.Map<java.lang.String,Protos.Value.Scalar> |
getLimits()
Deprecated.
|
int |
getLimitsCount()
Resource limits associated with the task.
|
java.util.Map<java.lang.String,Protos.Value.Scalar> |
getLimitsMap()
Resource limits associated with the task.
|
Protos.Value.Scalar |
getLimitsOrDefault(java.lang.String key,
Protos.Value.Scalar defaultValue)
Resource limits associated with the task.
|
Protos.Value.Scalar |
getLimitsOrThrow(java.lang.String key)
Resource limits associated with the task.
|
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 7; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 7; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 7; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 7; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 7; |
Protos.SlaveID |
getSlaveId()
required .mesos.SlaveID slave_id = 5; |
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
required .mesos.SlaveID slave_id = 5; |
Protos.TaskState |
getState()
Latest state of the task.
|
Protos.TaskStatus |
getStatuses(int index)
repeated .mesos.TaskStatus statuses = 8; |
int |
getStatusesCount()
repeated .mesos.TaskStatus statuses = 8; |
java.util.List<Protos.TaskStatus> |
getStatusesList()
repeated .mesos.TaskStatus statuses = 8; |
Protos.TaskStatusOrBuilder |
getStatusesOrBuilder(int index)
repeated .mesos.TaskStatus statuses = 8; |
java.util.List<? extends Protos.TaskStatusOrBuilder> |
getStatusesOrBuilderList()
repeated .mesos.TaskStatus statuses = 8; |
Protos.TaskState |
getStatusUpdateState()
These fields correspond to the state and uuid of the latest
status update forwarded to the master.
|
com.google.protobuf.ByteString |
getStatusUpdateUuid()
optional bytes status_update_uuid = 10; |
Protos.TaskID |
getTaskId()
required .mesos.TaskID task_id = 2; |
Protos.TaskIDOrBuilder |
getTaskIdOrBuilder()
required .mesos.TaskID task_id = 2; |
java.lang.String |
getUser()
Specific user under which task is running.
|
com.google.protobuf.ByteString |
getUserBytes()
Specific user under which task is running.
|
boolean |
hasContainer()
Container information for the task.
|
boolean |
hasDiscovery()
Service discovery information for the task.
|
boolean |
hasExecutorId()
optional .mesos.ExecutorID executor_id = 4; |
boolean |
hasFrameworkId()
required .mesos.FrameworkID framework_id = 3; |
boolean |
hasHealthCheck()
optional .mesos.HealthCheck health_check = 15; |
boolean |
hasKillPolicy()
The kill policy used for this task when it is killed.
|
boolean |
hasLabels()
optional .mesos.Labels labels = 11; |
boolean |
hasName()
required string name = 1; |
boolean |
hasSlaveId()
required .mesos.SlaveID slave_id = 5; |
boolean |
hasState()
Latest state of the task.
|
boolean |
hasStatusUpdateState()
These fields correspond to the state and uuid of the latest
status update forwarded to the master.
|
boolean |
hasStatusUpdateUuid()
optional bytes status_update_uuid = 10; |
boolean |
hasTaskId()
required .mesos.TaskID task_id = 2; |
boolean |
hasUser()
Specific user under which task is running.
|
boolean hasName()
required string name = 1;
java.lang.String getName()
required string name = 1;
com.google.protobuf.ByteString getNameBytes()
required string name = 1;
boolean hasTaskId()
required .mesos.TaskID task_id = 2;
Protos.TaskID getTaskId()
required .mesos.TaskID task_id = 2;
Protos.TaskIDOrBuilder getTaskIdOrBuilder()
required .mesos.TaskID task_id = 2;
boolean hasFrameworkId()
required .mesos.FrameworkID framework_id = 3;
Protos.FrameworkID getFrameworkId()
required .mesos.FrameworkID framework_id = 3;
Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
required .mesos.FrameworkID framework_id = 3;
boolean hasExecutorId()
optional .mesos.ExecutorID executor_id = 4;
Protos.ExecutorID getExecutorId()
optional .mesos.ExecutorID executor_id = 4;
Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
optional .mesos.ExecutorID executor_id = 4;
boolean hasSlaveId()
required .mesos.SlaveID slave_id = 5;
Protos.SlaveID getSlaveId()
required .mesos.SlaveID slave_id = 5;
Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
required .mesos.SlaveID slave_id = 5;
boolean hasState()
Latest state of the task.
required .mesos.TaskState state = 6;
Protos.TaskState getState()
Latest state of the task.
required .mesos.TaskState state = 6;
java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 7;
Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 7;
int getResourcesCount()
repeated .mesos.Resource resources = 7;
java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 7;
Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 7;
java.util.List<Protos.TaskStatus> getStatusesList()
repeated .mesos.TaskStatus statuses = 8;
Protos.TaskStatus getStatuses(int index)
repeated .mesos.TaskStatus statuses = 8;
int getStatusesCount()
repeated .mesos.TaskStatus statuses = 8;
java.util.List<? extends Protos.TaskStatusOrBuilder> getStatusesOrBuilderList()
repeated .mesos.TaskStatus statuses = 8;
Protos.TaskStatusOrBuilder getStatusesOrBuilder(int index)
repeated .mesos.TaskStatus statuses = 8;
boolean hasStatusUpdateState()
These fields correspond to the state and uuid of the latest status update forwarded to the master. NOTE: Either both the fields must be set or both must be unset.
optional .mesos.TaskState status_update_state = 9;
Protos.TaskState getStatusUpdateState()
These fields correspond to the state and uuid of the latest status update forwarded to the master. NOTE: Either both the fields must be set or both must be unset.
optional .mesos.TaskState status_update_state = 9;
boolean hasStatusUpdateUuid()
optional bytes status_update_uuid = 10;
com.google.protobuf.ByteString getStatusUpdateUuid()
optional bytes status_update_uuid = 10;
boolean hasLabels()
optional .mesos.Labels labels = 11;
Protos.Labels getLabels()
optional .mesos.Labels labels = 11;
Protos.LabelsOrBuilder getLabelsOrBuilder()
optional .mesos.Labels labels = 11;
boolean hasDiscovery()
Service discovery information for the task. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle tasks without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
Protos.DiscoveryInfo getDiscovery()
Service discovery information for the task. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle tasks without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
Service discovery information for the task. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle tasks without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
boolean hasContainer()
Container information for the task.
optional .mesos.ContainerInfo container = 13;
Protos.ContainerInfo getContainer()
Container information for the task.
optional .mesos.ContainerInfo container = 13;
Protos.ContainerInfoOrBuilder getContainerOrBuilder()
Container information for the task.
optional .mesos.ContainerInfo container = 13;
boolean hasHealthCheck()
optional .mesos.HealthCheck health_check = 15;
Protos.HealthCheck getHealthCheck()
optional .mesos.HealthCheck health_check = 15;
Protos.HealthCheckOrBuilder getHealthCheckOrBuilder()
optional .mesos.HealthCheck health_check = 15;
boolean hasKillPolicy()
The kill policy used for this task when it is killed. It's possible for this policy to be overridden by the scheduler when killing the task.
optional .mesos.KillPolicy kill_policy = 16;
Protos.KillPolicy getKillPolicy()
The kill policy used for this task when it is killed. It's possible for this policy to be overridden by the scheduler when killing the task.
optional .mesos.KillPolicy kill_policy = 16;
Protos.KillPolicyOrBuilder getKillPolicyOrBuilder()
The kill policy used for this task when it is killed. It's possible for this policy to be overridden by the scheduler when killing the task.
optional .mesos.KillPolicy kill_policy = 16;
boolean hasUser()
Specific user under which task is running.
optional string user = 14;
java.lang.String getUser()
Specific user under which task is running.
optional string user = 14;
com.google.protobuf.ByteString getUserBytes()
Specific user under which task is running.
optional string user = 14;
int getLimitsCount()
Resource limits associated with the task.
map<string, .mesos.Value.Scalar> limits = 17;
boolean containsLimits(java.lang.String key)
Resource limits associated with the task.
map<string, .mesos.Value.Scalar> limits = 17;
@Deprecated java.util.Map<java.lang.String,Protos.Value.Scalar> getLimits()
getLimitsMap()
instead.java.util.Map<java.lang.String,Protos.Value.Scalar> getLimitsMap()
Resource limits associated with the task.
map<string, .mesos.Value.Scalar> limits = 17;
Protos.Value.Scalar getLimitsOrDefault(java.lang.String key, Protos.Value.Scalar defaultValue)
Resource limits associated with the task.
map<string, .mesos.Value.Scalar> limits = 17;
Protos.Value.Scalar getLimitsOrThrow(java.lang.String key)
Resource limits associated with the task.
map<string, .mesos.Value.Scalar> limits = 17;