public static final class Protos.TaskGroupInfo.Builder extends <any> implements Protos.TaskGroupInfoOrBuilder
Describes a group of tasks that belong to an executor. The executor will receive the task group in a single message to allow the group to be launched "atomically". NOTES: 1) `NetworkInfo` must not be set inside task's `ContainerInfo`. 2) `TaskInfo.executor` doesn't need to set. If set, it should match `LaunchGroup.executor`.Protobuf type
mesos.TaskGroupInfo
Modifier and Type | Method and Description |
---|---|
Protos.TaskGroupInfo.Builder |
addAllTasks(java.lang.Iterable<? extends Protos.TaskInfo> values)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TaskGroupInfo.Builder |
addTasks(int index,
Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
addTasks(int index,
Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
addTasks(Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
addTasks(Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskInfo.Builder |
addTasksBuilder()
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskInfo.Builder |
addTasksBuilder(int index)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo |
build() |
Protos.TaskGroupInfo |
buildPartial() |
Protos.TaskGroupInfo.Builder |
clear() |
Protos.TaskGroupInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TaskGroupInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TaskGroupInfo.Builder |
clearTasks()
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
clone() |
Protos.TaskGroupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.TaskInfo |
getTasks(int index)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskInfo.Builder |
getTasksBuilder(int index)
repeated .mesos.TaskInfo tasks = 1; |
java.util.List<Protos.TaskInfo.Builder> |
getTasksBuilderList()
repeated .mesos.TaskInfo tasks = 1; |
int |
getTasksCount()
repeated .mesos.TaskInfo tasks = 1; |
java.util.List<Protos.TaskInfo> |
getTasksList()
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskInfoOrBuilder |
getTasksOrBuilder(int index)
repeated .mesos.TaskInfo tasks = 1; |
java.util.List<? extends Protos.TaskInfoOrBuilder> |
getTasksOrBuilderList()
repeated .mesos.TaskInfo tasks = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.TaskGroupInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TaskGroupInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.TaskGroupInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TaskGroupInfo.Builder |
removeTasks(int index)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TaskGroupInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TaskGroupInfo.Builder |
setTasks(int index,
Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.Builder |
setTasks(int index,
Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1; |
Protos.TaskGroupInfo.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.TaskGroupInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.TaskGroupInfo getDefaultInstanceForType()
public Protos.TaskGroupInfo build()
public Protos.TaskGroupInfo buildPartial()
public Protos.TaskGroupInfo.Builder clone()
public Protos.TaskGroupInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskGroupInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.TaskGroupInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.TaskGroupInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.TaskGroupInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskGroupInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.TaskGroupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.TaskInfo> getTasksList()
repeated .mesos.TaskInfo tasks = 1;
getTasksList
in interface Protos.TaskGroupInfoOrBuilder
public int getTasksCount()
repeated .mesos.TaskInfo tasks = 1;
getTasksCount
in interface Protos.TaskGroupInfoOrBuilder
public Protos.TaskInfo getTasks(int index)
repeated .mesos.TaskInfo tasks = 1;
getTasks
in interface Protos.TaskGroupInfoOrBuilder
public Protos.TaskGroupInfo.Builder setTasks(int index, Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder setTasks(int index, Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder addTasks(Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder addTasks(int index, Protos.TaskInfo value)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder addTasks(Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder addTasks(int index, Protos.TaskInfo.Builder builderForValue)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder addAllTasks(java.lang.Iterable<? extends Protos.TaskInfo> values)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder clearTasks()
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskGroupInfo.Builder removeTasks(int index)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskInfo.Builder getTasksBuilder(int index)
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskInfoOrBuilder getTasksOrBuilder(int index)
repeated .mesos.TaskInfo tasks = 1;
getTasksOrBuilder
in interface Protos.TaskGroupInfoOrBuilder
public java.util.List<? extends Protos.TaskInfoOrBuilder> getTasksOrBuilderList()
repeated .mesos.TaskInfo tasks = 1;
getTasksOrBuilderList
in interface Protos.TaskGroupInfoOrBuilder
public Protos.TaskInfo.Builder addTasksBuilder()
repeated .mesos.TaskInfo tasks = 1;
public Protos.TaskInfo.Builder addTasksBuilder(int index)
repeated .mesos.TaskInfo tasks = 1;
public java.util.List<Protos.TaskInfo.Builder> getTasksBuilderList()
repeated .mesos.TaskInfo tasks = 1;
public final Protos.TaskGroupInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.TaskGroupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)