public static final class Protos.Offer.Operation.GrowVolume extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
Protos.Offer.Operation.GrowVolume.Builder
Grow a volume by an additional disk resource.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADDITION_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
VOLUME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Resource |
getAddition()
required .mesos.Resource addition = 2; |
Protos.ResourceOrBuilder |
getAdditionOrBuilder()
required .mesos.Resource addition = 2; |
static Protos.Offer.Operation.GrowVolume |
getDefaultInstance() |
Protos.Offer.Operation.GrowVolume |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Resource |
getVolume()
required .mesos.Resource volume = 1; |
Protos.ResourceOrBuilder |
getVolumeOrBuilder()
required .mesos.Resource volume = 1; |
boolean |
hasAddition()
required .mesos.Resource addition = 2; |
int |
hashCode() |
boolean |
hasVolume()
required .mesos.Resource volume = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Offer.Operation.GrowVolume.Builder |
newBuilder() |
static Protos.Offer.Operation.GrowVolume.Builder |
newBuilder(Protos.Offer.Operation.GrowVolume prototype) |
Protos.Offer.Operation.GrowVolume.Builder |
newBuilderForType() |
protected Protos.Offer.Operation.GrowVolume.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Offer.Operation.GrowVolume |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Offer.Operation.GrowVolume |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation.GrowVolume |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Offer.Operation.GrowVolume.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VOLUME_FIELD_NUMBER
public static final int ADDITION_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.GrowVolumeOrBuilderpublic Protos.Resource getVolume()
required .mesos.Resource volume = 1;getVolume in interface Protos.Offer.Operation.GrowVolumeOrBuilderpublic Protos.ResourceOrBuilder getVolumeOrBuilder()
required .mesos.Resource volume = 1;getVolumeOrBuilder in interface Protos.Offer.Operation.GrowVolumeOrBuilderpublic boolean hasAddition()
required .mesos.Resource addition = 2;hasAddition in interface Protos.Offer.Operation.GrowVolumeOrBuilderpublic Protos.Resource getAddition()
required .mesos.Resource addition = 2;getAddition in interface Protos.Offer.Operation.GrowVolumeOrBuilderpublic Protos.ResourceOrBuilder getAdditionOrBuilder()
required .mesos.Resource addition = 2;getAdditionOrBuilder in interface Protos.Offer.Operation.GrowVolumeOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Offer.Operation.GrowVolume parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Offer.Operation.GrowVolume parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Offer.Operation.GrowVolume parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Offer.Operation.GrowVolume parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Offer.Operation.GrowVolume.Builder newBuilderForType()
public static Protos.Offer.Operation.GrowVolume.Builder newBuilder()
public static Protos.Offer.Operation.GrowVolume.Builder newBuilder(Protos.Offer.Operation.GrowVolume prototype)
public Protos.Offer.Operation.GrowVolume.Builder toBuilder()
protected Protos.Offer.Operation.GrowVolume.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Offer.Operation.GrowVolume getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Offer.Operation.GrowVolume getDefaultInstanceForType()