public static final class Protos.Offer.Operation.GrowVolume.Builder extends <any> implements Protos.Offer.Operation.GrowVolumeOrBuilder
Grow a volume by an additional disk resource. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.Protobuf type
mesos.Offer.Operation.GrowVolume
Modifier and Type | Method and Description |
---|---|
Protos.Offer.Operation.GrowVolume.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.GrowVolume |
build() |
Protos.Offer.Operation.GrowVolume |
buildPartial() |
Protos.Offer.Operation.GrowVolume.Builder |
clear() |
Protos.Offer.Operation.GrowVolume.Builder |
clearAddition()
required .mesos.Resource addition = 2; |
Protos.Offer.Operation.GrowVolume.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Offer.Operation.GrowVolume.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Offer.Operation.GrowVolume.Builder |
clearVolume()
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.GrowVolume.Builder |
clone() |
Protos.Resource |
getAddition()
required .mesos.Resource addition = 2; |
Protos.Resource.Builder |
getAdditionBuilder()
required .mesos.Resource addition = 2; |
Protos.ResourceOrBuilder |
getAdditionOrBuilder()
required .mesos.Resource addition = 2; |
Protos.Offer.Operation.GrowVolume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Resource |
getVolume()
required .mesos.Resource volume = 1; |
Protos.Resource.Builder |
getVolumeBuilder()
required .mesos.Resource volume = 1; |
Protos.ResourceOrBuilder |
getVolumeOrBuilder()
required .mesos.Resource volume = 1; |
boolean |
hasAddition()
required .mesos.Resource addition = 2; |
boolean |
hasVolume()
required .mesos.Resource volume = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Offer.Operation.GrowVolume.Builder |
mergeAddition(Protos.Resource value)
required .mesos.Resource addition = 2; |
Protos.Offer.Operation.GrowVolume.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Offer.Operation.GrowVolume.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Offer.Operation.GrowVolume.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.GrowVolume.Builder |
mergeVolume(Protos.Resource value)
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.GrowVolume.Builder |
setAddition(Protos.Resource.Builder builderForValue)
required .mesos.Resource addition = 2; |
Protos.Offer.Operation.GrowVolume.Builder |
setAddition(Protos.Resource value)
required .mesos.Resource addition = 2; |
Protos.Offer.Operation.GrowVolume.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.GrowVolume.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Offer.Operation.GrowVolume.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.GrowVolume.Builder |
setVolume(Protos.Resource.Builder builderForValue)
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.GrowVolume.Builder |
setVolume(Protos.Resource value)
required .mesos.Resource volume = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Offer.Operation.GrowVolume.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Offer.Operation.GrowVolume getDefaultInstanceForType()
public Protos.Offer.Operation.GrowVolume build()
public Protos.Offer.Operation.GrowVolume buildPartial()
public Protos.Offer.Operation.GrowVolume.Builder clone()
public Protos.Offer.Operation.GrowVolume.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.GrowVolume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Offer.Operation.GrowVolume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Offer.Operation.GrowVolume.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Offer.Operation.GrowVolume.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.GrowVolume.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Offer.Operation.GrowVolume.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasVolume()
required .mesos.Resource volume = 1;
hasVolume
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public Protos.Resource getVolume()
required .mesos.Resource volume = 1;
getVolume
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public Protos.Offer.Operation.GrowVolume.Builder setVolume(Protos.Resource value)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.GrowVolume.Builder setVolume(Protos.Resource.Builder builderForValue)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.GrowVolume.Builder mergeVolume(Protos.Resource value)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.GrowVolume.Builder clearVolume()
required .mesos.Resource volume = 1;
public Protos.Resource.Builder getVolumeBuilder()
required .mesos.Resource volume = 1;
public Protos.ResourceOrBuilder getVolumeOrBuilder()
required .mesos.Resource volume = 1;
getVolumeOrBuilder
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public boolean hasAddition()
required .mesos.Resource addition = 2;
hasAddition
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public Protos.Resource getAddition()
required .mesos.Resource addition = 2;
getAddition
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public Protos.Offer.Operation.GrowVolume.Builder setAddition(Protos.Resource value)
required .mesos.Resource addition = 2;
public Protos.Offer.Operation.GrowVolume.Builder setAddition(Protos.Resource.Builder builderForValue)
required .mesos.Resource addition = 2;
public Protos.Offer.Operation.GrowVolume.Builder mergeAddition(Protos.Resource value)
required .mesos.Resource addition = 2;
public Protos.Offer.Operation.GrowVolume.Builder clearAddition()
required .mesos.Resource addition = 2;
public Protos.Resource.Builder getAdditionBuilder()
required .mesos.Resource addition = 2;
public Protos.ResourceOrBuilder getAdditionOrBuilder()
required .mesos.Resource addition = 2;
getAdditionOrBuilder
in interface Protos.Offer.Operation.GrowVolumeOrBuilder
public final Protos.Offer.Operation.GrowVolume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Offer.Operation.GrowVolume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)