public YarnClusterMetricsPBImpl(YarnProtos.YarnClusterMetricsProto proto) { this.proto = proto; viaProto = true; }
public virtual YarnProtos.YarnClusterMetricsProto GetProto() { proto = viaProto ? proto : ((YarnProtos.YarnClusterMetricsProto)builder.Build()); viaProto = true; return(proto); }
private YarnClusterMetricsPBImpl ConvertFromProtoFormat(YarnProtos.YarnClusterMetricsProto p) { return(new YarnClusterMetricsPBImpl(p)); }