public static final class Protos.Offer.Operation.LaunchGroup.Builder extends <any> implements Protos.Offer.Operation.LaunchGroupOrBuilder
Unlike `Launch` above, all the tasks in a `task_group` are atomically delivered to an executor. `NetworkInfo` set on executor will be shared by all tasks in the task group. TODO(vinod): Any volumes set on executor could be used by a task by explicitly setting `Volume.source` in its resources.Protobuf type
mesos.Offer.Operation.LaunchGroup
Modifier and Type | Method and Description |
---|---|
Protos.Offer.Operation.LaunchGroup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.LaunchGroup |
build() |
Protos.Offer.Operation.LaunchGroup |
buildPartial() |
Protos.Offer.Operation.LaunchGroup.Builder |
clear() |
Protos.Offer.Operation.LaunchGroup.Builder |
clearExecutor()
required .mesos.ExecutorInfo executor = 1; |
Protos.Offer.Operation.LaunchGroup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Offer.Operation.LaunchGroup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Offer.Operation.LaunchGroup.Builder |
clearTaskGroup()
required .mesos.TaskGroupInfo task_group = 2; |
Protos.Offer.Operation.LaunchGroup.Builder |
clone() |
Protos.Offer.Operation.LaunchGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.ExecutorInfo |
getExecutor()
required .mesos.ExecutorInfo executor = 1; |
Protos.ExecutorInfo.Builder |
getExecutorBuilder()
required .mesos.ExecutorInfo executor = 1; |
Protos.ExecutorInfoOrBuilder |
getExecutorOrBuilder()
required .mesos.ExecutorInfo executor = 1; |
Protos.TaskGroupInfo |
getTaskGroup()
required .mesos.TaskGroupInfo task_group = 2; |
Protos.TaskGroupInfo.Builder |
getTaskGroupBuilder()
required .mesos.TaskGroupInfo task_group = 2; |
Protos.TaskGroupInfoOrBuilder |
getTaskGroupOrBuilder()
required .mesos.TaskGroupInfo task_group = 2; |
boolean |
hasExecutor()
required .mesos.ExecutorInfo executor = 1; |
boolean |
hasTaskGroup()
required .mesos.TaskGroupInfo task_group = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Offer.Operation.LaunchGroup.Builder |
mergeExecutor(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor = 1; |
Protos.Offer.Operation.LaunchGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Offer.Operation.LaunchGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Offer.Operation.LaunchGroup.Builder |
mergeTaskGroup(Protos.TaskGroupInfo value)
required .mesos.TaskGroupInfo task_group = 2; |
Protos.Offer.Operation.LaunchGroup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Offer.Operation.LaunchGroup.Builder |
setExecutor(Protos.ExecutorInfo.Builder builderForValue)
required .mesos.ExecutorInfo executor = 1; |
Protos.Offer.Operation.LaunchGroup.Builder |
setExecutor(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor = 1; |
Protos.Offer.Operation.LaunchGroup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Offer.Operation.LaunchGroup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Offer.Operation.LaunchGroup.Builder |
setTaskGroup(Protos.TaskGroupInfo.Builder builderForValue)
required .mesos.TaskGroupInfo task_group = 2; |
Protos.Offer.Operation.LaunchGroup.Builder |
setTaskGroup(Protos.TaskGroupInfo value)
required .mesos.TaskGroupInfo task_group = 2; |
Protos.Offer.Operation.LaunchGroup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Offer.Operation.LaunchGroup.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Offer.Operation.LaunchGroup getDefaultInstanceForType()
public Protos.Offer.Operation.LaunchGroup build()
public Protos.Offer.Operation.LaunchGroup buildPartial()
public Protos.Offer.Operation.LaunchGroup.Builder clone()
public Protos.Offer.Operation.LaunchGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.LaunchGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Offer.Operation.LaunchGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Offer.Operation.LaunchGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Offer.Operation.LaunchGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Offer.Operation.LaunchGroup.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Offer.Operation.LaunchGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasExecutor()
required .mesos.ExecutorInfo executor = 1;
hasExecutor
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public Protos.ExecutorInfo getExecutor()
required .mesos.ExecutorInfo executor = 1;
getExecutor
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public Protos.Offer.Operation.LaunchGroup.Builder setExecutor(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor = 1;
public Protos.Offer.Operation.LaunchGroup.Builder setExecutor(Protos.ExecutorInfo.Builder builderForValue)
required .mesos.ExecutorInfo executor = 1;
public Protos.Offer.Operation.LaunchGroup.Builder mergeExecutor(Protos.ExecutorInfo value)
required .mesos.ExecutorInfo executor = 1;
public Protos.Offer.Operation.LaunchGroup.Builder clearExecutor()
required .mesos.ExecutorInfo executor = 1;
public Protos.ExecutorInfo.Builder getExecutorBuilder()
required .mesos.ExecutorInfo executor = 1;
public Protos.ExecutorInfoOrBuilder getExecutorOrBuilder()
required .mesos.ExecutorInfo executor = 1;
getExecutorOrBuilder
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public boolean hasTaskGroup()
required .mesos.TaskGroupInfo task_group = 2;
hasTaskGroup
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public Protos.TaskGroupInfo getTaskGroup()
required .mesos.TaskGroupInfo task_group = 2;
getTaskGroup
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public Protos.Offer.Operation.LaunchGroup.Builder setTaskGroup(Protos.TaskGroupInfo value)
required .mesos.TaskGroupInfo task_group = 2;
public Protos.Offer.Operation.LaunchGroup.Builder setTaskGroup(Protos.TaskGroupInfo.Builder builderForValue)
required .mesos.TaskGroupInfo task_group = 2;
public Protos.Offer.Operation.LaunchGroup.Builder mergeTaskGroup(Protos.TaskGroupInfo value)
required .mesos.TaskGroupInfo task_group = 2;
public Protos.Offer.Operation.LaunchGroup.Builder clearTaskGroup()
required .mesos.TaskGroupInfo task_group = 2;
public Protos.TaskGroupInfo.Builder getTaskGroupBuilder()
required .mesos.TaskGroupInfo task_group = 2;
public Protos.TaskGroupInfoOrBuilder getTaskGroupOrBuilder()
required .mesos.TaskGroupInfo task_group = 2;
getTaskGroupOrBuilder
in interface Protos.Offer.Operation.LaunchGroupOrBuilder
public final Protos.Offer.Operation.LaunchGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Offer.Operation.LaunchGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)