public static final class Protos.Operation.Builder extends <any> implements Protos.OperationOrBuilder
Describes an operation, similar to `Offer.Operation`, with some additional information.Protobuf type
mesos.Operation
Modifier and Type | Method and Description |
---|---|
Protos.Operation.Builder |
addAllStatuses(java.lang.Iterable<? extends Protos.OperationStatus> values)
All the statuses known to this operation.
|
Protos.Operation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Operation.Builder |
addStatuses(int index,
Protos.OperationStatus.Builder builderForValue)
All the statuses known to this operation.
|
Protos.Operation.Builder |
addStatuses(int index,
Protos.OperationStatus value)
All the statuses known to this operation.
|
Protos.Operation.Builder |
addStatuses(Protos.OperationStatus.Builder builderForValue)
All the statuses known to this operation.
|
Protos.Operation.Builder |
addStatuses(Protos.OperationStatus value)
All the statuses known to this operation.
|
Protos.OperationStatus.Builder |
addStatusesBuilder()
All the statuses known to this operation.
|
Protos.OperationStatus.Builder |
addStatusesBuilder(int index)
All the statuses known to this operation.
|
Protos.Operation |
build() |
Protos.Operation |
buildPartial() |
Protos.Operation.Builder |
clear() |
Protos.Operation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Operation.Builder |
clearFrameworkId()
optional .mesos.FrameworkID framework_id = 1; |
Protos.Operation.Builder |
clearInfo()
required .mesos.Offer.Operation info = 3; |
Protos.Operation.Builder |
clearLatestStatus()
required .mesos.OperationStatus latest_status = 4; |
Protos.Operation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Operation.Builder |
clearSlaveId()
optional .mesos.SlaveID slave_id = 2; |
Protos.Operation.Builder |
clearStatuses()
All the statuses known to this operation.
|
Protos.Operation.Builder |
clearUuid()
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
Protos.Operation.Builder |
clone() |
Protos.Operation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.FrameworkID |
getFrameworkId()
optional .mesos.FrameworkID framework_id = 1; |
Protos.FrameworkID.Builder |
getFrameworkIdBuilder()
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.Operation.Builder |
getInfoBuilder()
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.OperationStatus.Builder |
getLatestStatusBuilder()
required .mesos.OperationStatus latest_status = 4; |
Protos.OperationStatusOrBuilder |
getLatestStatusOrBuilder()
required .mesos.OperationStatus latest_status = 4; |
Protos.SlaveID |
getSlaveId()
optional .mesos.SlaveID slave_id = 2; |
Protos.SlaveID.Builder |
getSlaveIdBuilder()
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.
|
Protos.OperationStatus.Builder |
getStatusesBuilder(int index)
All the statuses known to this operation.
|
java.util.List<Protos.OperationStatus.Builder> |
getStatusesBuilderList()
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.
|
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.UUID.Builder |
getUuidBuilder()
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; |
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() |
Protos.Operation.Builder |
mergeFrameworkId(Protos.FrameworkID value)
optional .mesos.FrameworkID framework_id = 1; |
Protos.Operation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Operation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Operation.Builder |
mergeInfo(Protos.Offer.Operation value)
required .mesos.Offer.Operation info = 3; |
Protos.Operation.Builder |
mergeLatestStatus(Protos.OperationStatus value)
required .mesos.OperationStatus latest_status = 4; |
Protos.Operation.Builder |
mergeSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 2; |
Protos.Operation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Operation.Builder |
mergeUuid(Protos.UUID value)
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
Protos.Operation.Builder |
removeStatuses(int index)
All the statuses known to this operation.
|
Protos.Operation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Operation.Builder |
setFrameworkId(Protos.FrameworkID.Builder builderForValue)
optional .mesos.FrameworkID framework_id = 1; |
Protos.Operation.Builder |
setFrameworkId(Protos.FrameworkID value)
optional .mesos.FrameworkID framework_id = 1; |
Protos.Operation.Builder |
setInfo(Protos.Offer.Operation.Builder builderForValue)
required .mesos.Offer.Operation info = 3; |
Protos.Operation.Builder |
setInfo(Protos.Offer.Operation value)
required .mesos.Offer.Operation info = 3; |
Protos.Operation.Builder |
setLatestStatus(Protos.OperationStatus.Builder builderForValue)
required .mesos.OperationStatus latest_status = 4; |
Protos.Operation.Builder |
setLatestStatus(Protos.OperationStatus value)
required .mesos.OperationStatus latest_status = 4; |
Protos.Operation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Operation.Builder |
setSlaveId(Protos.SlaveID.Builder builderForValue)
optional .mesos.SlaveID slave_id = 2; |
Protos.Operation.Builder |
setSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 2; |
Protos.Operation.Builder |
setStatuses(int index,
Protos.OperationStatus.Builder builderForValue)
All the statuses known to this operation.
|
Protos.Operation.Builder |
setStatuses(int index,
Protos.OperationStatus value)
All the statuses known to this operation.
|
Protos.Operation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Operation.Builder |
setUuid(Protos.UUID.Builder builderForValue)
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
Protos.Operation.Builder |
setUuid(Protos.UUID value)
This is the internal UUID for the operation, which is kept independently
from the framework-specified operation ID, which is optional.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Operation.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Operation getDefaultInstanceForType()
public Protos.Operation build()
public Protos.Operation buildPartial()
public Protos.Operation.Builder clone()
public Protos.Operation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Operation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Operation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Operation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Operation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Operation.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Operation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasFrameworkId()
optional .mesos.FrameworkID framework_id = 1;
hasFrameworkId
in interface Protos.OperationOrBuilder
public Protos.FrameworkID getFrameworkId()
optional .mesos.FrameworkID framework_id = 1;
getFrameworkId
in interface Protos.OperationOrBuilder
public Protos.Operation.Builder setFrameworkId(Protos.FrameworkID value)
optional .mesos.FrameworkID framework_id = 1;
public Protos.Operation.Builder setFrameworkId(Protos.FrameworkID.Builder builderForValue)
optional .mesos.FrameworkID framework_id = 1;
public Protos.Operation.Builder mergeFrameworkId(Protos.FrameworkID value)
optional .mesos.FrameworkID framework_id = 1;
public Protos.Operation.Builder clearFrameworkId()
optional .mesos.FrameworkID framework_id = 1;
public Protos.FrameworkID.Builder getFrameworkIdBuilder()
optional .mesos.FrameworkID framework_id = 1;
public Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
optional .mesos.FrameworkID framework_id = 1;
getFrameworkIdOrBuilder
in interface Protos.OperationOrBuilder
public boolean hasSlaveId()
optional .mesos.SlaveID slave_id = 2;
hasSlaveId
in interface Protos.OperationOrBuilder
public Protos.SlaveID getSlaveId()
optional .mesos.SlaveID slave_id = 2;
getSlaveId
in interface Protos.OperationOrBuilder
public Protos.Operation.Builder setSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 2;
public Protos.Operation.Builder setSlaveId(Protos.SlaveID.Builder builderForValue)
optional .mesos.SlaveID slave_id = 2;
public Protos.Operation.Builder mergeSlaveId(Protos.SlaveID value)
optional .mesos.SlaveID slave_id = 2;
public Protos.Operation.Builder clearSlaveId()
optional .mesos.SlaveID slave_id = 2;
public Protos.SlaveID.Builder getSlaveIdBuilder()
optional .mesos.SlaveID slave_id = 2;
public Protos.SlaveIDOrBuilder getSlaveIdOrBuilder()
optional .mesos.SlaveID slave_id = 2;
getSlaveIdOrBuilder
in interface Protos.OperationOrBuilder
public boolean hasInfo()
required .mesos.Offer.Operation info = 3;
hasInfo
in interface Protos.OperationOrBuilder
public Protos.Offer.Operation getInfo()
required .mesos.Offer.Operation info = 3;
getInfo
in interface Protos.OperationOrBuilder
public Protos.Operation.Builder setInfo(Protos.Offer.Operation value)
required .mesos.Offer.Operation info = 3;
public Protos.Operation.Builder setInfo(Protos.Offer.Operation.Builder builderForValue)
required .mesos.Offer.Operation info = 3;
public Protos.Operation.Builder mergeInfo(Protos.Offer.Operation value)
required .mesos.Offer.Operation info = 3;
public Protos.Operation.Builder clearInfo()
required .mesos.Offer.Operation info = 3;
public Protos.Offer.Operation.Builder getInfoBuilder()
required .mesos.Offer.Operation info = 3;
public Protos.Offer.OperationOrBuilder getInfoOrBuilder()
required .mesos.Offer.Operation info = 3;
getInfoOrBuilder
in interface Protos.OperationOrBuilder
public boolean hasLatestStatus()
required .mesos.OperationStatus latest_status = 4;
hasLatestStatus
in interface Protos.OperationOrBuilder
public Protos.OperationStatus getLatestStatus()
required .mesos.OperationStatus latest_status = 4;
getLatestStatus
in interface Protos.OperationOrBuilder
public Protos.Operation.Builder setLatestStatus(Protos.OperationStatus value)
required .mesos.OperationStatus latest_status = 4;
public Protos.Operation.Builder setLatestStatus(Protos.OperationStatus.Builder builderForValue)
required .mesos.OperationStatus latest_status = 4;
public Protos.Operation.Builder mergeLatestStatus(Protos.OperationStatus value)
required .mesos.OperationStatus latest_status = 4;
public Protos.Operation.Builder clearLatestStatus()
required .mesos.OperationStatus latest_status = 4;
public Protos.OperationStatus.Builder getLatestStatusBuilder()
required .mesos.OperationStatus latest_status = 4;
public Protos.OperationStatusOrBuilder getLatestStatusOrBuilder()
required .mesos.OperationStatus latest_status = 4;
getLatestStatusOrBuilder
in interface Protos.OperationOrBuilder
public 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.OperationOrBuilder
public 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.OperationOrBuilder
public 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.OperationOrBuilder
public Protos.Operation.Builder setStatuses(int index, Protos.OperationStatus value)
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;
public Protos.Operation.Builder setStatuses(int index, Protos.OperationStatus.Builder builderForValue)
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;
public Protos.Operation.Builder addStatuses(Protos.OperationStatus value)
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;
public Protos.Operation.Builder addStatuses(int index, Protos.OperationStatus value)
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;
public Protos.Operation.Builder addStatuses(Protos.OperationStatus.Builder builderForValue)
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;
public Protos.Operation.Builder addStatuses(int index, Protos.OperationStatus.Builder builderForValue)
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;
public Protos.Operation.Builder addAllStatuses(java.lang.Iterable<? extends Protos.OperationStatus> values)
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;
public Protos.Operation.Builder clearStatuses()
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;
public Protos.Operation.Builder removeStatuses(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;
public Protos.OperationStatus.Builder getStatusesBuilder(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;
public 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.OperationOrBuilder
public 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.OperationOrBuilder
public Protos.OperationStatus.Builder addStatusesBuilder()
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;
public Protos.OperationStatus.Builder addStatusesBuilder(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;
public java.util.List<Protos.OperationStatus.Builder> getStatusesBuilderList()
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;
public 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.OperationOrBuilder
public 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.OperationOrBuilder
public Protos.Operation.Builder setUuid(Protos.UUID value)
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;
public Protos.Operation.Builder setUuid(Protos.UUID.Builder builderForValue)
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;
public Protos.Operation.Builder mergeUuid(Protos.UUID value)
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;
public Protos.Operation.Builder clearUuid()
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;
public Protos.UUID.Builder getUuidBuilder()
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;
public 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.OperationOrBuilder
public final Protos.Operation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Operation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)