public static final class Protos.Offer.Operation.ShrinkVolume.Builder extends <any> implements Protos.Offer.Operation.ShrinkVolumeOrBuilder
Shrink a volume by the size specified in the `subtract` field. NOTE: This is currently experimental and only for persistent volumes created on ROOT/PATH disk.Protobuf type
mesos.Offer.Operation.ShrinkVolume
Modifier and Type | Method and Description |
---|---|
Protos.Offer.Operation.ShrinkVolume.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.ShrinkVolume |
build() |
Protos.Offer.Operation.ShrinkVolume |
buildPartial() |
Protos.Offer.Operation.ShrinkVolume.Builder |
clear() |
Protos.Offer.Operation.ShrinkVolume.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Offer.Operation.ShrinkVolume.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Offer.Operation.ShrinkVolume.Builder |
clearSubtract()
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Offer.Operation.ShrinkVolume.Builder |
clearVolume()
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.ShrinkVolume.Builder |
clone() |
Protos.Offer.Operation.ShrinkVolume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Value.Scalar |
getSubtract()
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Value.Scalar.Builder |
getSubtractBuilder()
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Value.ScalarOrBuilder |
getSubtractOrBuilder()
See comments in `Value.Scalar` for maximum precision supported.
|
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 |
hasSubtract()
See comments in `Value.Scalar` for maximum precision supported.
|
boolean |
hasVolume()
required .mesos.Resource volume = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Offer.Operation.ShrinkVolume.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Offer.Operation.ShrinkVolume.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Offer.Operation.ShrinkVolume.Builder |
mergeSubtract(Protos.Value.Scalar value)
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Offer.Operation.ShrinkVolume.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.ShrinkVolume.Builder |
mergeVolume(Protos.Resource value)
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.ShrinkVolume.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.ShrinkVolume.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Offer.Operation.ShrinkVolume.Builder |
setSubtract(Protos.Value.Scalar.Builder builderForValue)
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Offer.Operation.ShrinkVolume.Builder |
setSubtract(Protos.Value.Scalar value)
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Offer.Operation.ShrinkVolume.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.ShrinkVolume.Builder |
setVolume(Protos.Resource.Builder builderForValue)
required .mesos.Resource volume = 1; |
Protos.Offer.Operation.ShrinkVolume.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.ShrinkVolume.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Offer.Operation.ShrinkVolume getDefaultInstanceForType()
public Protos.Offer.Operation.ShrinkVolume build()
public Protos.Offer.Operation.ShrinkVolume buildPartial()
public Protos.Offer.Operation.ShrinkVolume.Builder clone()
public Protos.Offer.Operation.ShrinkVolume.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.ShrinkVolume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Offer.Operation.ShrinkVolume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Offer.Operation.ShrinkVolume.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Offer.Operation.ShrinkVolume.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.ShrinkVolume.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Offer.Operation.ShrinkVolume.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.ShrinkVolumeOrBuilder
public Protos.Resource getVolume()
required .mesos.Resource volume = 1;
getVolume
in interface Protos.Offer.Operation.ShrinkVolumeOrBuilder
public Protos.Offer.Operation.ShrinkVolume.Builder setVolume(Protos.Resource value)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.ShrinkVolume.Builder setVolume(Protos.Resource.Builder builderForValue)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.ShrinkVolume.Builder mergeVolume(Protos.Resource value)
required .mesos.Resource volume = 1;
public Protos.Offer.Operation.ShrinkVolume.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.ShrinkVolumeOrBuilder
public boolean hasSubtract()
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
hasSubtract
in interface Protos.Offer.Operation.ShrinkVolumeOrBuilder
public Protos.Value.Scalar getSubtract()
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
getSubtract
in interface Protos.Offer.Operation.ShrinkVolumeOrBuilder
public Protos.Offer.Operation.ShrinkVolume.Builder setSubtract(Protos.Value.Scalar value)
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
public Protos.Offer.Operation.ShrinkVolume.Builder setSubtract(Protos.Value.Scalar.Builder builderForValue)
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
public Protos.Offer.Operation.ShrinkVolume.Builder mergeSubtract(Protos.Value.Scalar value)
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
public Protos.Offer.Operation.ShrinkVolume.Builder clearSubtract()
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
public Protos.Value.Scalar.Builder getSubtractBuilder()
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
public Protos.Value.ScalarOrBuilder getSubtractOrBuilder()
See comments in `Value.Scalar` for maximum precision supported.
required .mesos.Value.Scalar subtract = 2;
getSubtractOrBuilder
in interface Protos.Offer.Operation.ShrinkVolumeOrBuilder
public final Protos.Offer.Operation.ShrinkVolume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Offer.Operation.ShrinkVolume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)