public static final class Protos.ResourceUsage.Builder extends <any> implements Protos.ResourceUsageOrBuilder
Describes a snapshot of the resource usage for executors.Protobuf type
mesos.ResourceUsage
Modifier and Type | Method and Description |
---|---|
Protos.ResourceUsage.Builder |
addAllExecutors(java.lang.Iterable<? extends Protos.ResourceUsage.Executor> values)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
addAllTotal(java.lang.Iterable<? extends Protos.Resource> values)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
addExecutors(int index,
Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
addExecutors(int index,
Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
addExecutors(Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
addExecutors(Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Executor.Builder |
addExecutorsBuilder()
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Executor.Builder |
addExecutorsBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Builder |
addTotal(int index,
Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
addTotal(int index,
Protos.Resource value)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
addTotal(Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
addTotal(Protos.Resource value)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.Resource.Builder |
addTotalBuilder()
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.Resource.Builder |
addTotalBuilder(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage |
build() |
Protos.ResourceUsage |
buildPartial() |
Protos.ResourceUsage.Builder |
clear() |
Protos.ResourceUsage.Builder |
clearExecutors()
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ResourceUsage.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ResourceUsage.Builder |
clearTotal()
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
clone() |
Protos.ResourceUsage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ResourceUsage.Executor |
getExecutors(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Executor.Builder |
getExecutorsBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
java.util.List<Protos.ResourceUsage.Executor.Builder> |
getExecutorsBuilderList()
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; |
Protos.Resource |
getTotal(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.Resource.Builder |
getTotalBuilder(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
java.util.List<Protos.Resource.Builder> |
getTotalBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ResourceUsage.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ResourceUsage.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ResourceUsage.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceUsage.Builder |
removeExecutors(int index)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
removeTotal(int index)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
setExecutors(int index,
Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
setExecutors(int index,
Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1; |
Protos.ResourceUsage.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ResourceUsage.Builder |
setTotal(int index,
Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.Builder |
setTotal(int index,
Protos.Resource value)
Slave's total resources including checkpointed dynamic
reservations and persistent volumes.
|
Protos.ResourceUsage.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.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ResourceUsage getDefaultInstanceForType()
public Protos.ResourceUsage build()
public Protos.ResourceUsage buildPartial()
public Protos.ResourceUsage.Builder clone()
public Protos.ResourceUsage.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ResourceUsage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ResourceUsage.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ResourceUsage.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ResourceUsage.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.ResourceUsage.Executor> getExecutorsList()
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsList
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.Builder setExecutors(int index, Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder setExecutors(int index, Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder addExecutors(Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder addExecutors(int index, Protos.ResourceUsage.Executor value)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder addExecutors(Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder addExecutors(int index, Protos.ResourceUsage.Executor.Builder builderForValue)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder addAllExecutors(java.lang.Iterable<? extends Protos.ResourceUsage.Executor> values)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder clearExecutors()
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Builder removeExecutors(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Executor.Builder getExecutorsBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.ExecutorOrBuilder getExecutorsOrBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
getExecutorsOrBuilder
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 Protos.ResourceUsage.Executor.Builder addExecutorsBuilder()
repeated .mesos.ResourceUsage.Executor executors = 1;
public Protos.ResourceUsage.Executor.Builder addExecutorsBuilder(int index)
repeated .mesos.ResourceUsage.Executor executors = 1;
public java.util.List<Protos.ResourceUsage.Executor.Builder> getExecutorsBuilderList()
repeated .mesos.ResourceUsage.Executor executors = 1;
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 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.ResourceUsage.Builder setTotal(int index, Protos.Resource value)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder setTotal(int index, Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder addTotal(Protos.Resource value)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder addTotal(int index, Protos.Resource value)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder addTotal(Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder addTotal(int index, Protos.Resource.Builder builderForValue)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder addAllTotal(java.lang.Iterable<? extends Protos.Resource> values)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder clearTotal()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.ResourceUsage.Builder removeTotal(int index)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.Resource.Builder getTotalBuilder(int index)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
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 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 Protos.Resource.Builder addTotalBuilder()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public Protos.Resource.Builder addTotalBuilder(int index)
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public java.util.List<Protos.Resource.Builder> getTotalBuilderList()
Slave's total resources including checkpointed dynamic reservations and persistent volumes.
repeated .mesos.Resource total = 2;
public final Protos.ResourceUsage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ResourceUsage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)