public GetClusterMetricsResponsePBImpl() { builder = GetClusterMetricsResponseProto.newBuilder(); }
public GetClusterMetricsResponsePBImpl(GetClusterMetricsResponseProto proto) { this.proto = proto; viaProto = true; }
public GetClusterMetricsResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetClusterMetricsResponseProto.newBuilder(proto); } viaProto = false; }
@Test public void testGetClusterMetricsResponsePBImpl() throws Exception { validatePBImplRecord(GetClusterMetricsResponsePBImpl.class, GetClusterMetricsResponseProto.class); }