@Override public GetDiagnosticsResponseProto getDiagnostics(RpcController controller, GetDiagnosticsRequestProto proto) throws ServiceException { GetDiagnosticsRequest request = new GetDiagnosticsRequestPBImpl(proto); try { GetDiagnosticsResponse response = real.getDiagnostics(request); return ((GetDiagnosticsResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
public GetDiagnosticsResponsePBImpl() { builder = GetDiagnosticsResponseProto.newBuilder(); }
public GetDiagnosticsResponsePBImpl(GetDiagnosticsResponseProto proto) { this.proto = proto; viaProto = true; }
public GetDiagnosticsResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetDiagnosticsResponseProto.newBuilder(proto); } viaProto = false; }