public static final class Protos.TaskGroupInfo extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.TaskGroupInfo.Builder
Describes a group of tasks that belong to an executor.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
TASKS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.TaskGroupInfo |
getDefaultInstance() |
Protos.TaskGroupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.TaskInfo |
getTasks(int index)
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.TaskGroupInfo.Builder |
newBuilder() |
static Protos.TaskGroupInfo.Builder |
newBuilder(Protos.TaskGroupInfo prototype) |
Protos.TaskGroupInfo.Builder |
newBuilderForType() |
protected Protos.TaskGroupInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.TaskGroupInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.TaskGroupInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskGroupInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskGroupInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.TaskGroupInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskGroupInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.TaskGroupInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskGroupInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.TaskGroupInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskGroupInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.TaskGroupInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TASKS_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public java.util.List<Protos.TaskInfo> getTasksList()
repeated .mesos.TaskInfo tasks = 1;
getTasksList
in interface Protos.TaskGroupInfoOrBuilder
public java.util.List<? extends Protos.TaskInfoOrBuilder> getTasksOrBuilderList()
repeated .mesos.TaskInfo tasks = 1;
getTasksOrBuilderList
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.TaskInfoOrBuilder getTasksOrBuilder(int index)
repeated .mesos.TaskInfo tasks = 1;
getTasksOrBuilder
in interface Protos.TaskGroupInfoOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.TaskGroupInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskGroupInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskGroupInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskGroupInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskGroupInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskGroupInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TaskGroupInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TaskGroupInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TaskGroupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TaskGroupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.TaskGroupInfo.Builder newBuilderForType()
public static Protos.TaskGroupInfo.Builder newBuilder()
public static Protos.TaskGroupInfo.Builder newBuilder(Protos.TaskGroupInfo prototype)
public Protos.TaskGroupInfo.Builder toBuilder()
protected Protos.TaskGroupInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.TaskGroupInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.TaskGroupInfo getDefaultInstanceForType()