public static final class Protos.OperationStatus.Builder extends <any> implements Protos.OperationStatusOrBuilder
Describes the current status of an operation.Protobuf type
mesos.OperationStatus
Modifier and Type | Method and Description |
---|---|
Protos.OperationStatus.Builder |
addAllConvertedResources(java.lang.Iterable<? extends Protos.Resource> values)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
addConvertedResources(int index,
Protos.Resource.Builder builderForValue)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
addConvertedResources(int index,
Protos.Resource value)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
addConvertedResources(Protos.Resource.Builder builderForValue)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
addConvertedResources(Protos.Resource value)
Converted resources after applying the operation.
|
Protos.Resource.Builder |
addConvertedResourcesBuilder()
Converted resources after applying the operation.
|
Protos.Resource.Builder |
addConvertedResourcesBuilder(int index)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OperationStatus |
build() |
Protos.OperationStatus |
buildPartial() |
Protos.OperationStatus.Builder |
clear() |
Protos.OperationStatus.Builder |
clearConvertedResources()
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.OperationStatus.Builder |
clearMessage()
optional string message = 3; |
Protos.OperationStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.OperationStatus.Builder |
clearOperationId()
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.OperationStatus.Builder |
clearResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.OperationStatus.Builder |
clearSlaveId()
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.OperationStatus.Builder |
clearState()
required .mesos.OperationState state = 2; |
Protos.OperationStatus.Builder |
clearUuid()
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
Protos.OperationStatus.Builder |
clone() |
Protos.Resource |
getConvertedResources(int index)
Converted resources after applying the operation.
|
Protos.Resource.Builder |
getConvertedResourcesBuilder(int index)
Converted resources after applying the operation.
|
java.util.List<Protos.Resource.Builder> |
getConvertedResourcesBuilderList()
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.
|
Protos.OperationStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.OperationID.Builder |
getOperationIdBuilder()
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.ResourceProviderID.Builder |
getResourceProviderIdBuilder()
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.SlaveID.Builder |
getSlaveIdBuilder()
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.UUID.Builder |
getUuidBuilder()
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`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.OperationStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.OperationStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.OperationStatus.Builder |
mergeOperationId(Protos.OperationID value)
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.OperationStatus.Builder |
mergeResourceProviderId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.OperationStatus.Builder |
mergeSlaveId(Protos.SlaveID value)
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.OperationStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.OperationStatus.Builder |
mergeUuid(Protos.UUID value)
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
Protos.OperationStatus.Builder |
removeConvertedResources(int index)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
setConvertedResources(int index,
Protos.Resource.Builder builderForValue)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
setConvertedResources(int index,
Protos.Resource value)
Converted resources after applying the operation.
|
Protos.OperationStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.OperationStatus.Builder |
setMessage(java.lang.String value)
optional string message = 3; |
Protos.OperationStatus.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 3; |
Protos.OperationStatus.Builder |
setOperationId(Protos.OperationID.Builder builderForValue)
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.OperationStatus.Builder |
setOperationId(Protos.OperationID value)
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.OperationStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.OperationStatus.Builder |
setResourceProviderId(Protos.ResourceProviderID.Builder builderForValue)
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.OperationStatus.Builder |
setResourceProviderId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID resource_provider_id = 7; |
Protos.OperationStatus.Builder |
setSlaveId(Protos.SlaveID.Builder builderForValue)
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.OperationStatus.Builder |
setSlaveId(Protos.SlaveID value)
If the operation affects resources from a local resource provider,
both `slave_id` and `resource_provider_id` will be set.
|
Protos.OperationStatus.Builder |
setState(Protos.OperationState value)
required .mesos.OperationState state = 2; |
Protos.OperationStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.OperationStatus.Builder |
setUuid(Protos.UUID.Builder builderForValue)
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
Protos.OperationStatus.Builder |
setUuid(Protos.UUID value)
Statuses that are delivered reliably to the scheduler will
include a `uuid`.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.OperationStatus.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.OperationStatus getDefaultInstanceForType()
public Protos.OperationStatus build()
public Protos.OperationStatus buildPartial()
public Protos.OperationStatus.Builder clone()
public Protos.OperationStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OperationStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.OperationStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.OperationStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.OperationStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.OperationStatus.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.OperationStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public 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;
hasOperationId
in interface Protos.OperationStatusOrBuilder
public 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;
getOperationId
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setOperationId(Protos.OperationID value)
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;
public Protos.OperationStatus.Builder setOperationId(Protos.OperationID.Builder builderForValue)
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;
public Protos.OperationStatus.Builder mergeOperationId(Protos.OperationID value)
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;
public Protos.OperationStatus.Builder clearOperationId()
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;
public Protos.OperationID.Builder getOperationIdBuilder()
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;
public 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;
getOperationIdOrBuilder
in interface Protos.OperationStatusOrBuilder
public boolean hasState()
required .mesos.OperationState state = 2;
hasState
in interface Protos.OperationStatusOrBuilder
public Protos.OperationState getState()
required .mesos.OperationState state = 2;
getState
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setState(Protos.OperationState value)
required .mesos.OperationState state = 2;
public Protos.OperationStatus.Builder clearState()
required .mesos.OperationState state = 2;
public boolean hasMessage()
optional string message = 3;
hasMessage
in interface Protos.OperationStatusOrBuilder
public java.lang.String getMessage()
optional string message = 3;
getMessage
in interface Protos.OperationStatusOrBuilder
public com.google.protobuf.ByteString getMessageBytes()
optional string message = 3;
getMessageBytes
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setMessage(java.lang.String value)
optional string message = 3;
public Protos.OperationStatus.Builder clearMessage()
optional string message = 3;
public Protos.OperationStatus.Builder setMessageBytes(com.google.protobuf.ByteString value)
optional string message = 3;
public 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;
getConvertedResourcesList
in interface Protos.OperationStatusOrBuilder
public int getConvertedResourcesCount()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
getConvertedResourcesCount
in interface Protos.OperationStatusOrBuilder
public 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;
getConvertedResources
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setConvertedResources(int index, Protos.Resource value)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder setConvertedResources(int index, Protos.Resource.Builder builderForValue)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder addConvertedResources(Protos.Resource value)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder addConvertedResources(int index, Protos.Resource value)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder addConvertedResources(Protos.Resource.Builder builderForValue)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder addConvertedResources(int index, Protos.Resource.Builder builderForValue)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder addAllConvertedResources(java.lang.Iterable<? extends Protos.Resource> values)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder clearConvertedResources()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.OperationStatus.Builder removeConvertedResources(int index)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.Resource.Builder getConvertedResourcesBuilder(int index)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public 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;
getConvertedResourcesOrBuilder
in interface Protos.OperationStatusOrBuilder
public 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;
getConvertedResourcesOrBuilderList
in interface Protos.OperationStatusOrBuilder
public Protos.Resource.Builder addConvertedResourcesBuilder()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public Protos.Resource.Builder addConvertedResourcesBuilder(int index)
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public java.util.List<Protos.Resource.Builder> getConvertedResourcesBuilderList()
Converted resources after applying the operation. This only applies if the `state` is `OPERATION_FINISHED`.
repeated .mesos.Resource converted_resources = 4;
public 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;
hasUuid
in interface Protos.OperationStatusOrBuilder
public 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;
getUuid
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setUuid(Protos.UUID value)
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;
public Protos.OperationStatus.Builder setUuid(Protos.UUID.Builder builderForValue)
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;
public Protos.OperationStatus.Builder mergeUuid(Protos.UUID value)
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;
public Protos.OperationStatus.Builder clearUuid()
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;
public Protos.UUID.Builder getUuidBuilder()
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;
public 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;
getUuidOrBuilder
in interface Protos.OperationStatusOrBuilder
public 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;
hasSlaveId
in interface Protos.OperationStatusOrBuilder
public 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;
getSlaveId
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setSlaveId(Protos.SlaveID value)
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;
public Protos.OperationStatus.Builder setSlaveId(Protos.SlaveID.Builder builderForValue)
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;
public Protos.OperationStatus.Builder mergeSlaveId(Protos.SlaveID value)
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;
public Protos.OperationStatus.Builder clearSlaveId()
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;
public Protos.SlaveID.Builder getSlaveIdBuilder()
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;
public 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;
getSlaveIdOrBuilder
in interface Protos.OperationStatusOrBuilder
public boolean hasResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7;
hasResourceProviderId
in interface Protos.OperationStatusOrBuilder
public Protos.ResourceProviderID getResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7;
getResourceProviderId
in interface Protos.OperationStatusOrBuilder
public Protos.OperationStatus.Builder setResourceProviderId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID resource_provider_id = 7;
public Protos.OperationStatus.Builder setResourceProviderId(Protos.ResourceProviderID.Builder builderForValue)
optional .mesos.ResourceProviderID resource_provider_id = 7;
public Protos.OperationStatus.Builder mergeResourceProviderId(Protos.ResourceProviderID value)
optional .mesos.ResourceProviderID resource_provider_id = 7;
public Protos.OperationStatus.Builder clearResourceProviderId()
optional .mesos.ResourceProviderID resource_provider_id = 7;
public Protos.ResourceProviderID.Builder getResourceProviderIdBuilder()
optional .mesos.ResourceProviderID resource_provider_id = 7;
public Protos.ResourceProviderIDOrBuilder getResourceProviderIdOrBuilder()
optional .mesos.ResourceProviderID resource_provider_id = 7;
getResourceProviderIdOrBuilder
in interface Protos.OperationStatusOrBuilder
public final Protos.OperationStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.OperationStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)