public static interface Protos.OperationStatusOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Resource |
getConvertedResources(int index)
Converted resources after applying the operation.
|
int |
getConvertedResourcesCount()
Converted resources after applying the operation.
|
java.util.List<Protos.Resource> |
getConvertedResourcesList()
Converted resources after applying the operation.
|
Protos.ResourceOrBuilder |
getConvertedResourcesOrBuilder(int index)
Converted resources after applying the operation.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getConvertedResourcesOrBuilderList()
Converted resources after applying the operation.
|
java.lang.String |
getMessage()
optional string message = 3; |
com.google.protobuf.ByteString |
getMessageBytes()
optional string message = 3; |
Protos.OperationID |
getOperationId()
While frameworks will only receive status updates for operations on which
they have set an ID, this field is optional because this message is also
used internally by Mesos components when the operation's ID has not been
set.
|
Protos.OperationIDOrBuilder |
getOperationIdOrBuilder()
While frameworks will only receive status updates for operations on which
they have set an ID, this field is optional because this message is also
used internally by Mesos components when the operation's ID has not been
set.
|
Protos.ResourceProviderID |
getResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.ResourceProviderIDOrBuilder |
getResourceProviderIdOrBuilder()
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.SlaveID |
getSlaveId()
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.SlaveIDOrBuilder |
getSlaveIdOrBuilder()
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.OperationState |
getState()
required .mesos.OperationState state = 2; |
Protos.UUID |
getUuid()
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
Protos.UUIDOrBuilder |
getUuidOrBuilder()
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
boolean |
hasMessage()
optional string message = 3; |
boolean |
hasOperationId()
While frameworks will only receive status updates for operations on which
they have set an ID, this field is optional because this message is also
used internally by Mesos components when the operation's ID has not been
set.
|
boolean |
hasResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7; |
boolean |
hasSlaveId()
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
boolean |
hasState()
required .mesos.OperationState state = 2; |
boolean |
hasUuid()
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
boolean hasOperationId()
While frameworks will only receive status updates for operations on which they have set an ID, this field is optional because this message is also used internally by Mesos components when the operation's ID has not been set.
optional .mesos.OperationID operation_id = 1;
Protos.OperationID getOperationId()
While frameworks will only receive status updates for operations on which they have set an ID, this field is optional because this message is also used internally by Mesos components when the operation's ID has not been set.
optional .mesos.OperationID operation_id = 1;
Protos.OperationIDOrBuilder getOperationIdOrBuilder()
While frameworks will only receive status updates for operations on which they have set an ID, this field is optional because this message is also used internally by Mesos components when the operation's ID has not been set.
optional .mesos.OperationID operation_id = 1;
boolean hasState()
required .mesos.OperationState state = 2;
Protos.OperationState getState()
required .mesos.OperationState state = 2;
boolean hasMessage()
optional string message = 3;
java.lang.String getMessage()
optional string message = 3;
com.google.protobuf.ByteString getMessageBytes()
optional string message = 3;
java.util.List<Protos.Resource> getConvertedResourcesList()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
Protos.Resource getConvertedResources(int index)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
int getConvertedResourcesCount()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
java.util.List<? extends Protos.ResourceOrBuilder> getConvertedResourcesOrBuilderList()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
Protos.ResourceOrBuilder getConvertedResourcesOrBuilder(int index)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
boolean hasUuid()
Statuses that are delivered reliably to the scheduler will include a `uuid`. The status is considered delivered once it is acknowledged by the scheduler.
optional .mesos.UUID uuid = 5;
Protos.UUID getUuid()
Statuses that are delivered reliably to the scheduler will include a `uuid`. The status is considered delivered once it is acknowledged by the scheduler.
optional .mesos.UUID uuid = 5;
Protos.UUIDOrBuilder getUuidOrBuilder()
Statuses that are delivered reliably to the scheduler will include a `uuid`. The status is considered delivered once it is acknowledged by the scheduler.
optional .mesos.UUID uuid = 5;
boolean hasSlaveId()
If the operation affects resources from a local resource provider, both `slave_id` and `resource_provider_id` will be set. If the operation affects resources that belong to an external resource provider, only `resource_provider_id` will be set. In certain cases, e.g., invalid operations, neither `uuid`, `slave_id` nor `resource_provider_id` will be set, and the scheduler does not need to acknowledge this status update.
optional .mesos.SlaveID slave_id = 6;
Protos.SlaveID getSlaveId()
If the operation affects resources from a local resource provider, both `slave_id` and `resource_provider_id` will be set. If the operation affects resources that belong to an external resource provider, only `resource_provider_id` will be set. In certain cases, e.g., invalid operations, neither `uuid`, `slave_id` nor `resource_provider_id` will be set, and the scheduler does not need to acknowledge this status update.
optional .mesos.SlaveID slave_id = 6;
Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
If the operation affects resources from a local resource provider, both `slave_id` and `resource_provider_id` will be set. If the operation affects resources that belong to an external resource provider, only `resource_provider_id` will be set. In certain cases, e.g., invalid operations, neither `uuid`, `slave_id` nor `resource_provider_id` will be set, and the scheduler does not need to acknowledge this status update.
optional .mesos.SlaveID slave_id = 6;
boolean hasResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7;
Protos.ResourceProviderID getResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7;
Protos.ResourceProviderIDOrBuilder getResourceProviderIdOrBuilder()
optional .mesos.ResourceProviderID resource_provider_id = 7;