public static final class Protos.ResourceUsage.Executor.Task.Builder extends <any> implements Protos.ResourceUsage.Executor.TaskOrBuilder
mesos.ResourceUsage.Executor.Task
Modifier and Type | Method and Description |
---|---|
Protos.ResourceUsage.Executor.Task.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Task.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
addResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
addResources(Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.Resource.Builder |
addResourcesBuilder()
repeated .mesos.Resource resources = 3; |
Protos.Resource.Builder |
addResourcesBuilder(int index)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task |
build() |
Protos.ResourceUsage.Executor.Task |
buildPartial() |
Protos.ResourceUsage.Executor.Task.Builder |
clear() |
Protos.ResourceUsage.Executor.Task.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ResourceUsage.Executor.Task.Builder |
clearId()
required .mesos.TaskID id = 2; |
Protos.ResourceUsage.Executor.Task.Builder |
clearLabels()
optional .mesos.Labels labels = 4; |
Protos.ResourceUsage.Executor.Task.Builder |
clearName()
required string name = 1; |
Protos.ResourceUsage.Executor.Task.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ResourceUsage.Executor.Task.Builder |
clearResources()
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
clone() |
Protos.ResourceUsage.Executor.Task |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.TaskID |
getId()
required .mesos.TaskID id = 2; |
Protos.TaskID.Builder |
getIdBuilder()
required .mesos.TaskID id = 2; |
Protos.TaskIDOrBuilder |
getIdOrBuilder()
required .mesos.TaskID id = 2; |
Protos.Labels |
getLabels()
optional .mesos.Labels labels = 4; |
Protos.Labels.Builder |
getLabelsBuilder()
optional .mesos.Labels labels = 4; |
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
optional .mesos.Labels labels = 4; |
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 = 3; |
Protos.Resource.Builder |
getResourcesBuilder(int index)
repeated .mesos.Resource resources = 3; |
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
repeated .mesos.Resource resources = 3; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 3; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 3; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3; |
boolean |
hasId()
required .mesos.TaskID id = 2; |
boolean |
hasLabels()
optional .mesos.Labels labels = 4; |
boolean |
hasName()
required string name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ResourceUsage.Executor.Task.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ResourceUsage.Executor.Task.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ResourceUsage.Executor.Task.Builder |
mergeId(Protos.TaskID value)
required .mesos.TaskID id = 2; |
Protos.ResourceUsage.Executor.Task.Builder |
mergeLabels(Protos.Labels value)
optional .mesos.Labels labels = 4; |
Protos.ResourceUsage.Executor.Task.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceUsage.Executor.Task.Builder |
removeResources(int index)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Task.Builder |
setId(Protos.TaskID.Builder builderForValue)
required .mesos.TaskID id = 2; |
Protos.ResourceUsage.Executor.Task.Builder |
setId(Protos.TaskID value)
required .mesos.TaskID id = 2; |
Protos.ResourceUsage.Executor.Task.Builder |
setLabels(Protos.Labels.Builder builderForValue)
optional .mesos.Labels labels = 4; |
Protos.ResourceUsage.Executor.Task.Builder |
setLabels(Protos.Labels value)
optional .mesos.Labels labels = 4; |
Protos.ResourceUsage.Executor.Task.Builder |
setName(java.lang.String value)
required string name = 1; |
Protos.ResourceUsage.Executor.Task.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
Protos.ResourceUsage.Executor.Task.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ResourceUsage.Executor.Task.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.Builder |
setResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.ResourceUsage.Executor.Task.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.Task.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ResourceUsage.Executor.Task getDefaultInstanceForType()
public Protos.ResourceUsage.Executor.Task build()
public Protos.ResourceUsage.Executor.Task buildPartial()
public Protos.ResourceUsage.Executor.Task.Builder clone()
public Protos.ResourceUsage.Executor.Task.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Executor.Task.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ResourceUsage.Executor.Task.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ResourceUsage.Executor.Task.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ResourceUsage.Executor.Task.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceUsage.Executor.Task.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ResourceUsage.Executor.Task.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasName()
required string name = 1;
hasName
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.ResourceUsage.Executor.Task.Builder setName(java.lang.String value)
required string name = 1;
public Protos.ResourceUsage.Executor.Task.Builder clearName()
required string name = 1;
public Protos.ResourceUsage.Executor.Task.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
public boolean hasId()
required .mesos.TaskID id = 2;
hasId
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.TaskID getId()
required .mesos.TaskID id = 2;
getId
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.ResourceUsage.Executor.Task.Builder setId(Protos.TaskID value)
required .mesos.TaskID id = 2;
public Protos.ResourceUsage.Executor.Task.Builder setId(Protos.TaskID.Builder builderForValue)
required .mesos.TaskID id = 2;
public Protos.ResourceUsage.Executor.Task.Builder mergeId(Protos.TaskID value)
required .mesos.TaskID id = 2;
public Protos.ResourceUsage.Executor.Task.Builder clearId()
required .mesos.TaskID id = 2;
public Protos.TaskID.Builder getIdBuilder()
required .mesos.TaskID id = 2;
public Protos.TaskIDOrBuilder getIdOrBuilder()
required .mesos.TaskID id = 2;
getIdOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 3;
getResourcesList
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 3;
getResourcesCount
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 3;
getResources
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.ResourceUsage.Executor.Task.Builder setResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder setResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder addResources(Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder addResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder addResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder clearResources()
repeated .mesos.Resource resources = 3;
public Protos.ResourceUsage.Executor.Task.Builder removeResources(int index)
repeated .mesos.Resource resources = 3;
public Protos.Resource.Builder getResourcesBuilder(int index)
repeated .mesos.Resource resources = 3;
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3;
getResourcesOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3;
getResourcesOrBuilderList
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
repeated .mesos.Resource resources = 3;
public Protos.Resource.Builder addResourcesBuilder(int index)
repeated .mesos.Resource resources = 3;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
repeated .mesos.Resource resources = 3;
public boolean hasLabels()
optional .mesos.Labels labels = 4;
hasLabels
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.Labels getLabels()
optional .mesos.Labels labels = 4;
getLabels
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.ResourceUsage.Executor.Task.Builder setLabels(Protos.Labels value)
optional .mesos.Labels labels = 4;
public Protos.ResourceUsage.Executor.Task.Builder setLabels(Protos.Labels.Builder builderForValue)
optional .mesos.Labels labels = 4;
public Protos.ResourceUsage.Executor.Task.Builder mergeLabels(Protos.Labels value)
optional .mesos.Labels labels = 4;
public Protos.ResourceUsage.Executor.Task.Builder clearLabels()
optional .mesos.Labels labels = 4;
public Protos.Labels.Builder getLabelsBuilder()
optional .mesos.Labels labels = 4;
public Protos.LabelsOrBuilder getLabelsOrBuilder()
optional .mesos.Labels labels = 4;
getLabelsOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public final Protos.ResourceUsage.Executor.Task.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ResourceUsage.Executor.Task.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)