public static final class Protos.Operation extends com.google.protobuf.GeneratedMessageV3 implements Protos.OperationOrBuilder
Describes an operation, similar to `Offer.Operation`, with some additional information.Protobuf type
mesos.Operation| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Operation.Builder
Describes an operation, similar to `Offer.Operation`, with
some additional information.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FRAMEWORK_ID_FIELD_NUMBER |
static int |
INFO_FIELD_NUMBER |
static int |
LATEST_STATUS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
SLAVE_ID_FIELD_NUMBER |
static int |
STATUSES_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Operation |
getDefaultInstance() |
Protos.Operation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.FrameworkID |
getFrameworkId()
optional .mesos.FrameworkID framework_id = 1; |
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
optional .mesos.FrameworkID framework_id = 1; |
Protos.Offer.Operation |
getInfo()
required .mesos.Offer.Operation info = 3; |
Protos.Offer.OperationOrBuilder |
getInfoOrBuilder()
required .mesos.Offer.Operation info = 3; |
Protos.OperationStatus |
getLatestStatus()
required .mesos.OperationStatus latest_status = 4; |
Protos.OperationStatusOrBuilder |
getLatestStatusOrBuilder()
required .mesos.OperationStatus latest_status = 4; |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.SlaveID |
getSlaveId()
optional .mesos.SlaveID slave_id = 2; |
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 2; |
Protos.OperationStatus |
getStatuses(int index)
All the statuses known to this operation.
|
int |
getStatusesCount()
All the statuses known to this operation.
|
java.util.List<Protos.OperationStatus> |
getStatusesList()
All the statuses known to this operation.
|
Protos.OperationStatusOrBuilder |
getStatusesOrBuilder(int index)
All the statuses known to this operation.
|
java.util.List<? extends Protos.OperationStatusOrBuilder> |
getStatusesOrBuilderList()
All the statuses known to this operation.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.UUID |
getUuid()
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
Protos.UUIDOrBuilder |
getUuidOrBuilder()
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
boolean |
hasFrameworkId()
optional .mesos.FrameworkID framework_id = 1; |
int |
hashCode() |
boolean |
hasInfo()
required .mesos.Offer.Operation info = 3; |
boolean |
hasLatestStatus()
required .mesos.OperationStatus latest_status = 4; |
boolean |
hasSlaveId()
optional .mesos.SlaveID slave_id = 2; |
boolean |
hasUuid()
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Operation.Builder |
newBuilder() |
static Protos.Operation.Builder |
newBuilder(Protos.Operation prototype) |
Protos.Operation.Builder |
newBuilderForType() |
protected Protos.Operation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Operation |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Operation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Operation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Operation |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Operation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Operation |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Operation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Operation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Operation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Operation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Operation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int FRAMEWORK_ID_FIELD_NUMBER
public static final int SLAVE_ID_FIELD_NUMBER
public static final int INFO_FIELD_NUMBER
public static final int LATEST_STATUS_FIELD_NUMBER
public static final int STATUSES_FIELD_NUMBER
public static final int UUID_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 hasFrameworkId()
optional .mesos.FrameworkID framework_id = 1;hasFrameworkId in interface Protos.OperationOrBuilderpublic Protos.FrameworkID getFrameworkId()
optional .mesos.FrameworkID framework_id = 1;getFrameworkId in interface Protos.OperationOrBuilderpublic Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
optional .mesos.FrameworkID framework_id = 1;getFrameworkIdOrBuilder in interface Protos.OperationOrBuilderpublic boolean hasSlaveId()
optional .mesos.SlaveID slave_id = 2;hasSlaveId in interface Protos.OperationOrBuilderpublic Protos.SlaveID getSlaveId()
optional .mesos.SlaveID slave_id = 2;getSlaveId in interface Protos.OperationOrBuilderpublic Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 2;getSlaveIdOrBuilder in interface Protos.OperationOrBuilderpublic boolean hasInfo()
required .mesos.Offer.Operation info = 3;hasInfo in interface Protos.OperationOrBuilderpublic Protos.Offer.Operation getInfo()
required .mesos.Offer.Operation info = 3;getInfo in interface Protos.OperationOrBuilderpublic Protos.Offer.OperationOrBuilder getInfoOrBuilder()
required .mesos.Offer.Operation info = 3;getInfoOrBuilder in interface Protos.OperationOrBuilderpublic boolean hasLatestStatus()
required .mesos.OperationStatus latest_status = 4;hasLatestStatus in interface Protos.OperationOrBuilderpublic Protos.OperationStatus getLatestStatus()
required .mesos.OperationStatus latest_status = 4;getLatestStatus in interface Protos.OperationOrBuilderpublic Protos.OperationStatusOrBuilder getLatestStatusOrBuilder()
required .mesos.OperationStatus latest_status = 4;getLatestStatusOrBuilder in interface Protos.OperationOrBuilderpublic java.util.List<Protos.OperationStatus> getStatusesList()
All the statuses known to this operation. Some of the statuses in this list might not have been acknowledged yet. The statuses are ordered.
repeated .mesos.OperationStatus statuses = 5;getStatusesList in interface Protos.OperationOrBuilderpublic java.util.List<? extends Protos.OperationStatusOrBuilder> getStatusesOrBuilderList()
All the statuses known to this operation. Some of the statuses in this list might not have been acknowledged yet. The statuses are ordered.
repeated .mesos.OperationStatus statuses = 5;getStatusesOrBuilderList in interface Protos.OperationOrBuilderpublic int getStatusesCount()
All the statuses known to this operation. Some of the statuses in this list might not have been acknowledged yet. The statuses are ordered.
repeated .mesos.OperationStatus statuses = 5;getStatusesCount in interface Protos.OperationOrBuilderpublic Protos.OperationStatus getStatuses(int index)
All the statuses known to this operation. Some of the statuses in this list might not have been acknowledged yet. The statuses are ordered.
repeated .mesos.OperationStatus statuses = 5;getStatuses in interface Protos.OperationOrBuilderpublic Protos.OperationStatusOrBuilder getStatusesOrBuilder(int index)
All the statuses known to this operation. Some of the statuses in this list might not have been acknowledged yet. The statuses are ordered.
repeated .mesos.OperationStatus statuses = 5;getStatusesOrBuilder in interface Protos.OperationOrBuilderpublic boolean hasUuid()
This is the internal UUID for the operation, which is kept independently from the framework-specified operation ID, which is optional.
required .mesos.UUID uuid = 6;hasUuid in interface Protos.OperationOrBuilderpublic Protos.UUID getUuid()
This is the internal UUID for the operation, which is kept independently from the framework-specified operation ID, which is optional.
required .mesos.UUID uuid = 6;getUuid in interface Protos.OperationOrBuilderpublic Protos.UUIDOrBuilder getUuidOrBuilder()
This is the internal UUID for the operation, which is kept independently from the framework-specified operation ID, which is optional.
required .mesos.UUID uuid = 6;getUuidOrBuilder in interface Protos.OperationOrBuilderpublic 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.Operation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Operation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Operation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Operation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Operation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Operation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Operation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Operation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Operation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Operation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Operation.Builder newBuilderForType()
public static Protos.Operation.Builder newBuilder()
public static Protos.Operation.Builder newBuilder(Protos.Operation prototype)
public Protos.Operation.Builder toBuilder()
protected Protos.Operation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Operation getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Operation getDefaultInstanceForType()