public static final class Protos.ResourceUsage extends com.google.protobuf.GeneratedMessageV3 implements Protos.ResourceUsageOrBuilder
Describes a snapshot of the resource usage for executors.Protobuf type
mesos.ResourceUsage
Modifier and Type | Class and Description |
---|---|
static class |
Protos.ResourceUsage.Builder
Describes a snapshot of the resource usage for executors.
|
static class |
Protos.ResourceUsage.Executor
Protobuf type
mesos.ResourceUsage.Executor |
static interface |
Protos.ResourceUsage.ExecutorOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
EXECUTORS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
TOTAL_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.ResourceUsage |
getDefaultInstance() |
Protos.ResourceUsage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.ResourceUsage.Executor |
getExecutors(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
int |
getExecutorsCount()
repeated .mesos.ResourceUsage.Executor executors = 1; |
java.util.List<Protos.ResourceUsage.Executor> |
getExecutorsList()
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.ExecutorOrBuilder |
getExecutorsOrBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
java.util.List<? extends Protos.ResourceUsage.ExecutorOrBuilder> |
getExecutorsOrBuilderList()
repeated .mesos.ResourceUsage.Executor executors = 1; |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.Resource |
getTotal(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
int |
getTotalCount()
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
java.util.List<Protos.Resource> |
getTotalList()
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceOrBuilder |
getTotalOrBuilder(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getTotalOrBuilderList()
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.ResourceUsage.Builder |
newBuilder() |
static Protos.ResourceUsage.Builder |
newBuilder(Protos.ResourceUsage prototype) |
Protos.ResourceUsage.Builder |
newBuilderForType() |
protected Protos.ResourceUsage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ResourceUsage |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ResourceUsage |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ResourceUsage |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ResourceUsage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ResourceUsage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ResourceUsage.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int EXECUTORS_FIELD_NUMBER
public static final int TOTAL_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 java.util.List<Protos.ResourceUsage.Executor> getExecutorsList()
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsList
in interface Protos.ResourceUsageOrBuilder
public java.util.List<? extends Protos.ResourceUsage.ExecutorOrBuilder> getExecutorsOrBuilderList()
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsOrBuilderList
in interface Protos.ResourceUsageOrBuilder
public int getExecutorsCount()
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsCount
in interface Protos.ResourceUsageOrBuilder
public Protos.ResourceUsage.Executor getExecutors(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutors
in interface Protos.ResourceUsageOrBuilder
public Protos.ResourceUsage.ExecutorOrBuilder getExecutorsOrBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsOrBuilder
in interface Protos.ResourceUsageOrBuilder
public java.util.List<Protos.Resource> getTotalList()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
getTotalList
in interface Protos.ResourceUsageOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getTotalOrBuilderList()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
getTotalOrBuilderList
in interface Protos.ResourceUsageOrBuilder
public int getTotalCount()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
getTotalCount
in interface Protos.ResourceUsageOrBuilder
public Protos.Resource getTotal(int index)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
getTotal
in interface Protos.ResourceUsageOrBuilder
public Protos.ResourceOrBuilder getTotalOrBuilder(int index)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
getTotalOrBuilder
in interface Protos.ResourceUsageOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.ResourceUsage parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.ResourceUsage.Builder newBuilderForType()
public static Protos.ResourceUsage.Builder newBuilder()
public static Protos.ResourceUsage.Builder newBuilder(Protos.ResourceUsage prototype)
public Protos.ResourceUsage.Builder toBuilder()
protected Protos.ResourceUsage.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ResourceUsage getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ResourceUsage getDefaultInstanceForType()