@Override public TaskQueueQueryTasksResponse call(TaskQueueQueryTasksRequest request) { TaskQueueQueryTasksResponse response = new TaskQueueQueryTasksResponse(); response.mergeFrom( ApiProxy.makeSyncCall( taskqueue.packageName, taskqueue.methodName.QueryTasks, request.toByteArray())); return response; }
@Override public Future<TaskQueueQueryTasksResponse> callAsync( TaskQueueQueryTasksRequest request, ApiConfig apiConfig) { TaskQueueQueryTasksResponse response = new TaskQueueQueryTasksResponse(); return new ProtocolMessageFuture<TaskQueueQueryTasksResponse>( ApiProxy.makeAsyncCall( taskqueue.packageName, taskqueue.methodName.QueryTasks, request.toByteArray(), apiConfig), response); }