public synchronized ApplicationId getApplicationId() { ApplicationAttemptIdProtoOrBuilder p = viaProto ? proto : builder; if (this.applicationId != null) { return this.applicationId; } if (!p.hasApplicationId()) { return null; } this.applicationId = convertFromProtoFormat(p.getApplicationId()); return this.applicationId; }
public synchronized int getAttemptId() { ApplicationAttemptIdProtoOrBuilder p = viaProto ? proto : builder; return (p.getAttemptId()); }