93949596979899100
builder.setLastHealthReportTime(lastHealthReportTime); } @Override public String getHttpAddress() { NodeReportProtoOrBuilder p = viaProto ? proto : builder; return (p.hasHttpAddress()) ? p.getHttpAddress() : null; }
99100101102103104105106
return (p.hasHttpAddress()) ? p.getHttpAddress() : null; } @Override public int getNumContainers() { NodeReportProtoOrBuilder p = viaProto ? proto : builder; return (p.hasNumContainers()) ? p.getNumContainers() : 0; }
105106107108109110111112
return (p.hasNumContainers()) ? p.getNumContainers() : 0; } @Override public String getRackName() { NodeReportProtoOrBuilder p = viaProto ? proto : builder; return (p.hasRackName()) ? p.getRackName() : null; }
115116117118119120121122123124125126
public Resource getUsed() { if (this.used != null) { return this.used; } NodeReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.hasUsed()) { return null; } this.used = convertFromProtoFormat(p.getUsed()); return this.used; }