public static final class Protos.ResourceUsage.Executor extends com.google.protobuf.GeneratedMessageV3 implements Protos.ResourceUsage.ExecutorOrBuilder
mesos.ResourceUsage.Executor| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.ResourceUsage.Executor.Builder
Protobuf type
mesos.ResourceUsage.Executor |
static class |
Protos.ResourceUsage.Executor.Task
Protobuf type
mesos.ResourceUsage.Executor.Task |
static interface |
Protos.ResourceUsage.Executor.TaskOrBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATED_FIELD_NUMBER |
static int |
CONTAINER_ID_FIELD_NUMBER |
static int |
EXECUTOR_INFO_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
STATISTICS_FIELD_NUMBER |
static int |
TASKS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Resource |
getAllocated(int index)
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.ContainerIDOrBuilder |
getContainerIdOrBuilder()
The container id for the executor specified in the executor_info field.
|
static Protos.ResourceUsage.Executor |
getDefaultInstance() |
Protos.ResourceUsage.Executor |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.ExecutorInfo |
getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
Protos.ExecutorInfoOrBuilder |
getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1; |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.ResourceStatistics |
getStatistics()
Current resource usage.
|
Protos.ResourceStatisticsOrBuilder |
getStatisticsOrBuilder()
Current resource usage.
|
Protos.ResourceUsage.Executor.Task |
getTasks(int index)
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContainerId()
The container id for the executor specified in the executor_info field.
|
boolean |
hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1; |
int |
hashCode() |
boolean |
hasStatistics()
Current resource usage.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.ResourceUsage.Executor.Builder |
newBuilder() |
static Protos.ResourceUsage.Executor.Builder |
newBuilder(Protos.ResourceUsage.Executor prototype) |
Protos.ResourceUsage.Executor.Builder |
newBuilderForType() |
protected Protos.ResourceUsage.Executor.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ResourceUsage.Executor |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ResourceUsage.Executor |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ResourceUsage.Executor |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ResourceUsage.Executor |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ResourceUsage.Executor |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ResourceUsage.Executor.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int EXECUTOR_INFO_FIELD_NUMBER
public static final int ALLOCATED_FIELD_NUMBER
public static final int STATISTICS_FIELD_NUMBER
public static final int CONTAINER_ID_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;hasExecutorInfo in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ExecutorInfo getExecutorInfo()
required .mesos.ExecutorInfo executor_info = 1;getExecutorInfo in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ExecutorInfoOrBuilder getExecutorInfoOrBuilder()
required .mesos.ExecutorInfo executor_info = 1;getExecutorInfoOrBuilder in interface Protos.ResourceUsage.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic boolean hasStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;hasStatistics in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ResourceStatistics getStatistics()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;getStatistics in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ResourceStatisticsOrBuilder getStatisticsOrBuilder()
Current resource usage. If absent, the containerizer cannot provide resource usage.
optional .mesos.ResourceStatistics statistics = 3;getStatisticsOrBuilder in interface Protos.ResourceUsage.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic 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.ExecutorOrBuilderpublic java.util.List<Protos.ResourceUsage.Executor.Task> getTasksList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;getTasksList in interface Protos.ResourceUsage.ExecutorOrBuilderpublic java.util.List<? extends Protos.ResourceUsage.Executor.TaskOrBuilder> getTasksOrBuilderList()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;getTasksOrBuilderList in interface Protos.ResourceUsage.ExecutorOrBuilderpublic int getTasksCount()
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;getTasksCount in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ResourceUsage.Executor.Task getTasks(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;getTasks in interface Protos.ResourceUsage.ExecutorOrBuilderpublic Protos.ResourceUsage.Executor.TaskOrBuilder getTasksOrBuilder(int index)
Non-terminal tasks.
repeated .mesos.ResourceUsage.Executor.Task tasks = 5;getTasksOrBuilder in interface Protos.ResourceUsage.ExecutorOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.ResourceUsage.Executor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ResourceUsage.Executor parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ResourceUsage.Executor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ResourceUsage.Executor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ResourceUsage.Executor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.ResourceUsage.Executor parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.ResourceUsage.Executor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.ResourceUsage.Executor parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.ResourceUsage.Executor parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.ResourceUsage.Executor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.ResourceUsage.Executor.Builder newBuilderForType()
public static Protos.ResourceUsage.Executor.Builder newBuilder()
public static Protos.ResourceUsage.Executor.Builder newBuilder(Protos.ResourceUsage.Executor prototype)
public Protos.ResourceUsage.Executor.Builder toBuilder()
protected Protos.ResourceUsage.Executor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ResourceUsage.Executor getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ResourceUsage.Executor getDefaultInstanceForType()