public static final class Protos.TaskResourceLimitation.Builder extends <any> implements Protos.TaskResourceLimitationOrBuilder
Describes a resource limitation that caused a task failure.Protobuf type
mesos.TaskResourceLimitation| Modifier and Type | Method and Description |
|---|---|
Protos.TaskResourceLimitation.Builder |
addAllResources (java.lang.Iterable<? extends Protos.Resource> values)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TaskResourceLimitation.Builder |
addResources (int index,
Protos.Resource.Builder builderForValue)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
addResources (int index,
Protos.Resource value)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
addResources (Protos.Resource.Builder builderForValue)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
addResources (Protos.Resource value)
This field contains the resource whose limits were violated.
|
Protos.Resource.Builder |
addResourcesBuilder ()
This field contains the resource whose limits were violated.
|
Protos.Resource.Builder |
addResourcesBuilder (int index)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation |
build () |
Protos.TaskResourceLimitation |
buildPartial () |
Protos.TaskResourceLimitation.Builder |
clear () |
Protos.TaskResourceLimitation.Builder |
clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.TaskResourceLimitation.Builder |
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.TaskResourceLimitation.Builder |
clearResources ()
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
clone () |
Protos.TaskResourceLimitation |
getDefaultInstanceForType () |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor () |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType () |
Protos.Resource |
getResources (int index)
This field contains the resource whose limits were violated.
|
Protos.Resource.Builder |
getResourcesBuilder (int index)
This field contains the resource whose limits were violated.
|
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList ()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable () |
boolean |
isInitialized () |
Protos.TaskResourceLimitation.Builder |
mergeFrom (com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.TaskResourceLimitation.Builder |
mergeFrom (com.google.protobuf.Message other) |
Protos.TaskResourceLimitation.Builder |
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.TaskResourceLimitation.Builder |
removeResources (int index)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
setField (com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.TaskResourceLimitation.Builder |
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.TaskResourceLimitation.Builder |
setResources (int index,
Protos.Resource.Builder builderForValue)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
setResources (int index,
Protos.Resource value)
This field contains the resource whose limits were violated.
|
Protos.TaskResourceLimitation.Builder |
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.TaskResourceLimitation.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.TaskResourceLimitation getDefaultInstanceForType()
public Protos.TaskResourceLimitation build()
public Protos.TaskResourceLimitation buildPartial()
public Protos.TaskResourceLimitation.Builder clone()
public Protos.TaskResourceLimitation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskResourceLimitation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.TaskResourceLimitation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.TaskResourceLimitation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.TaskResourceLimitation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.TaskResourceLimitation.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.TaskResourceLimitation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic 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 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.TaskResourceLimitation.Builder setResources(int index, Protos.Resource value)
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;public Protos.TaskResourceLimitation.Builder setResources(int index, Protos.Resource.Builder builderForValue)
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;public Protos.TaskResourceLimitation.Builder addResources(Protos.Resource value)
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;public Protos.TaskResourceLimitation.Builder addResources(int index, Protos.Resource value)
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;public Protos.TaskResourceLimitation.Builder addResources(Protos.Resource.Builder builderForValue)
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;public Protos.TaskResourceLimitation.Builder addResources(int index, Protos.Resource.Builder builderForValue)
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;public Protos.TaskResourceLimitation.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
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;public Protos.TaskResourceLimitation.Builder clearResources()
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;public Protos.TaskResourceLimitation.Builder removeResources(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;public Protos.Resource.Builder getResourcesBuilder(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;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 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 Protos.Resource.Builder addResourcesBuilder()
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;public Protos.Resource.Builder addResourcesBuilder(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;public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
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;public final Protos.TaskResourceLimitation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.TaskResourceLimitation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)