public static final class Protos.Offer.Operation extends com.google.protobuf.GeneratedMessageV3 implements Protos.Offer.OperationOrBuilder
Defines an operation that can be performed against offers.Protobuf type
mesos.Offer.Operation
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Offer.Operation.Builder
Defines an operation that can be performed against offers.
|
static class |
Protos.Offer.Operation.Create
Protobuf type
mesos.Offer.Operation.Create |
static class |
Protos.Offer.Operation.CreateDisk
Create a `MOUNT` or `BLOCK` disk resource backed by a CSI volume from a
`RAW` disk resource.
|
static interface |
Protos.Offer.Operation.CreateDiskOrBuilder |
static interface |
Protos.Offer.Operation.CreateOrBuilder |
static class |
Protos.Offer.Operation.Destroy
Protobuf type
mesos.Offer.Operation.Destroy |
static class |
Protos.Offer.Operation.DestroyDisk
Destroy a disk resource backed by a CSI volume.
|
static interface |
Protos.Offer.Operation.DestroyDiskOrBuilder |
static interface |
Protos.Offer.Operation.DestroyOrBuilder |
static class |
Protos.Offer.Operation.GrowVolume
Grow a volume by an additional disk resource.
|
static interface |
Protos.Offer.Operation.GrowVolumeOrBuilder |
static class |
Protos.Offer.Operation.Launch
TODO(vinod): Deprecate this in favor of `LaunchGroup` below.
|
static class |
Protos.Offer.Operation.LaunchGroup
Unlike `Launch` above, all the tasks in a `task_group` are
atomically delivered to an executor.
|
static interface |
Protos.Offer.Operation.LaunchGroupOrBuilder |
static interface |
Protos.Offer.Operation.LaunchOrBuilder |
static class |
Protos.Offer.Operation.Reserve
Protobuf type
mesos.Offer.Operation.Reserve |
static interface |
Protos.Offer.Operation.ReserveOrBuilder |
static class |
Protos.Offer.Operation.ShrinkVolume
Shrink a volume by the size specified in the `subtract` field.
|
static interface |
Protos.Offer.Operation.ShrinkVolumeOrBuilder |
static class |
Protos.Offer.Operation.Type
Protobuf enum
mesos.Offer.Operation.Type |
static class |
Protos.Offer.Operation.Unreserve
Protobuf type
mesos.Offer.Operation.Unreserve |
static interface |
Protos.Offer.Operation.UnreserveOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
CREATE_DISK_FIELD_NUMBER |
static int |
CREATE_FIELD_NUMBER |
static int |
DESTROY_DISK_FIELD_NUMBER |
static int |
DESTROY_FIELD_NUMBER |
static int |
GROW_VOLUME_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
LAUNCH_FIELD_NUMBER |
static int |
LAUNCH_GROUP_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
RESERVE_FIELD_NUMBER |
static int |
SHRINK_VOLUME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UNRESERVE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Offer.Operation.Create |
getCreate()
optional .mesos.Offer.Operation.Create create = 5; |
Protos.Offer.Operation.CreateDisk |
getCreateDisk()
EXPERIMENTAL.
|
Protos.Offer.Operation.CreateDiskOrBuilder |
getCreateDiskOrBuilder()
EXPERIMENTAL.
|
Protos.Offer.Operation.CreateOrBuilder |
getCreateOrBuilder()
optional .mesos.Offer.Operation.Create create = 5; |
static Protos.Offer.Operation |
getDefaultInstance() |
Protos.Offer.Operation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Offer.Operation.Destroy |
getDestroy()
optional .mesos.Offer.Operation.Destroy destroy = 6; |
Protos.Offer.Operation.DestroyDisk |
getDestroyDisk()
EXPERIMENTAL.
|
Protos.Offer.Operation.DestroyDiskOrBuilder |
getDestroyDiskOrBuilder()
EXPERIMENTAL.
|
Protos.Offer.Operation.DestroyOrBuilder |
getDestroyOrBuilder()
optional .mesos.Offer.Operation.Destroy destroy = 6; |
Protos.Offer.Operation.GrowVolume |
getGrowVolume()
EXPERIMENTAL.
|
Protos.Offer.Operation.GrowVolumeOrBuilder |
getGrowVolumeOrBuilder()
EXPERIMENTAL.
|
Protos.OperationID |
getId()
The `id` field allows frameworks to indicate that they wish to receive
feedback about an operation via the UPDATE_OPERATION_STATUS event in the
v1 scheduler API.
|
Protos.OperationIDOrBuilder |
getIdOrBuilder()
The `id` field allows frameworks to indicate that they wish to receive
feedback about an operation via the UPDATE_OPERATION_STATUS event in the
v1 scheduler API.
|
Protos.Offer.Operation.Launch |
getLaunch()
optional .mesos.Offer.Operation.Launch launch = 2; |
Protos.Offer.Operation.LaunchGroup |
getLaunchGroup()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7; |
Protos.Offer.Operation.LaunchGroupOrBuilder |
getLaunchGroupOrBuilder()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7; |
Protos.Offer.Operation.LaunchOrBuilder |
getLaunchOrBuilder()
optional .mesos.Offer.Operation.Launch launch = 2; |
<any> |
getParserForType() |
Protos.Offer.Operation.Reserve |
getReserve()
optional .mesos.Offer.Operation.Reserve reserve = 3; |
Protos.Offer.Operation.ReserveOrBuilder |
getReserveOrBuilder()
optional .mesos.Offer.Operation.Reserve reserve = 3; |
int |
getSerializedSize() |
Protos.Offer.Operation.ShrinkVolume |
getShrinkVolume()
EXPERIMENTAL.
|
Protos.Offer.Operation.ShrinkVolumeOrBuilder |
getShrinkVolumeOrBuilder()
EXPERIMENTAL.
|
Protos.Offer.Operation.Type |
getType()
optional .mesos.Offer.Operation.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Offer.Operation.Unreserve |
getUnreserve()
optional .mesos.Offer.Operation.Unreserve unreserve = 4; |
Protos.Offer.Operation.UnreserveOrBuilder |
getUnreserveOrBuilder()
optional .mesos.Offer.Operation.Unreserve unreserve = 4; |
boolean |
hasCreate()
optional .mesos.Offer.Operation.Create create = 5; |
boolean |
hasCreateDisk()
EXPERIMENTAL.
|
boolean |
hasDestroy()
optional .mesos.Offer.Operation.Destroy destroy = 6; |
boolean |
hasDestroyDisk()
EXPERIMENTAL.
|
boolean |
hasGrowVolume()
EXPERIMENTAL.
|
int |
hashCode() |
boolean |
hasId()
The `id` field allows frameworks to indicate that they wish to receive
feedback about an operation via the UPDATE_OPERATION_STATUS event in the
v1 scheduler API.
|
boolean |
hasLaunch()
optional .mesos.Offer.Operation.Launch launch = 2; |
boolean |
hasLaunchGroup()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7; |
boolean |
hasReserve()
optional .mesos.Offer.Operation.Reserve reserve = 3; |
boolean |
hasShrinkVolume()
EXPERIMENTAL.
|
boolean |
hasType()
optional .mesos.Offer.Operation.Type type = 1; |
boolean |
hasUnreserve()
optional .mesos.Offer.Operation.Unreserve unreserve = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Offer.Operation.Builder |
newBuilder() |
static Protos.Offer.Operation.Builder |
newBuilder(Protos.Offer.Operation prototype) |
Protos.Offer.Operation.Builder |
newBuilderForType() |
protected Protos.Offer.Operation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Offer.Operation |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Offer.Operation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Offer.Operation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Offer.Operation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Offer.Operation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Offer.Operation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Offer.Operation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int LAUNCH_FIELD_NUMBER
public static final int LAUNCH_GROUP_FIELD_NUMBER
public static final int RESERVE_FIELD_NUMBER
public static final int UNRESERVE_FIELD_NUMBER
public static final int CREATE_FIELD_NUMBER
public static final int DESTROY_FIELD_NUMBER
public static final int GROW_VOLUME_FIELD_NUMBER
public static final int SHRINK_VOLUME_FIELD_NUMBER
public static final int CREATE_DISK_FIELD_NUMBER
public static final int DESTROY_DISK_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 hasType()
optional .mesos.Offer.Operation.Type type = 1;
hasType
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Type getType()
optional .mesos.Offer.Operation.Type type = 1;
getType
in interface Protos.Offer.OperationOrBuilder
public boolean hasId()
The `id` field allows frameworks to indicate that they wish to receive feedback about an operation via the UPDATE_OPERATION_STATUS event in the v1 scheduler API.
optional .mesos.OperationID id = 12;
hasId
in interface Protos.Offer.OperationOrBuilder
public Protos.OperationID getId()
The `id` field allows frameworks to indicate that they wish to receive feedback about an operation via the UPDATE_OPERATION_STATUS event in the v1 scheduler API.
optional .mesos.OperationID id = 12;
getId
in interface Protos.Offer.OperationOrBuilder
public Protos.OperationIDOrBuilder getIdOrBuilder()
The `id` field allows frameworks to indicate that they wish to receive feedback about an operation via the UPDATE_OPERATION_STATUS event in the v1 scheduler API.
optional .mesos.OperationID id = 12;
getIdOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasLaunch()
optional .mesos.Offer.Operation.Launch launch = 2;
hasLaunch
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Launch getLaunch()
optional .mesos.Offer.Operation.Launch launch = 2;
getLaunch
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.LaunchOrBuilder getLaunchOrBuilder()
optional .mesos.Offer.Operation.Launch launch = 2;
getLaunchOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasLaunchGroup()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7;
hasLaunchGroup
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.LaunchGroup getLaunchGroup()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7;
getLaunchGroup
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.LaunchGroupOrBuilder getLaunchGroupOrBuilder()
optional .mesos.Offer.Operation.LaunchGroup launch_group = 7;
getLaunchGroupOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasReserve()
optional .mesos.Offer.Operation.Reserve reserve = 3;
hasReserve
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Reserve getReserve()
optional .mesos.Offer.Operation.Reserve reserve = 3;
getReserve
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.ReserveOrBuilder getReserveOrBuilder()
optional .mesos.Offer.Operation.Reserve reserve = 3;
getReserveOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasUnreserve()
optional .mesos.Offer.Operation.Unreserve unreserve = 4;
hasUnreserve
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Unreserve getUnreserve()
optional .mesos.Offer.Operation.Unreserve unreserve = 4;
getUnreserve
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.UnreserveOrBuilder getUnreserveOrBuilder()
optional .mesos.Offer.Operation.Unreserve unreserve = 4;
getUnreserveOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasCreate()
optional .mesos.Offer.Operation.Create create = 5;
hasCreate
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Create getCreate()
optional .mesos.Offer.Operation.Create create = 5;
getCreate
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.CreateOrBuilder getCreateOrBuilder()
optional .mesos.Offer.Operation.Create create = 5;
getCreateOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasDestroy()
optional .mesos.Offer.Operation.Destroy destroy = 6;
hasDestroy
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.Destroy getDestroy()
optional .mesos.Offer.Operation.Destroy destroy = 6;
getDestroy
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.DestroyOrBuilder getDestroyOrBuilder()
optional .mesos.Offer.Operation.Destroy destroy = 6;
getDestroyOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasGrowVolume()
EXPERIMENTAL.
optional .mesos.Offer.Operation.GrowVolume grow_volume = 13;
hasGrowVolume
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.GrowVolume getGrowVolume()
EXPERIMENTAL.
optional .mesos.Offer.Operation.GrowVolume grow_volume = 13;
getGrowVolume
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.GrowVolumeOrBuilder getGrowVolumeOrBuilder()
EXPERIMENTAL.
optional .mesos.Offer.Operation.GrowVolume grow_volume = 13;
getGrowVolumeOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasShrinkVolume()
EXPERIMENTAL.
optional .mesos.Offer.Operation.ShrinkVolume shrink_volume = 14;
hasShrinkVolume
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.ShrinkVolume getShrinkVolume()
EXPERIMENTAL.
optional .mesos.Offer.Operation.ShrinkVolume shrink_volume = 14;
getShrinkVolume
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.ShrinkVolumeOrBuilder getShrinkVolumeOrBuilder()
EXPERIMENTAL.
optional .mesos.Offer.Operation.ShrinkVolume shrink_volume = 14;
getShrinkVolumeOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasCreateDisk()
EXPERIMENTAL.
optional .mesos.Offer.Operation.CreateDisk create_disk = 15;
hasCreateDisk
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.CreateDisk getCreateDisk()
EXPERIMENTAL.
optional .mesos.Offer.Operation.CreateDisk create_disk = 15;
getCreateDisk
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.CreateDiskOrBuilder getCreateDiskOrBuilder()
EXPERIMENTAL.
optional .mesos.Offer.Operation.CreateDisk create_disk = 15;
getCreateDiskOrBuilder
in interface Protos.Offer.OperationOrBuilder
public boolean hasDestroyDisk()
EXPERIMENTAL.
optional .mesos.Offer.Operation.DestroyDisk destroy_disk = 16;
hasDestroyDisk
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.DestroyDisk getDestroyDisk()
EXPERIMENTAL.
optional .mesos.Offer.Operation.DestroyDisk destroy_disk = 16;
getDestroyDisk
in interface Protos.Offer.OperationOrBuilder
public Protos.Offer.Operation.DestroyDiskOrBuilder getDestroyDiskOrBuilder()
EXPERIMENTAL.
optional .mesos.Offer.Operation.DestroyDisk destroy_disk = 16;
getDestroyDiskOrBuilder
in interface Protos.Offer.OperationOrBuilder
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 parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation 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 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Offer.Operation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Offer.Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Offer.Operation.Builder newBuilderForType()
public static Protos.Offer.Operation.Builder newBuilder()
public static Protos.Offer.Operation.Builder newBuilder(Protos.Offer.Operation prototype)
public Protos.Offer.Operation.Builder toBuilder()
protected Protos.Offer.Operation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Offer.Operation getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Offer.Operation getDefaultInstanceForType()