public static final class Protos.TaskResourceLimitation extends com.google.protobuf.GeneratedMessageV3 implements Protos.TaskResourceLimitationOrBuilder
Describes a resource limitation that caused a task failure.Protobuf type
mesos.TaskResourceLimitation
Modifier and Type | Class and Description |
---|---|
static class |
Protos.TaskResourceLimitation.Builder
Describes a resource limitation that caused a task failure.
|
Modifier and Type | Field and Description |
---|---|
static <any> |
PARSER
Deprecated.
|
static int |
RESOURCES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.TaskResourceLimitation |
getDefaultInstance() |
Protos.TaskResourceLimitation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
<any> |
getParserForType() |
Protos.Resource |
getResources(int index)
This field contains the resource whose limits were violated.
|
int |
getResourcesCount()
This field contains the resource whose limits were violated.
|
java.util.List<Protos.Resource> |
getResourcesList()
This field contains the resource whose limits were violated.
|
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
This field contains the resource whose limits were violated.
|
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
This field contains the resource whose limits were violated.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.TaskResourceLimitation.Builder |
newBuilder() |
static Protos.TaskResourceLimitation.Builder |
newBuilder(Protos.TaskResourceLimitation prototype) |
Protos.TaskResourceLimitation.Builder |
newBuilderForType() |
protected Protos.TaskResourceLimitation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.TaskResourceLimitation |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.TaskResourceLimitation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskResourceLimitation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskResourceLimitation |
parseFrom(java.nio.ByteBuffer data) |
static Protos.TaskResourceLimitation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskResourceLimitation |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.TaskResourceLimitation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskResourceLimitation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.TaskResourceLimitation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.TaskResourceLimitation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.TaskResourceLimitation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int RESOURCES_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.Resource> getResourcesList()
This field contains the resource whose limits were violated. NOTE: 'Resources' is used here because the resource may span multiple roles (e.g. `"mem(*):1;mem(role):2"`).
repeated .mesos.Resource resources = 1;
getResourcesList
in interface Protos.TaskResourceLimitationOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
This field contains the resource whose limits were violated. NOTE: 'Resources' is used here because the resource may span multiple roles (e.g. `"mem(*):1;mem(role):2"`).
repeated .mesos.Resource resources = 1;
getResourcesOrBuilderList
in interface Protos.TaskResourceLimitationOrBuilder
public int getResourcesCount()
This field contains the resource whose limits were violated. NOTE: 'Resources' is used here because the resource may span multiple roles (e.g. `"mem(*):1;mem(role):2"`).
repeated .mesos.Resource resources = 1;
getResourcesCount
in interface Protos.TaskResourceLimitationOrBuilder
public Protos.Resource getResources(int index)
This field contains the resource whose limits were violated. NOTE: 'Resources' is used here because the resource may span multiple roles (e.g. `"mem(*):1;mem(role):2"`).
repeated .mesos.Resource resources = 1;
getResources
in interface Protos.TaskResourceLimitationOrBuilder
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
This field contains the resource whose limits were violated. NOTE: 'Resources' is used here because the resource may span multiple roles (e.g. `"mem(*):1;mem(role):2"`).
repeated .mesos.Resource resources = 1;
getResourcesOrBuilder
in interface Protos.TaskResourceLimitationOrBuilder
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.TaskResourceLimitation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskResourceLimitation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskResourceLimitation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskResourceLimitation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskResourceLimitation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.TaskResourceLimitation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TaskResourceLimitation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TaskResourceLimitation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.TaskResourceLimitation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.TaskResourceLimitation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.TaskResourceLimitation.Builder newBuilderForType()
public static Protos.TaskResourceLimitation.Builder newBuilder()
public static Protos.TaskResourceLimitation.Builder newBuilder(Protos.TaskResourceLimitation prototype)
public Protos.TaskResourceLimitation.Builder toBuilder()
protected Protos.TaskResourceLimitation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.TaskResourceLimitation getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.TaskResourceLimitation getDefaultInstanceForType()