public static final class Protos.Offer.Operation.ShrinkVolume extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.Offer.Operation.ShrinkVolume.Builder
Shrink a volume by the size specified in the `subtract` field.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
SUBTRACT_FIELD_NUMBER |
static int |
VOLUME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Offer.Operation.ShrinkVolume |
getDefaultInstance() |
Protos.Offer.Operation.ShrinkVolume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.Value.Scalar |
getSubtract()
See comments in `Value.Scalar` for maximum precision supported.
|
Protos.Value.ScalarOrBuilder |
getSubtractOrBuilder()
See comments in `Value.Scalar` for maximum precision supported.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Resource |
getVolume()
required .mesos.Resource volume = 1; |
Protos.ResourceOrBuilder |
getVolumeOrBuilder()
required .mesos.Resource volume = 1; |
int |
hashCode() |
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() |
static Protos.Offer.Operation.ShrinkVolume.Builder |
newBuilder() |
static Protos.Offer.Operation.ShrinkVolume.Builder |
newBuilder(Protos.Offer.Operation.ShrinkVolume prototype) |
Protos.Offer.Operation.ShrinkVolume.Builder |
newBuilderForType() |
protected Protos.Offer.Operation.ShrinkVolume.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Offer.Operation.ShrinkVolume |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Offer.Operation.ShrinkVolume |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.ShrinkVolume |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Offer.Operation.ShrinkVolume.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VOLUME_FIELD_NUMBER
public static final int SUBTRACT_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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.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.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 boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Offer.Operation.ShrinkVolume parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.ShrinkVolume parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.ShrinkVolume parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation.ShrinkVolume parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Offer.Operation.ShrinkVolume.Builder newBuilderForType()
public static Protos.Offer.Operation.ShrinkVolume.Builder newBuilder()
public static Protos.Offer.Operation.ShrinkVolume.Builder newBuilder(Protos.Offer.Operation.ShrinkVolume prototype)
public Protos.Offer.Operation.ShrinkVolume.Builder toBuilder()
protected Protos.Offer.Operation.ShrinkVolume.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Offer.Operation.ShrinkVolume getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Offer.Operation.ShrinkVolume getDefaultInstanceForType()