docs: function makeTaskqueueAddProto(taskOptions) {
    var taskqueueAddRequest = new apphosting.TaskQueueAddRequest();
    taskqueueAddRequest.setUrl(taskOptions.url);
    taskqueueAddRequest.setQueueName(goog.isDefAndNotNull(taskOptions.queueName) ?
      taskOptions.queueName : 'default');
    taskqueueAddRequest.setTaskName(goog.isDefAndNotNull(taskOptions.taskName) ?
      taskOptions.taskName : '');
    taskqueueAddRequest.setEtaUsec(goog.isDefAndNotNull(taskOptions.etaUsec) ?
      taskOptions.etaUsec : '0');
    var method = 'post';
    if (goog.isDefAndNotNull(taskOptions.method)) {
      method = taskOptions.method;
    }
    taskqueueAddRequest.setMethod(methodToProtoMethod[method]);
    if (goog.isDefAndNotNull(taskOptions.body)) {
      taskqueueAddRequest.setBody(taskOptions.body);
    }
    if (goog.isDefAndNotNull(taskOptions.headers)) {
      goog.object.forEach(taskOptions.headers, function(value, key) {
        var header = new apphosting.TaskQueueAddRequest.Header();
        header.setKey(key);
        header.setValue(value);
        taskqueueAddRequest.addHeader(header);
      });
    }
    return taskqueueAddRequest;
  }