@Override public ApplicationId getApplicationId() { if (this.applicationId != null) { return this.applicationId; } GetNewApplicationResponseProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasApplicationId()) { return null; } this.applicationId = convertFromProtoFormat(p.getApplicationId()); return this.applicationId; }
@Override public Resource getMaximumResourceCapability() { if (this.maximumResourceCapability != null) { return this.maximumResourceCapability; } GetNewApplicationResponseProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasMaximumCapability()) { return null; } this.maximumResourceCapability = convertFromProtoFormat(p.getMaximumCapability()); return this.maximumResourceCapability; }