public static final class Protos.Offer.Operation.Reserve.Builder extends <any> implements Protos.Offer.Operation.ReserveOrBuilder
mesos.Offer.Operation.Reserve
Modifier and Type | Method and Description |
---|---|
Protos.Offer.Operation.Reserve.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
addAllSource(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.Reserve.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
addResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
addResources(Protos.Resource value)
repeated .mesos.Resource resources = 1; |
Protos.Resource.Builder |
addResourcesBuilder()
repeated .mesos.Resource resources = 1; |
Protos.Resource.Builder |
addResourcesBuilder(int index)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
addSource(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
addSource(int index,
Protos.Resource value)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
addSource(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
addSource(Protos.Resource value)
repeated .mesos.Resource source = 2; |
Protos.Resource.Builder |
addSourceBuilder()
repeated .mesos.Resource source = 2; |
Protos.Resource.Builder |
addSourceBuilder(int index)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve |
build() |
Protos.Offer.Operation.Reserve |
buildPartial() |
Protos.Offer.Operation.Reserve.Builder |
clear() |
Protos.Offer.Operation.Reserve.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Offer.Operation.Reserve.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Offer.Operation.Reserve.Builder |
clearResources()
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
clearSource()
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
clone() |
Protos.Offer.Operation.Reserve |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 1; |
Protos.Resource.Builder |
getResourcesBuilder(int index)
repeated .mesos.Resource resources = 1; |
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
repeated .mesos.Resource resources = 1; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 1; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 1; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 1; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 1; |
Protos.Resource |
getSource(int index)
repeated .mesos.Resource source = 2; |
Protos.Resource.Builder |
getSourceBuilder(int index)
repeated .mesos.Resource source = 2; |
java.util.List<Protos.Resource.Builder> |
getSourceBuilderList()
repeated .mesos.Resource source = 2; |
int |
getSourceCount()
repeated .mesos.Resource source = 2; |
java.util.List<Protos.Resource> |
getSourceList()
repeated .mesos.Resource source = 2; |
Protos.ResourceOrBuilder |
getSourceOrBuilder(int index)
repeated .mesos.Resource source = 2; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getSourceOrBuilderList()
repeated .mesos.Resource source = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Offer.Operation.Reserve.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Offer.Operation.Reserve.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Offer.Operation.Reserve.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.Reserve.Builder |
removeResources(int index)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
removeSource(int index)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.Reserve.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Offer.Operation.Reserve.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
setResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 1; |
Protos.Offer.Operation.Reserve.Builder |
setSource(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.Builder |
setSource(int index,
Protos.Resource value)
repeated .mesos.Resource source = 2; |
Protos.Offer.Operation.Reserve.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.Offer.Operation.Reserve.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Offer.Operation.Reserve getDefaultInstanceForType()
public Protos.Offer.Operation.Reserve build()
public Protos.Offer.Operation.Reserve buildPartial()
public Protos.Offer.Operation.Reserve.Builder clone()
public Protos.Offer.Operation.Reserve.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.Reserve.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Offer.Operation.Reserve.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Offer.Operation.Reserve.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Offer.Operation.Reserve.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.Reserve.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Offer.Operation.Reserve.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.Resource> getSourceList()
repeated .mesos.Resource source = 2;
getSourceList
in interface Protos.Offer.Operation.ReserveOrBuilder
public int getSourceCount()
repeated .mesos.Resource source = 2;
getSourceCount
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource getSource(int index)
repeated .mesos.Resource source = 2;
getSource
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Offer.Operation.Reserve.Builder setSource(int index, Protos.Resource value)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder setSource(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder addSource(Protos.Resource value)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder addSource(int index, Protos.Resource value)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder addSource(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder addSource(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder addAllSource(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder clearSource()
repeated .mesos.Resource source = 2;
public Protos.Offer.Operation.Reserve.Builder removeSource(int index)
repeated .mesos.Resource source = 2;
public Protos.Resource.Builder getSourceBuilder(int index)
repeated .mesos.Resource source = 2;
public Protos.ResourceOrBuilder getSourceOrBuilder(int index)
repeated .mesos.Resource source = 2;
getSourceOrBuilder
in interface Protos.Offer.Operation.ReserveOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getSourceOrBuilderList()
repeated .mesos.Resource source = 2;
getSourceOrBuilderList
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource.Builder addSourceBuilder()
repeated .mesos.Resource source = 2;
public Protos.Resource.Builder addSourceBuilder(int index)
repeated .mesos.Resource source = 2;
public java.util.List<Protos.Resource.Builder> getSourceBuilderList()
repeated .mesos.Resource source = 2;
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 1;
getResourcesList
in interface Protos.Offer.Operation.ReserveOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 1;
getResourcesCount
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 1;
getResources
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Offer.Operation.Reserve.Builder setResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder setResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder addResources(Protos.Resource value)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder addResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder addResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder clearResources()
repeated .mesos.Resource resources = 1;
public Protos.Offer.Operation.Reserve.Builder removeResources(int index)
repeated .mesos.Resource resources = 1;
public Protos.Resource.Builder getResourcesBuilder(int index)
repeated .mesos.Resource resources = 1;
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 1;
getResourcesOrBuilder
in interface Protos.Offer.Operation.ReserveOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 1;
getResourcesOrBuilderList
in interface Protos.Offer.Operation.ReserveOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
repeated .mesos.Resource resources = 1;
public Protos.Resource.Builder addResourcesBuilder(int index)
repeated .mesos.Resource resources = 1;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
repeated .mesos.Resource resources = 1;
public final Protos.Offer.Operation.Reserve.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Offer.Operation.Reserve.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)