@Override public Priority getPriority() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.priority != null) { return this.priority; } if (!p.hasPriority()) { return null; } this.priority = convertFromProtoFormat(p.getPriority()); return this.priority; }
@Override public String getResourceName() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasResourceName()) { return null; } return (p.getResourceName()); }
@Override public Resource getCapability() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; if (this.capability != null) { return this.capability; } if (!p.hasCapability()) { return null; } this.capability = convertFromProtoFormat(p.getCapability()); return this.capability; }
@Override public String getNodeLabelExpression() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasNodeLabelExpression()) { return null; } return (p.getNodeLabelExpression().trim()); }
@Override public String getNodeLabelExpression() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasNodeLabelExpression()) { return null; } return (p.getNodeLabelExpression()); }
@Override public synchronized int getNumContainers() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; return (p.getNumContainers()); }
@Override public boolean getRelaxLocality() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; return p.getRelaxLocality(); }
@Override public int getNumContainers() { ResourceRequestProtoOrBuilder p = viaProto ? proto : builder; return (p.getNumContainers()); }