@Override public GetTaskReportsResponseProto getTaskReports(RpcController controller, GetTaskReportsRequestProto proto) throws ServiceException { GetTaskReportsRequest request = new GetTaskReportsRequestPBImpl(proto); try { GetTaskReportsResponse response = real.getTaskReports(request); return ((GetTaskReportsResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
public GetTaskReportsResponsePBImpl() { builder = GetTaskReportsResponseProto.newBuilder(); }
public GetTaskReportsResponsePBImpl(GetTaskReportsResponseProto proto) { this.proto = proto; viaProto = true; }
public GetTaskReportsResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetTaskReportsResponseProto.newBuilder(proto); } viaProto = false; }