@Override public ApplicationId getApplicationId() { if (this.applicationId != null) { return this.applicationId; } ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasApplicationId()) { return null; } this.applicationId = convertFromProtoFormat(p.getApplicationId()); return this.applicationId; }
@Override public ApplicationAttemptId getCurrentApplicationAttemptId() { if (this.currentApplicationAttemptId != null) { return this.currentApplicationAttemptId; } ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasCurrentApplicationAttemptId()) { return null; } this.currentApplicationAttemptId = convertFromProtoFormat(p.getCurrentApplicationAttemptId()); return this.currentApplicationAttemptId; }
@Override public ApplicationResourceUsageReport getApplicationResourceUsageReport() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasAppResourceUsage()) { return null; } return convertFromProtoFormat(p.getAppResourceUsage()); }
@Override public String getTrackingUrl() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasTrackingUrl()) { return null; } return p.getTrackingUrl(); }
@Override public String getOriginalTrackingUrl() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasOriginalTrackingUrl()) { return null; } return p.getOriginalTrackingUrl(); }
@Override public String getName() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasName()) { return null; } return p.getName(); }
@Override public String getQueue() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasQueue()) { return null; } return p.getQueue(); }
@Override public YarnApplicationState getYarnApplicationState() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasYarnApplicationState()) { return null; } return convertFromProtoFormat(p.getYarnApplicationState()); }
@Override public String getHost() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasHost()) { return null; } return (p.getHost()); }
@Override public Token getClientToAMToken() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (this.clientToAMToken != null) { return this.clientToAMToken; } if (!p.hasClientToAmToken()) { return null; } this.clientToAMToken = convertFromProtoFormat(p.getClientToAmToken()); return this.clientToAMToken; }
@Override public String getUser() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasUser()) { return null; } return p.getUser(); }
@Override public String getDiagnostics() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasDiagnostics()) { return null; } return p.getDiagnostics(); }
@Override public FinalApplicationStatus getFinalApplicationStatus() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasFinalApplicationStatus()) { return null; } return convertFromProtoFormat(p.getFinalApplicationStatus()); }
@Override public String getApplicationType() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasApplicationType()) { return null; } return p.getApplicationType(); }
@Override public Token getAMRMToken() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (amRmToken != null) { return amRmToken; } if (!p.hasAmRmToken()) { return null; } amRmToken = convertFromProtoFormat(p.getAmRmToken()); return amRmToken; }
private void initApplicationTags() { if (this.applicationTags != null) { return; } ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; this.applicationTags = new HashSet<String>(); this.applicationTags.addAll(p.getApplicationTagsList()); }
@Override public LogAggregationStatus getLogAggregationStatus() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasLogAggregationStatus()) { return null; } return convertFromProtoFormat(p.getLogAggregationStatus()); }
@Override public Priority getPriority() { ApplicationReportProtoOrBuilder 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 getAppNodeLabelExpression() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasAppNodeLabelExpression()) { return null; } return p.getAppNodeLabelExpression(); }
@Override public String getAmNodeLabelExpression() { ApplicationReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasAmNodeLabelExpression()) { return null; } return p.getAmNodeLabelExpression(); }