public static final class Protos.ResourceUsage.Executor.Builder extends <any> implements Protos.ResourceUsage.ExecutorOrBuilder
mesos.ResourceUsage.Executor
Modifier and Type | Method and Description |
---|---|
Protos.ResourceUsage.Executor.Builder |
addAllAllocated(java.lang.Iterable<? extends Protos.Resource> values)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
addAllocated(int index,
Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
addAllocated(int index,
Protos.Resource value)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
addAllocated(Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
addAllocated(Protos.Resource value)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.Resource.Builder |
addAllocatedBuilder()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.Resource.Builder |
addAllocatedBuilder(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
addAllTasks(java.lang.Iterable<? extends Protos.ResourceUsage.Executor.Task> values)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Builder |
addTasks(int index,
Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
addTasks(int index,
Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
addTasks(Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
addTasks(Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Task.Builder |
addTasksBuilder()
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Task.Builder |
addTasksBuilder(int index)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor |
build() |
Protos.ResourceUsage.Executor |
buildPartial() |
Protos.ResourceUsage.Executor.Builder |
clear() |
Protos.ResourceUsage.Executor.Builder |
clearAllocated()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
clearContainerId()
The container id for the executor specified in the executor_info field.
|
Protos.ResourceUsage.Executor.Builder |
clearExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceUsage.Executor.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ResourceUsage.Executor.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ResourceUsage.Executor.Builder |
clearStatistics()
Current resource usage.
|
Protos.ResourceUsage.Executor.Builder |
clearTasks()
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
clone() |
Protos.Resource |
getAllocated(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.Resource.Builder |
getAllocatedBuilder(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
java.util.List<Protos.Resource.Builder> |
getAllocatedBuilderList()
This includes resources used by the executor itself
as well as its active tasks.
|
int |
getAllocatedCount()
This includes resources used by the executor itself
as well as its active tasks.
|
java.util.List<Protos.Resource> |
getAllocatedList()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceOrBuilder |
getAllocatedOrBuilder(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getAllocatedOrBuilderList()
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ContainerID |
getContainerId()
The container id for the executor specified in the executor_info field.
|
Protos.ContainerID.Builder |
getContainerIdBuilder()
The container id for the executor specified in the executor_info field.
|
Protos.ContainerIDOrBuilder |
getContainerIdOrBuilder()
The container id for the executor specified in the executor_info field.
|
Protos.ResourceUsage.Executor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ExecutorInfo |
getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ExecutorInfo.Builder |
getExecutorInfoBuilder()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ExecutorInfoOrBuilder |
getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceStatistics |
getStatistics()
Current resource usage.
|
Protos.ResourceStatistics.Builder |
getStatisticsBuilder()
Current resource usage.
|
Protos.ResourceStatisticsOrBuilder |
getStatisticsOrBuilder()
Current resource usage.
|
Protos.ResourceUsage.Executor.Task |
getTasks(int index)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Task.Builder |
getTasksBuilder(int index)
Non-terminal tasks.
|
java.util.List<Protos.ResourceUsage.Executor.Task.Builder> |
getTasksBuilderList()
Non-terminal tasks.
|
int |
getTasksCount()
Non-terminal tasks.
|
java.util.List<Protos.ResourceUsage.Executor.Task> |
getTasksList()
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.TaskOrBuilder |
getTasksOrBuilder(int index)
Non-terminal tasks.
|
java.util.List<? extends Protos.ResourceUsage.Executor.TaskOrBuilder> |
getTasksOrBuilderList()
Non-terminal tasks.
|
boolean |
hasContainerId()
The container id for the executor specified in the executor_info field.
|
boolean |
hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
boolean |
hasStatistics()
Current resource usage.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ResourceUsage.Executor.Builder |
mergeContainerId(Protos.ContainerID value)
The container id for the executor specified in the executor_info field.
|
Protos.ResourceUsage.Executor.Builder |
mergeExecutorInfo(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceUsage.Executor.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ResourceUsage.Executor.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ResourceUsage.Executor.Builder |
mergeStatistics(Protos.ResourceStatistics value)
Current resource usage.
|
Protos.ResourceUsage.Executor.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceUsage.Executor.Builder |
removeAllocated(int index)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
removeTasks(int index)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
setAllocated(int index,
Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
setAllocated(int index,
Protos.Resource value)
This includes resources used by the executor itself
as well as its active tasks.
|
Protos.ResourceUsage.Executor.Builder |
setContainerId(Protos.ContainerID.Builder builderForValue)
The container id for the executor specified in the executor_info field.
|
Protos.ResourceUsage.Executor.Builder |
setContainerId(Protos.ContainerID value)
The container id for the executor specified in the executor_info field.
|
Protos.ResourceUsage.Executor.Builder |
setExecutorInfo(Protos.ExecutorInfo.Builder builderForValue)
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceUsage.Executor.Builder |
setExecutorInfo(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ResourceUsage.Executor.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Builder |
setStatistics(Protos.ResourceStatistics.Builder builderForValue)
Current resource usage.
|
Protos.ResourceUsage.Executor.Builder |
setStatistics(Protos.ResourceStatistics value)
Current resource usage.
|
Protos.ResourceUsage.Executor.Builder |
setTasks(int index,
Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
setTasks(int index,
Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
|
Protos.ResourceUsage.Executor.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.ResourceUsage.Executor.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ResourceUsage.Executor getDefaultInstanceForType()
public Protos.ResourceUsage.Executor build()
public Protos.ResourceUsage.Executor buildPartial()
public Protos.ResourceUsage.Executor.Builder clone()
public Protos.ResourceUsage.Executor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Executor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ResourceUsage.Executor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ResourceUsage.Executor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ResourceUsage.Executor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Executor.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ResourceUsage.Executor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;
hasExecutorInfo
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ExecutorInfo getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;
getExecutorInfo
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Builder setExecutorInfo(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor_info = 1;
public Protos.ResourceUsage.Executor.Builder setExecutorInfo(Protos.ExecutorInfo.Builder builderForValue)
required .mesos.ExecutorInfo executor_info = 1;
public Protos.ResourceUsage.Executor.Builder mergeExecutorInfo(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor_info = 1;
public Protos.ResourceUsage.Executor.Builder clearExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;
public Protos.ExecutorInfo.Builder getExecutorInfoBuilder()
required .mesos.ExecutorInfo executor_info = 1;
public Protos.ExecutorInfoOrBuilder getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1;
getExecutorInfoOrBuilder
in interface Protos.ResourceUsage.ExecutorOrBuilder
public java.util.List<Protos.Resource> getAllocatedList()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
getAllocatedList
in interface Protos.ResourceUsage.ExecutorOrBuilder
public int getAllocatedCount()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
getAllocatedCount
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.Resource getAllocated(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
getAllocated
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Builder setAllocated(int index, Protos.Resource value)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder setAllocated(int index, Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder addAllocated(Protos.Resource value)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder addAllocated(int index, Protos.Resource value)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder addAllocated(Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder addAllocated(int index, Protos.Resource.Builder builderForValue)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder addAllAllocated(java.lang.Iterable<? extends Protos.Resource> values)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder clearAllocated()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceUsage.Executor.Builder removeAllocated(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.Resource.Builder getAllocatedBuilder(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.ResourceOrBuilder getAllocatedOrBuilder(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
getAllocatedOrBuilder
in interface Protos.ResourceUsage.ExecutorOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getAllocatedOrBuilderList()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
getAllocatedOrBuilderList
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.Resource.Builder addAllocatedBuilder()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public Protos.Resource.Builder addAllocatedBuilder(int index)
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public java.util.List<Protos.Resource.Builder> getAllocatedBuilderList()
This includes resources used by the executor itself as well as its active tasks.
repeated .mesos.Resource allocated = 2;
public boolean hasStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
hasStatistics
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceStatistics getStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
getStatistics
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Builder setStatistics(Protos.ResourceStatistics value)
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
public Protos.ResourceUsage.Executor.Builder setStatistics(Protos.ResourceStatistics.Builder builderForValue)
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
public Protos.ResourceUsage.Executor.Builder mergeStatistics(Protos.ResourceStatistics value)
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
public Protos.ResourceUsage.Executor.Builder clearStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
public Protos.ResourceStatistics.Builder getStatisticsBuilder()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
public Protos.ResourceStatisticsOrBuilder getStatisticsOrBuilder()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;
getStatisticsOrBuilder
in interface Protos.ResourceUsage.ExecutorOrBuilder
public boolean hasContainerId()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
hasContainerId
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ContainerID getContainerId()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
getContainerId
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Builder setContainerId(Protos.ContainerID value)
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
public Protos.ResourceUsage.Executor.Builder setContainerId(Protos.ContainerID.Builder builderForValue)
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
public Protos.ResourceUsage.Executor.Builder mergeContainerId(Protos.ContainerID value)
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
public Protos.ResourceUsage.Executor.Builder clearContainerId()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
public Protos.ContainerID.Builder getContainerIdBuilder()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
public Protos.ContainerIDOrBuilder getContainerIdOrBuilder()
The container id for the executor specified in the executor_info field.
required .mesos.ContainerID container_id = 4;
getContainerIdOrBuilder
in interface Protos.ResourceUsage.ExecutorOrBuilder
public java.util.List<Protos.ResourceUsage.Executor.Task> getTasksList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
getTasksList
in interface Protos.ResourceUsage.ExecutorOrBuilder
public int getTasksCount()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
getTasksCount
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Task getTasks(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
getTasks
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Builder setTasks(int index, Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder setTasks(int index, Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder addTasks(Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder addTasks(int index, Protos.ResourceUsage.Executor.Task value)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder addTasks(Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder addTasks(int index, Protos.ResourceUsage.Executor.Task.Builder builderForValue)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder addAllTasks(java.lang.Iterable<? extends Protos.ResourceUsage.Executor.Task> values)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder clearTasks()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Builder removeTasks(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Task.Builder getTasksBuilder(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.TaskOrBuilder getTasksOrBuilder(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
getTasksOrBuilder
in interface Protos.ResourceUsage.ExecutorOrBuilder
public java.util.List<? extends Protos.ResourceUsage.Executor.TaskOrBuilder> getTasksOrBuilderList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
getTasksOrBuilderList
in interface Protos.ResourceUsage.ExecutorOrBuilder
public Protos.ResourceUsage.Executor.Task.Builder addTasksBuilder()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public Protos.ResourceUsage.Executor.Task.Builder addTasksBuilder(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public java.util.List<Protos.ResourceUsage.Executor.Task.Builder> getTasksBuilderList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;
public final Protos.ResourceUsage.Executor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ResourceUsage.Executor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)