public ApplicationResourceUsageReportPBImpl() { builder = ApplicationResourceUsageReportProto.newBuilder(); }
public ApplicationResourceUsageReportPBImpl( ApplicationResourceUsageReportProto proto) { this.proto = proto; viaProto = true; }
public synchronized ApplicationResourceUsageReportProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private synchronized void maybeInitBuilder() { if (viaProto || builder == null) { builder = ApplicationResourceUsageReportProto.newBuilder(proto); } viaProto = false; }
public static ApplicationResourceUsageReportProto convertToProtoFormat(ApplicationResourceUsageReport e) { return ((ApplicationResourceUsageReportPBImpl)e).getProto(); }
public static ApplicationResourceUsageReport convertFromProtoFormat(ApplicationResourceUsageReportProto e) { return new ApplicationResourceUsageReportPBImpl(e); }
private ApplicationResourceUsageReport convertFromProtoFormat(ApplicationResourceUsageReportProto s) { return ProtoUtils.convertFromProtoFormat(s); }
private ApplicationResourceUsageReportProto convertToProtoFormat(ApplicationResourceUsageReport s) { return ProtoUtils.convertToProtoFormat(s); }
@Test public void testApplicationResourceUsageReportPBImpl() throws Exception { validatePBImplRecord(ApplicationResourceUsageReportPBImpl.class, ApplicationResourceUsageReportProto.class); }