use of com.google.api.codegen.configgen.viewmodel.PageStreamingResponseView in project toolkit by googleapis.
the class MethodTransformer method generatePageStreaming.
private void generatePageStreaming(MethodModel method, MethodView.Builder methodView) {
PageStreamingRequestView request = generatePageStreamingRequest(method);
if (request == null) {
return;
}
PageStreamingResponseView response = helperTransformer.generatePageStreamingResponse(method);
if (response == null) {
return;
}
methodView.pageStreaming(PageStreamingView.newBuilder().request(request).response(response).build());
}
Aggregations