@Override public synchronized ApplicationId getAppId() { JobIdProtoOrBuilder p = viaProto ? proto : builder; if (applicationId != null) { return applicationId; } // Else via proto if (!p.hasAppId()) { return null; } applicationId = convertFromProtoFormat(p.getAppId()); return applicationId; }
@Override public synchronized int getId() { JobIdProtoOrBuilder p = viaProto ? proto : builder; return (p.getId()); }