@Override public Resource getAllocatedResource() { if (this.resource != null) { return this.resource; } ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasResource()) { return null; } this.resource = convertFromProtoFormat(p.getResource()); return this.resource; }
@Override public NodeId getAssignedNode() { if (this.nodeId != null) { return this.nodeId; } ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasNodeId()) { return null; } this.nodeId = convertFromProtoFormat(p.getNodeId()); return this.nodeId; }
@Override public ContainerId getContainerId() { if (this.containerId != null) { return this.containerId; } ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasContainerId()) { return null; } this.containerId = convertFromProtoFormat(p.getContainerId()); return this.containerId; }
@Override public String getDiagnosticsInfo() { ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasDiagnosticsInfo()) { return null; } return (p.getDiagnosticsInfo()); }
@Override public ContainerState getContainerState() { ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasContainerState()) { return null; } return convertFromProtoFormat(p.getContainerState()); }
@Override public String getLogUrl() { ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasLogUrl()) { return null; } return (p.getLogUrl()); }
@Override public Priority getPriority() { if (this.priority != null) { return this.priority; } ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasPriority()) { return null; } this.priority = convertFromProtoFormat(p.getPriority()); return this.priority; }
@Override public String getNodeHttpAddress() { ContainerReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasNodeHttpAddress()) { return null; } return (p.getNodeHttpAddress()); }