public static final class Protos.ResourceUsage.Executor.Task extends com.google.protobuf.GeneratedMessageV3 implements Protos.ResourceUsage.Executor.TaskOrBuilder
mesos.ResourceUsage.Executor.Task
Modifier and Type | Class and Description |
---|---|
static class |
Protos.ResourceUsage.Executor.Task.Builder
Protobuf type
mesos.ResourceUsage.Executor.Task |
Modifier and Type | Field and Description |
---|---|
static int |
ID_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
RESOURCES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.ResourceUsage.Executor.Task |
getDefaultInstance() |
Protos.ResourceUsage.Executor.Task |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.TaskID |
getId()
required .mesos.TaskID id = 2; |
Protos.TaskIDOrBuilder |
getIdOrBuilder()
required .mesos.TaskID id = 2; |
Protos.Labels |
getLabels()
optional .mesos.Labels labels = 4; |
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
optional .mesos.Labels labels = 4; |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
<any> |
getParserForType() |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 3; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 3; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 3; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasId()
required .mesos.TaskID id = 2; |
boolean |
hasLabels()
optional .mesos.Labels labels = 4; |
boolean |
hasName()
required string name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.ResourceUsage.Executor.Task.Builder |
newBuilder() |
static Protos.ResourceUsage.Executor.Task.Builder |
newBuilder(Protos.ResourceUsage.Executor.Task prototype) |
Protos.ResourceUsage.Executor.Task.Builder |
newBuilderForType() |
protected Protos.ResourceUsage.Executor.Task.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.ResourceUsage.Executor.Task |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.ResourceUsage.Executor.Task |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(java.nio.ByteBuffer data) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.ResourceUsage.Executor.Task |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.ResourceUsage.Executor.Task.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
public static final int LABELS_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 boolean hasName()
required string name = 1;
hasName
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public boolean hasId()
required .mesos.TaskID id = 2;
hasId
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.TaskID getId()
required .mesos.TaskID id = 2;
getId
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.TaskIDOrBuilder getIdOrBuilder()
required .mesos.TaskID id = 2;
getIdOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 3;
getResourcesList
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3;
getResourcesOrBuilderList
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 3;
getResourcesCount
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 3;
getResources
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3;
getResourcesOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public boolean hasLabels()
optional .mesos.Labels labels = 4;
hasLabels
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.Labels getLabels()
optional .mesos.Labels labels = 4;
getLabels
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
public Protos.LabelsOrBuilder getLabelsOrBuilder()
optional .mesos.Labels labels = 4;
getLabelsOrBuilder
in interface Protos.ResourceUsage.Executor.TaskOrBuilder
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.ResourceUsage.Executor.Task parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage.Executor.Task parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage.Executor.Task parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage.Executor.Task parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage.Executor.Task parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.ResourceUsage.Executor.Task parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage.Executor.Task parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage.Executor.Task parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage.Executor.Task parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.ResourceUsage.Executor.Task parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.ResourceUsage.Executor.Task.Builder newBuilderForType()
public static Protos.ResourceUsage.Executor.Task.Builder newBuilder()
public static Protos.ResourceUsage.Executor.Task.Builder newBuilder(Protos.ResourceUsage.Executor.Task prototype)
public Protos.ResourceUsage.Executor.Task.Builder toBuilder()
protected Protos.ResourceUsage.Executor.Task.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.ResourceUsage.Executor.Task getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.ResourceUsage.Executor.Task getDefaultInstanceForType()