Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for Dataflow (v1b3).
  20   *
  21   * <p>
  22   * Google Dataflow API.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://cloud.google.com/dataflow" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  class Google_Service_Dataflow extends Google_Service
  32  {
  33    /** View and manage your data across Google Cloud Platform services. */
  34    const CLOUD_PLATFORM =
  35        "https://www.googleapis.com/auth/cloud-platform";
  36    /** View your email address. */
  37    const USERINFO_EMAIL =
  38        "https://www.googleapis.com/auth/userinfo.email";
  39  
  40    public $projects_jobs;
  41    public $projects_jobs_messages;
  42    public $projects_jobs_workItems;
  43    
  44  
  45    /**
  46     * Constructs the internal representation of the Dataflow service.
  47     *
  48     * @param Google_Client $client
  49     */
  50    public function __construct(Google_Client $client)
  51    {
  52      parent::__construct($client);
  53      $this->rootUrl = 'https://dataflow.googleapis.com/';
  54      $this->servicePath = '';
  55      $this->version = 'v1b3';
  56      $this->serviceName = 'dataflow';
  57  
  58      $this->projects_jobs = new Google_Service_Dataflow_ProjectsJobs_Resource(
  59          $this,
  60          $this->serviceName,
  61          'jobs',
  62          array(
  63            'methods' => array(
  64              'create' => array(
  65                'path' => 'v1b3/projects/{projectId}/jobs',
  66                'httpMethod' => 'POST',
  67                'parameters' => array(
  68                  'projectId' => array(
  69                    'location' => 'path',
  70                    'type' => 'string',
  71                    'required' => true,
  72                  ),
  73                  'replaceJobId' => array(
  74                    'location' => 'query',
  75                    'type' => 'string',
  76                  ),
  77                  'view' => array(
  78                    'location' => 'query',
  79                    'type' => 'string',
  80                  ),
  81                ),
  82              ),'get' => array(
  83                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}',
  84                'httpMethod' => 'GET',
  85                'parameters' => array(
  86                  'projectId' => array(
  87                    'location' => 'path',
  88                    'type' => 'string',
  89                    'required' => true,
  90                  ),
  91                  'jobId' => array(
  92                    'location' => 'path',
  93                    'type' => 'string',
  94                    'required' => true,
  95                  ),
  96                  'view' => array(
  97                    'location' => 'query',
  98                    'type' => 'string',
  99                  ),
 100                ),
 101              ),'getMetrics' => array(
 102                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/metrics',
 103                'httpMethod' => 'GET',
 104                'parameters' => array(
 105                  'projectId' => array(
 106                    'location' => 'path',
 107                    'type' => 'string',
 108                    'required' => true,
 109                  ),
 110                  'jobId' => array(
 111                    'location' => 'path',
 112                    'type' => 'string',
 113                    'required' => true,
 114                  ),
 115                  'startTime' => array(
 116                    'location' => 'query',
 117                    'type' => 'string',
 118                  ),
 119                ),
 120              ),'list' => array(
 121                'path' => 'v1b3/projects/{projectId}/jobs',
 122                'httpMethod' => 'GET',
 123                'parameters' => array(
 124                  'projectId' => array(
 125                    'location' => 'path',
 126                    'type' => 'string',
 127                    'required' => true,
 128                  ),
 129                  'pageToken' => array(
 130                    'location' => 'query',
 131                    'type' => 'string',
 132                  ),
 133                  'pageSize' => array(
 134                    'location' => 'query',
 135                    'type' => 'integer',
 136                  ),
 137                  'view' => array(
 138                    'location' => 'query',
 139                    'type' => 'string',
 140                  ),
 141                ),
 142              ),'update' => array(
 143                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}',
 144                'httpMethod' => 'PUT',
 145                'parameters' => array(
 146                  'projectId' => array(
 147                    'location' => 'path',
 148                    'type' => 'string',
 149                    'required' => true,
 150                  ),
 151                  'jobId' => array(
 152                    'location' => 'path',
 153                    'type' => 'string',
 154                    'required' => true,
 155                  ),
 156                ),
 157              ),
 158            )
 159          )
 160      );
 161      $this->projects_jobs_messages = new Google_Service_Dataflow_ProjectsJobsMessages_Resource(
 162          $this,
 163          $this->serviceName,
 164          'messages',
 165          array(
 166            'methods' => array(
 167              'list' => array(
 168                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/messages',
 169                'httpMethod' => 'GET',
 170                'parameters' => array(
 171                  'projectId' => array(
 172                    'location' => 'path',
 173                    'type' => 'string',
 174                    'required' => true,
 175                  ),
 176                  'jobId' => array(
 177                    'location' => 'path',
 178                    'type' => 'string',
 179                    'required' => true,
 180                  ),
 181                  'pageSize' => array(
 182                    'location' => 'query',
 183                    'type' => 'integer',
 184                  ),
 185                  'pageToken' => array(
 186                    'location' => 'query',
 187                    'type' => 'string',
 188                  ),
 189                  'startTime' => array(
 190                    'location' => 'query',
 191                    'type' => 'string',
 192                  ),
 193                  'endTime' => array(
 194                    'location' => 'query',
 195                    'type' => 'string',
 196                  ),
 197                  'minimumImportance' => array(
 198                    'location' => 'query',
 199                    'type' => 'string',
 200                  ),
 201                ),
 202              ),
 203            )
 204          )
 205      );
 206      $this->projects_jobs_workItems = new Google_Service_Dataflow_ProjectsJobsWorkItems_Resource(
 207          $this,
 208          $this->serviceName,
 209          'workItems',
 210          array(
 211            'methods' => array(
 212              'lease' => array(
 213                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease',
 214                'httpMethod' => 'POST',
 215                'parameters' => array(
 216                  'projectId' => array(
 217                    'location' => 'path',
 218                    'type' => 'string',
 219                    'required' => true,
 220                  ),
 221                  'jobId' => array(
 222                    'location' => 'path',
 223                    'type' => 'string',
 224                    'required' => true,
 225                  ),
 226                ),
 227              ),'reportStatus' => array(
 228                'path' => 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus',
 229                'httpMethod' => 'POST',
 230                'parameters' => array(
 231                  'projectId' => array(
 232                    'location' => 'path',
 233                    'type' => 'string',
 234                    'required' => true,
 235                  ),
 236                  'jobId' => array(
 237                    'location' => 'path',
 238                    'type' => 'string',
 239                    'required' => true,
 240                  ),
 241                ),
 242              ),
 243            )
 244          )
 245      );
 246    }
 247  }
 248  
 249  
 250  /**
 251   * The "projects" collection of methods.
 252   * Typical usage is:
 253   *  <code>
 254   *   $dataflowService = new Google_Service_Dataflow(...);
 255   *   $projects = $dataflowService->projects;
 256   *  </code>
 257   */
 258  class Google_Service_Dataflow_Projects_Resource extends Google_Service_Resource
 259  {
 260  }
 261  
 262  /**
 263   * The "jobs" collection of methods.
 264   * Typical usage is:
 265   *  <code>
 266   *   $dataflowService = new Google_Service_Dataflow(...);
 267   *   $jobs = $dataflowService->jobs;
 268   *  </code>
 269   */
 270  class Google_Service_Dataflow_ProjectsJobs_Resource extends Google_Service_Resource
 271  {
 272  
 273    /**
 274     * Creates a dataflow job. (jobs.create)
 275     *
 276     * @param string $projectId The project which owns the job.
 277     * @param Google_Job $postBody
 278     * @param array $optParams Optional parameters.
 279     *
 280     * @opt_param string replaceJobId DEPRECATED. This field is now on the Job
 281     * message.
 282     * @opt_param string view Level of information requested in response.
 283     * @return Google_Service_Dataflow_Job
 284     */
 285    public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array())
 286    {
 287      $params = array('projectId' => $projectId, 'postBody' => $postBody);
 288      $params = array_merge($params, $optParams);
 289      return $this->call('create', array($params), "Google_Service_Dataflow_Job");
 290    }
 291  
 292    /**
 293     * Gets the state of the specified dataflow job. (jobs.get)
 294     *
 295     * @param string $projectId The project which owns the job.
 296     * @param string $jobId Identifies a single job.
 297     * @param array $optParams Optional parameters.
 298     *
 299     * @opt_param string view Level of information requested in response.
 300     * @return Google_Service_Dataflow_Job
 301     */
 302    public function get($projectId, $jobId, $optParams = array())
 303    {
 304      $params = array('projectId' => $projectId, 'jobId' => $jobId);
 305      $params = array_merge($params, $optParams);
 306      return $this->call('get', array($params), "Google_Service_Dataflow_Job");
 307    }
 308  
 309    /**
 310     * Request the job status. (jobs.getMetrics)
 311     *
 312     * @param string $projectId A project id.
 313     * @param string $jobId The job to get messages for.
 314     * @param array $optParams Optional parameters.
 315     *
 316     * @opt_param string startTime Return only metric data that has changed since
 317     * this time. Default is to return all information about all metrics for the
 318     * job.
 319     * @return Google_Service_Dataflow_JobMetrics
 320     */
 321    public function getMetrics($projectId, $jobId, $optParams = array())
 322    {
 323      $params = array('projectId' => $projectId, 'jobId' => $jobId);
 324      $params = array_merge($params, $optParams);
 325      return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
 326    }
 327  
 328    /**
 329     * List the jobs of a project (jobs.listProjectsJobs)
 330     *
 331     * @param string $projectId The project which owns the jobs.
 332     * @param array $optParams Optional parameters.
 333     *
 334     * @opt_param string pageToken Set this to the 'next_page_token' field of a
 335     * previous response to request additional results in a long list.
 336     * @opt_param int pageSize If there are many jobs, limit response to at most
 337     * this many. The actual number of jobs returned will be the lesser of
 338     * max_responses and an unspecified server-defined limit.
 339     * @opt_param string view Level of information requested in response. Default is
 340     * SUMMARY.
 341     * @return Google_Service_Dataflow_ListJobsResponse
 342     */
 343    public function listProjectsJobs($projectId, $optParams = array())
 344    {
 345      $params = array('projectId' => $projectId);
 346      $params = array_merge($params, $optParams);
 347      return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
 348    }
 349  
 350    /**
 351     * Updates the state of an existing dataflow job. (jobs.update)
 352     *
 353     * @param string $projectId The project which owns the job.
 354     * @param string $jobId Identifies a single job.
 355     * @param Google_Job $postBody
 356     * @param array $optParams Optional parameters.
 357     * @return Google_Service_Dataflow_Job
 358     */
 359    public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
 360    {
 361      $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
 362      $params = array_merge($params, $optParams);
 363      return $this->call('update', array($params), "Google_Service_Dataflow_Job");
 364    }
 365  }
 366  
 367  /**
 368   * The "messages" collection of methods.
 369   * Typical usage is:
 370   *  <code>
 371   *   $dataflowService = new Google_Service_Dataflow(...);
 372   *   $messages = $dataflowService->messages;
 373   *  </code>
 374   */
 375  class Google_Service_Dataflow_ProjectsJobsMessages_Resource extends Google_Service_Resource
 376  {
 377  
 378    /**
 379     * Request the job status. (messages.listProjectsJobsMessages)
 380     *
 381     * @param string $projectId A project id.
 382     * @param string $jobId The job to get messages about.
 383     * @param array $optParams Optional parameters.
 384     *
 385     * @opt_param int pageSize If specified, determines the maximum number of
 386     * messages to return. If unspecified, the service may choose an appropriate
 387     * default, or may return an arbitrarily large number of results.
 388     * @opt_param string pageToken If supplied, this should be the value of
 389     * next_page_token returned by an earlier call. This will cause the next page of
 390     * results to be returned.
 391     * @opt_param string startTime If specified, return only messages with
 392     * timestamps >= start_time. The default is the job creation time (i.e.
 393     * beginning of messages).
 394     * @opt_param string endTime Return only messages with timestamps < end_time.
 395     * The default is now (i.e. return up to the latest messages available).
 396     * @opt_param string minimumImportance Filter to only get messages with
 397     * importance >= level
 398     * @return Google_Service_Dataflow_ListJobMessagesResponse
 399     */
 400    public function listProjectsJobsMessages($projectId, $jobId, $optParams = array())
 401    {
 402      $params = array('projectId' => $projectId, 'jobId' => $jobId);
 403      $params = array_merge($params, $optParams);
 404      return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
 405    }
 406  }
 407  /**
 408   * The "workItems" collection of methods.
 409   * Typical usage is:
 410   *  <code>
 411   *   $dataflowService = new Google_Service_Dataflow(...);
 412   *   $workItems = $dataflowService->workItems;
 413   *  </code>
 414   */
 415  class Google_Service_Dataflow_ProjectsJobsWorkItems_Resource extends Google_Service_Resource
 416  {
 417  
 418    /**
 419     * Leases a dataflow WorkItem to run. (workItems.lease)
 420     *
 421     * @param string $projectId Identifies the project this worker belongs to.
 422     * @param string $jobId Identifies the workflow job this worker belongs to.
 423     * @param Google_LeaseWorkItemRequest $postBody
 424     * @param array $optParams Optional parameters.
 425     * @return Google_Service_Dataflow_LeaseWorkItemResponse
 426     */
 427    public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
 428    {
 429      $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
 430      $params = array_merge($params, $optParams);
 431      return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
 432    }
 433  
 434    /**
 435     * Reports the status of dataflow WorkItems leased by a worker.
 436     * (workItems.reportStatus)
 437     *
 438     * @param string $projectId The project which owns the WorkItem's job.
 439     * @param string $jobId The job which the WorkItem is part of.
 440     * @param Google_ReportWorkItemStatusRequest $postBody
 441     * @param array $optParams Optional parameters.
 442     * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
 443     */
 444    public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
 445    {
 446      $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
 447      $params = array_merge($params, $optParams);
 448      return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
 449    }
 450  }
 451  
 452  
 453  
 454  
 455  class Google_Service_Dataflow_ApproximateProgress extends Google_Model
 456  {
 457    protected $internal_gapi_mappings = array(
 458    );
 459    public $percentComplete;
 460    protected $positionType = 'Google_Service_Dataflow_Position';
 461    protected $positionDataType = '';
 462    public $remainingTime;
 463  
 464  
 465    public function setPercentComplete($percentComplete)
 466    {
 467      $this->percentComplete = $percentComplete;
 468    }
 469    public function getPercentComplete()
 470    {
 471      return $this->percentComplete;
 472    }
 473    public function setPosition(Google_Service_Dataflow_Position $position)
 474    {
 475      $this->position = $position;
 476    }
 477    public function getPosition()
 478    {
 479      return $this->position;
 480    }
 481    public function setRemainingTime($remainingTime)
 482    {
 483      $this->remainingTime = $remainingTime;
 484    }
 485    public function getRemainingTime()
 486    {
 487      return $this->remainingTime;
 488    }
 489  }
 490  
 491  class Google_Service_Dataflow_AutoscalingSettings extends Google_Model
 492  {
 493    protected $internal_gapi_mappings = array(
 494    );
 495    public $algorithm;
 496    public $maxNumWorkers;
 497  
 498  
 499    public function setAlgorithm($algorithm)
 500    {
 501      $this->algorithm = $algorithm;
 502    }
 503    public function getAlgorithm()
 504    {
 505      return $this->algorithm;
 506    }
 507    public function setMaxNumWorkers($maxNumWorkers)
 508    {
 509      $this->maxNumWorkers = $maxNumWorkers;
 510    }
 511    public function getMaxNumWorkers()
 512    {
 513      return $this->maxNumWorkers;
 514    }
 515  }
 516  
 517  class Google_Service_Dataflow_ComputationTopology extends Google_Collection
 518  {
 519    protected $collection_key = 'stateFamilies';
 520    protected $internal_gapi_mappings = array(
 521    );
 522    public $computationId;
 523    protected $inputsType = 'Google_Service_Dataflow_StreamLocation';
 524    protected $inputsDataType = 'array';
 525    protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation';
 526    protected $keyRangesDataType = 'array';
 527    protected $outputsType = 'Google_Service_Dataflow_StreamLocation';
 528    protected $outputsDataType = 'array';
 529    protected $stateFamiliesType = 'Google_Service_Dataflow_StateFamilyConfig';
 530    protected $stateFamiliesDataType = 'array';
 531    public $systemStageName;
 532    public $userStageName;
 533  
 534  
 535    public function setComputationId($computationId)
 536    {
 537      $this->computationId = $computationId;
 538    }
 539    public function getComputationId()
 540    {
 541      return $this->computationId;
 542    }
 543    public function setInputs($inputs)
 544    {
 545      $this->inputs = $inputs;
 546    }
 547    public function getInputs()
 548    {
 549      return $this->inputs;
 550    }
 551    public function setKeyRanges($keyRanges)
 552    {
 553      $this->keyRanges = $keyRanges;
 554    }
 555    public function getKeyRanges()
 556    {
 557      return $this->keyRanges;
 558    }
 559    public function setOutputs($outputs)
 560    {
 561      $this->outputs = $outputs;
 562    }
 563    public function getOutputs()
 564    {
 565      return $this->outputs;
 566    }
 567    public function setStateFamilies($stateFamilies)
 568    {
 569      $this->stateFamilies = $stateFamilies;
 570    }
 571    public function getStateFamilies()
 572    {
 573      return $this->stateFamilies;
 574    }
 575    public function setSystemStageName($systemStageName)
 576    {
 577      $this->systemStageName = $systemStageName;
 578    }
 579    public function getSystemStageName()
 580    {
 581      return $this->systemStageName;
 582    }
 583    public function setUserStageName($userStageName)
 584    {
 585      $this->userStageName = $userStageName;
 586    }
 587    public function getUserStageName()
 588    {
 589      return $this->userStageName;
 590    }
 591  }
 592  
 593  class Google_Service_Dataflow_ConcatPosition extends Google_Model
 594  {
 595    protected $internal_gapi_mappings = array(
 596    );
 597    public $index;
 598    protected $positionType = 'Google_Service_Dataflow_Position';
 599    protected $positionDataType = '';
 600  
 601  
 602    public function setIndex($index)
 603    {
 604      $this->index = $index;
 605    }
 606    public function getIndex()
 607    {
 608      return $this->index;
 609    }
 610    public function setPosition(Google_Service_Dataflow_Position $position)
 611    {
 612      $this->position = $position;
 613    }
 614    public function getPosition()
 615    {
 616      return $this->position;
 617    }
 618  }
 619  
 620  class Google_Service_Dataflow_CustomSourceLocation extends Google_Model
 621  {
 622    protected $internal_gapi_mappings = array(
 623    );
 624    public $stateful;
 625  
 626  
 627    public function setStateful($stateful)
 628    {
 629      $this->stateful = $stateful;
 630    }
 631    public function getStateful()
 632    {
 633      return $this->stateful;
 634    }
 635  }
 636  
 637  class Google_Service_Dataflow_DataDiskAssignment extends Google_Collection
 638  {
 639    protected $collection_key = 'dataDisks';
 640    protected $internal_gapi_mappings = array(
 641    );
 642    public $dataDisks;
 643    public $vmInstance;
 644  
 645  
 646    public function setDataDisks($dataDisks)
 647    {
 648      $this->dataDisks = $dataDisks;
 649    }
 650    public function getDataDisks()
 651    {
 652      return $this->dataDisks;
 653    }
 654    public function setVmInstance($vmInstance)
 655    {
 656      $this->vmInstance = $vmInstance;
 657    }
 658    public function getVmInstance()
 659    {
 660      return $this->vmInstance;
 661    }
 662  }
 663  
 664  class Google_Service_Dataflow_DerivedSource extends Google_Model
 665  {
 666    protected $internal_gapi_mappings = array(
 667    );
 668    public $derivationMode;
 669    protected $sourceType = 'Google_Service_Dataflow_Source';
 670    protected $sourceDataType = '';
 671  
 672  
 673    public function setDerivationMode($derivationMode)
 674    {
 675      $this->derivationMode = $derivationMode;
 676    }
 677    public function getDerivationMode()
 678    {
 679      return $this->derivationMode;
 680    }
 681    public function setSource(Google_Service_Dataflow_Source $source)
 682    {
 683      $this->source = $source;
 684    }
 685    public function getSource()
 686    {
 687      return $this->source;
 688    }
 689  }
 690  
 691  class Google_Service_Dataflow_Disk extends Google_Model
 692  {
 693    protected $internal_gapi_mappings = array(
 694    );
 695    public $diskType;
 696    public $mountPoint;
 697    public $sizeGb;
 698  
 699  
 700    public function setDiskType($diskType)
 701    {
 702      $this->diskType = $diskType;
 703    }
 704    public function getDiskType()
 705    {
 706      return $this->diskType;
 707    }
 708    public function setMountPoint($mountPoint)
 709    {
 710      $this->mountPoint = $mountPoint;
 711    }
 712    public function getMountPoint()
 713    {
 714      return $this->mountPoint;
 715    }
 716    public function setSizeGb($sizeGb)
 717    {
 718      $this->sizeGb = $sizeGb;
 719    }
 720    public function getSizeGb()
 721    {
 722      return $this->sizeGb;
 723    }
 724  }
 725  
 726  class Google_Service_Dataflow_DynamicSourceSplit extends Google_Model
 727  {
 728    protected $internal_gapi_mappings = array(
 729    );
 730    protected $primaryType = 'Google_Service_Dataflow_DerivedSource';
 731    protected $primaryDataType = '';
 732    protected $residualType = 'Google_Service_Dataflow_DerivedSource';
 733    protected $residualDataType = '';
 734  
 735  
 736    public function setPrimary(Google_Service_Dataflow_DerivedSource $primary)
 737    {
 738      $this->primary = $primary;
 739    }
 740    public function getPrimary()
 741    {
 742      return $this->primary;
 743    }
 744    public function setResidual(Google_Service_Dataflow_DerivedSource $residual)
 745    {
 746      $this->residual = $residual;
 747    }
 748    public function getResidual()
 749    {
 750      return $this->residual;
 751    }
 752  }
 753  
 754  class Google_Service_Dataflow_Environment extends Google_Collection
 755  {
 756    protected $collection_key = 'workerPools';
 757    protected $internal_gapi_mappings = array(
 758    );
 759    public $clusterManagerApiService;
 760    public $dataset;
 761    public $experiments;
 762    public $internalExperiments;
 763    public $sdkPipelineOptions;
 764    public $tempStoragePrefix;
 765    public $userAgent;
 766    public $version;
 767    protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool';
 768    protected $workerPoolsDataType = 'array';
 769  
 770  
 771    public function setClusterManagerApiService($clusterManagerApiService)
 772    {
 773      $this->clusterManagerApiService = $clusterManagerApiService;
 774    }
 775    public function getClusterManagerApiService()
 776    {
 777      return $this->clusterManagerApiService;
 778    }
 779    public function setDataset($dataset)
 780    {
 781      $this->dataset = $dataset;
 782    }
 783    public function getDataset()
 784    {
 785      return $this->dataset;
 786    }
 787    public function setExperiments($experiments)
 788    {
 789      $this->experiments = $experiments;
 790    }
 791    public function getExperiments()
 792    {
 793      return $this->experiments;
 794    }
 795    public function setInternalExperiments($internalExperiments)
 796    {
 797      $this->internalExperiments = $internalExperiments;
 798    }
 799    public function getInternalExperiments()
 800    {
 801      return $this->internalExperiments;
 802    }
 803    public function setSdkPipelineOptions($sdkPipelineOptions)
 804    {
 805      $this->sdkPipelineOptions = $sdkPipelineOptions;
 806    }
 807    public function getSdkPipelineOptions()
 808    {
 809      return $this->sdkPipelineOptions;
 810    }
 811    public function setTempStoragePrefix($tempStoragePrefix)
 812    {
 813      $this->tempStoragePrefix = $tempStoragePrefix;
 814    }
 815    public function getTempStoragePrefix()
 816    {
 817      return $this->tempStoragePrefix;
 818    }
 819    public function setUserAgent($userAgent)
 820    {
 821      $this->userAgent = $userAgent;
 822    }
 823    public function getUserAgent()
 824    {
 825      return $this->userAgent;
 826    }
 827    public function setVersion($version)
 828    {
 829      $this->version = $version;
 830    }
 831    public function getVersion()
 832    {
 833      return $this->version;
 834    }
 835    public function setWorkerPools($workerPools)
 836    {
 837      $this->workerPools = $workerPools;
 838    }
 839    public function getWorkerPools()
 840    {
 841      return $this->workerPools;
 842    }
 843  }
 844  
 845  class Google_Service_Dataflow_EnvironmentInternalExperiments extends Google_Model
 846  {
 847  }
 848  
 849  class Google_Service_Dataflow_EnvironmentSdkPipelineOptions extends Google_Model
 850  {
 851  }
 852  
 853  class Google_Service_Dataflow_EnvironmentUserAgent extends Google_Model
 854  {
 855  }
 856  
 857  class Google_Service_Dataflow_EnvironmentVersion extends Google_Model
 858  {
 859  }
 860  
 861  class Google_Service_Dataflow_FlattenInstruction extends Google_Collection
 862  {
 863    protected $collection_key = 'inputs';
 864    protected $internal_gapi_mappings = array(
 865    );
 866    protected $inputsType = 'Google_Service_Dataflow_InstructionInput';
 867    protected $inputsDataType = 'array';
 868  
 869  
 870    public function setInputs($inputs)
 871    {
 872      $this->inputs = $inputs;
 873    }
 874    public function getInputs()
 875    {
 876      return $this->inputs;
 877    }
 878  }
 879  
 880  class Google_Service_Dataflow_InstructionInput extends Google_Model
 881  {
 882    protected $internal_gapi_mappings = array(
 883    );
 884    public $outputNum;
 885    public $producerInstructionIndex;
 886  
 887  
 888    public function setOutputNum($outputNum)
 889    {
 890      $this->outputNum = $outputNum;
 891    }
 892    public function getOutputNum()
 893    {
 894      return $this->outputNum;
 895    }
 896    public function setProducerInstructionIndex($producerInstructionIndex)
 897    {
 898      $this->producerInstructionIndex = $producerInstructionIndex;
 899    }
 900    public function getProducerInstructionIndex()
 901    {
 902      return $this->producerInstructionIndex;
 903    }
 904  }
 905  
 906  class Google_Service_Dataflow_InstructionOutput extends Google_Model
 907  {
 908    protected $internal_gapi_mappings = array(
 909    );
 910    public $codec;
 911    public $name;
 912    public $systemName;
 913  
 914  
 915    public function setCodec($codec)
 916    {
 917      $this->codec = $codec;
 918    }
 919    public function getCodec()
 920    {
 921      return $this->codec;
 922    }
 923    public function setName($name)
 924    {
 925      $this->name = $name;
 926    }
 927    public function getName()
 928    {
 929      return $this->name;
 930    }
 931    public function setSystemName($systemName)
 932    {
 933      $this->systemName = $systemName;
 934    }
 935    public function getSystemName()
 936    {
 937      return $this->systemName;
 938    }
 939  }
 940  
 941  class Google_Service_Dataflow_InstructionOutputCodec extends Google_Model
 942  {
 943  }
 944  
 945  class Google_Service_Dataflow_Job extends Google_Collection
 946  {
 947    protected $collection_key = 'steps';
 948    protected $internal_gapi_mappings = array(
 949    );
 950    public $clientRequestId;
 951    public $createTime;
 952    public $currentState;
 953    public $currentStateTime;
 954    protected $environmentType = 'Google_Service_Dataflow_Environment';
 955    protected $environmentDataType = '';
 956    protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
 957    protected $executionInfoDataType = '';
 958    public $id;
 959    public $name;
 960    public $projectId;
 961    public $replaceJobId;
 962    public $replacedByJobId;
 963    public $requestedState;
 964    protected $stepsType = 'Google_Service_Dataflow_Step';
 965    protected $stepsDataType = 'array';
 966    public $transformNameMapping;
 967    public $type;
 968  
 969  
 970    public function setClientRequestId($clientRequestId)
 971    {
 972      $this->clientRequestId = $clientRequestId;
 973    }
 974    public function getClientRequestId()
 975    {
 976      return $this->clientRequestId;
 977    }
 978    public function setCreateTime($createTime)
 979    {
 980      $this->createTime = $createTime;
 981    }
 982    public function getCreateTime()
 983    {
 984      return $this->createTime;
 985    }
 986    public function setCurrentState($currentState)
 987    {
 988      $this->currentState = $currentState;
 989    }
 990    public function getCurrentState()
 991    {
 992      return $this->currentState;
 993    }
 994    public function setCurrentStateTime($currentStateTime)
 995    {
 996      $this->currentStateTime = $currentStateTime;
 997    }
 998    public function getCurrentStateTime()
 999    {
1000      return $this->currentStateTime;
1001    }
1002    public function setEnvironment(Google_Service_Dataflow_Environment $environment)
1003    {
1004      $this->environment = $environment;
1005    }
1006    public function getEnvironment()
1007    {
1008      return $this->environment;
1009    }
1010    public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
1011    {
1012      $this->executionInfo = $executionInfo;
1013    }
1014    public function getExecutionInfo()
1015    {
1016      return $this->executionInfo;
1017    }
1018    public function setId($id)
1019    {
1020      $this->id = $id;
1021    }
1022    public function getId()
1023    {
1024      return $this->id;
1025    }
1026    public function setName($name)
1027    {
1028      $this->name = $name;
1029    }
1030    public function getName()
1031    {
1032      return $this->name;
1033    }
1034    public function setProjectId($projectId)
1035    {
1036      $this->projectId = $projectId;
1037    }
1038    public function getProjectId()
1039    {
1040      return $this->projectId;
1041    }
1042    public function setReplaceJobId($replaceJobId)
1043    {
1044      $this->replaceJobId = $replaceJobId;
1045    }
1046    public function getReplaceJobId()
1047    {
1048      return $this->replaceJobId;
1049    }
1050    public function setReplacedByJobId($replacedByJobId)
1051    {
1052      $this->replacedByJobId = $replacedByJobId;
1053    }
1054    public function getReplacedByJobId()
1055    {
1056      return $this->replacedByJobId;
1057    }
1058    public function setRequestedState($requestedState)
1059    {
1060      $this->requestedState = $requestedState;
1061    }
1062    public function getRequestedState()
1063    {
1064      return $this->requestedState;
1065    }
1066    public function setSteps($steps)
1067    {
1068      $this->steps = $steps;
1069    }
1070    public function getSteps()
1071    {
1072      return $this->steps;
1073    }
1074    public function setTransformNameMapping($transformNameMapping)
1075    {
1076      $this->transformNameMapping = $transformNameMapping;
1077    }
1078    public function getTransformNameMapping()
1079    {
1080      return $this->transformNameMapping;
1081    }
1082    public function setType($type)
1083    {
1084      $this->type = $type;
1085    }
1086    public function getType()
1087    {
1088      return $this->type;
1089    }
1090  }
1091  
1092  class Google_Service_Dataflow_JobExecutionInfo extends Google_Model
1093  {
1094    protected $internal_gapi_mappings = array(
1095    );
1096    protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo';
1097    protected $stagesDataType = 'map';
1098  
1099  
1100    public function setStages($stages)
1101    {
1102      $this->stages = $stages;
1103    }
1104    public function getStages()
1105    {
1106      return $this->stages;
1107    }
1108  }
1109  
1110  class Google_Service_Dataflow_JobExecutionInfoStages extends Google_Model
1111  {
1112  }
1113  
1114  class Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection
1115  {
1116    protected $collection_key = 'stepName';
1117    protected $internal_gapi_mappings = array(
1118    );
1119    public $stepName;
1120  
1121  
1122    public function setStepName($stepName)
1123    {
1124      $this->stepName = $stepName;
1125    }
1126    public function getStepName()
1127    {
1128      return $this->stepName;
1129    }
1130  }
1131  
1132  class Google_Service_Dataflow_JobMessage extends Google_Model
1133  {
1134    protected $internal_gapi_mappings = array(
1135    );
1136    public $id;
1137    public $messageImportance;
1138    public $messageText;
1139    public $time;
1140  
1141  
1142    public function setId($id)
1143    {
1144      $this->id = $id;
1145    }
1146    public function getId()
1147    {
1148      return $this->id;
1149    }
1150    public function setMessageImportance($messageImportance)
1151    {
1152      $this->messageImportance = $messageImportance;
1153    }
1154    public function getMessageImportance()
1155    {
1156      return $this->messageImportance;
1157    }
1158    public function setMessageText($messageText)
1159    {
1160      $this->messageText = $messageText;
1161    }
1162    public function getMessageText()
1163    {
1164      return $this->messageText;
1165    }
1166    public function setTime($time)
1167    {
1168      $this->time = $time;
1169    }
1170    public function getTime()
1171    {
1172      return $this->time;
1173    }
1174  }
1175  
1176  class Google_Service_Dataflow_JobMetrics extends Google_Collection
1177  {
1178    protected $collection_key = 'metrics';
1179    protected $internal_gapi_mappings = array(
1180    );
1181    public $metricTime;
1182    protected $metricsType = 'Google_Service_Dataflow_MetricUpdate';
1183    protected $metricsDataType = 'array';
1184  
1185  
1186    public function setMetricTime($metricTime)
1187    {
1188      $this->metricTime = $metricTime;
1189    }
1190    public function getMetricTime()
1191    {
1192      return $this->metricTime;
1193    }
1194    public function setMetrics($metrics)
1195    {
1196      $this->metrics = $metrics;
1197    }
1198    public function getMetrics()
1199    {
1200      return $this->metrics;
1201    }
1202  }
1203  
1204  class Google_Service_Dataflow_JobTransformNameMapping extends Google_Model
1205  {
1206  }
1207  
1208  class Google_Service_Dataflow_KeyRangeDataDiskAssignment extends Google_Model
1209  {
1210    protected $internal_gapi_mappings = array(
1211    );
1212    public $dataDisk;
1213    public $end;
1214    public $start;
1215  
1216  
1217    public function setDataDisk($dataDisk)
1218    {
1219      $this->dataDisk = $dataDisk;
1220    }
1221    public function getDataDisk()
1222    {
1223      return $this->dataDisk;
1224    }
1225    public function setEnd($end)
1226    {
1227      $this->end = $end;
1228    }
1229    public function getEnd()
1230    {
1231      return $this->end;
1232    }
1233    public function setStart($start)
1234    {
1235      $this->start = $start;
1236    }
1237    public function getStart()
1238    {
1239      return $this->start;
1240    }
1241  }
1242  
1243  class Google_Service_Dataflow_KeyRangeLocation extends Google_Model
1244  {
1245    protected $internal_gapi_mappings = array(
1246    );
1247    public $dataDisk;
1248    public $deliveryEndpoint;
1249    public $end;
1250    public $persistentDirectory;
1251    public $start;
1252  
1253  
1254    public function setDataDisk($dataDisk)
1255    {
1256      $this->dataDisk = $dataDisk;
1257    }
1258    public function getDataDisk()
1259    {
1260      return $this->dataDisk;
1261    }
1262    public function setDeliveryEndpoint($deliveryEndpoint)
1263    {
1264      $this->deliveryEndpoint = $deliveryEndpoint;
1265    }
1266    public function getDeliveryEndpoint()
1267    {
1268      return $this->deliveryEndpoint;
1269    }
1270    public function setEnd($end)
1271    {
1272      $this->end = $end;
1273    }
1274    public function getEnd()
1275    {
1276      return $this->end;
1277    }
1278    public function setPersistentDirectory($persistentDirectory)
1279    {
1280      $this->persistentDirectory = $persistentDirectory;
1281    }
1282    public function getPersistentDirectory()
1283    {
1284      return $this->persistentDirectory;
1285    }
1286    public function setStart($start)
1287    {
1288      $this->start = $start;
1289    }
1290    public function getStart()
1291    {
1292      return $this->start;
1293    }
1294  }
1295  
1296  class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection
1297  {
1298    protected $collection_key = 'workerCapabilities';
1299    protected $internal_gapi_mappings = array(
1300    );
1301    public $currentWorkerTime;
1302    public $requestedLeaseDuration;
1303    public $workItemTypes;
1304    public $workerCapabilities;
1305    public $workerId;
1306  
1307  
1308    public function setCurrentWorkerTime($currentWorkerTime)
1309    {
1310      $this->currentWorkerTime = $currentWorkerTime;
1311    }
1312    public function getCurrentWorkerTime()
1313    {
1314      return $this->currentWorkerTime;
1315    }
1316    public function setRequestedLeaseDuration($requestedLeaseDuration)
1317    {
1318      $this->requestedLeaseDuration = $requestedLeaseDuration;
1319    }
1320    public function getRequestedLeaseDuration()
1321    {
1322      return $this->requestedLeaseDuration;
1323    }
1324    public function setWorkItemTypes($workItemTypes)
1325    {
1326      $this->workItemTypes = $workItemTypes;
1327    }
1328    public function getWorkItemTypes()
1329    {
1330      return $this->workItemTypes;
1331    }
1332    public function setWorkerCapabilities($workerCapabilities)
1333    {
1334      $this->workerCapabilities = $workerCapabilities;
1335    }
1336    public function getWorkerCapabilities()
1337    {
1338      return $this->workerCapabilities;
1339    }
1340    public function setWorkerId($workerId)
1341    {
1342      $this->workerId = $workerId;
1343    }
1344    public function getWorkerId()
1345    {
1346      return $this->workerId;
1347    }
1348  }
1349  
1350  class Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection
1351  {
1352    protected $collection_key = 'workItems';
1353    protected $internal_gapi_mappings = array(
1354    );
1355    protected $workItemsType = 'Google_Service_Dataflow_WorkItem';
1356    protected $workItemsDataType = 'array';
1357  
1358  
1359    public function setWorkItems($workItems)
1360    {
1361      $this->workItems = $workItems;
1362    }
1363    public function getWorkItems()
1364    {
1365      return $this->workItems;
1366    }
1367  }
1368  
1369  class Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection
1370  {
1371    protected $collection_key = 'jobMessages';
1372    protected $internal_gapi_mappings = array(
1373    );
1374    protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage';
1375    protected $jobMessagesDataType = 'array';
1376    public $nextPageToken;
1377  
1378  
1379    public function setJobMessages($jobMessages)
1380    {
1381      $this->jobMessages = $jobMessages;
1382    }
1383    public function getJobMessages()
1384    {
1385      return $this->jobMessages;
1386    }
1387    public function setNextPageToken($nextPageToken)
1388    {
1389      $this->nextPageToken = $nextPageToken;
1390    }
1391    public function getNextPageToken()
1392    {
1393      return $this->nextPageToken;
1394    }
1395  }
1396  
1397  class Google_Service_Dataflow_ListJobsResponse extends Google_Collection
1398  {
1399    protected $collection_key = 'jobs';
1400    protected $internal_gapi_mappings = array(
1401    );
1402    protected $jobsType = 'Google_Service_Dataflow_Job';
1403    protected $jobsDataType = 'array';
1404    public $nextPageToken;
1405  
1406  
1407    public function setJobs($jobs)
1408    {
1409      $this->jobs = $jobs;
1410    }
1411    public function getJobs()
1412    {
1413      return $this->jobs;
1414    }
1415    public function setNextPageToken($nextPageToken)
1416    {
1417      $this->nextPageToken = $nextPageToken;
1418    }
1419    public function getNextPageToken()
1420    {
1421      return $this->nextPageToken;
1422    }
1423  }
1424  
1425  class Google_Service_Dataflow_MapTask extends Google_Collection
1426  {
1427    protected $collection_key = 'instructions';
1428    protected $internal_gapi_mappings = array(
1429    );
1430    protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
1431    protected $instructionsDataType = 'array';
1432    public $stageName;
1433    public $systemName;
1434  
1435  
1436    public function setInstructions($instructions)
1437    {
1438      $this->instructions = $instructions;
1439    }
1440    public function getInstructions()
1441    {
1442      return $this->instructions;
1443    }
1444    public function setStageName($stageName)
1445    {
1446      $this->stageName = $stageName;
1447    }
1448    public function getStageName()
1449    {
1450      return $this->stageName;
1451    }
1452    public function setSystemName($systemName)
1453    {
1454      $this->systemName = $systemName;
1455    }
1456    public function getSystemName()
1457    {
1458      return $this->systemName;
1459    }
1460  }
1461  
1462  class Google_Service_Dataflow_MetricStructuredName extends Google_Model
1463  {
1464    protected $internal_gapi_mappings = array(
1465    );
1466    public $context;
1467    public $name;
1468    public $origin;
1469  
1470  
1471    public function setContext($context)
1472    {
1473      $this->context = $context;
1474    }
1475    public function getContext()
1476    {
1477      return $this->context;
1478    }
1479    public function setName($name)
1480    {
1481      $this->name = $name;
1482    }
1483    public function getName()
1484    {
1485      return $this->name;
1486    }
1487    public function setOrigin($origin)
1488    {
1489      $this->origin = $origin;
1490    }
1491    public function getOrigin()
1492    {
1493      return $this->origin;
1494    }
1495  }
1496  
1497  class Google_Service_Dataflow_MetricStructuredNameContext extends Google_Model
1498  {
1499  }
1500  
1501  class Google_Service_Dataflow_MetricUpdate extends Google_Model
1502  {
1503    protected $internal_gapi_mappings = array(
1504    );
1505    public $cumulative;
1506    public $internal;
1507    public $kind;
1508    public $meanCount;
1509    public $meanSum;
1510    protected $nameType = 'Google_Service_Dataflow_MetricStructuredName';
1511    protected $nameDataType = '';
1512    public $scalar;
1513    public $set;
1514    public $updateTime;
1515  
1516  
1517    public function setCumulative($cumulative)
1518    {
1519      $this->cumulative = $cumulative;
1520    }
1521    public function getCumulative()
1522    {
1523      return $this->cumulative;
1524    }
1525    public function setInternal($internal)
1526    {
1527      $this->internal = $internal;
1528    }
1529    public function getInternal()
1530    {
1531      return $this->internal;
1532    }
1533    public function setKind($kind)
1534    {
1535      $this->kind = $kind;
1536    }
1537    public function getKind()
1538    {
1539      return $this->kind;
1540    }
1541    public function setMeanCount($meanCount)
1542    {
1543      $this->meanCount = $meanCount;
1544    }
1545    public function getMeanCount()
1546    {
1547      return $this->meanCount;
1548    }
1549    public function setMeanSum($meanSum)
1550    {
1551      $this->meanSum = $meanSum;
1552    }
1553    public function getMeanSum()
1554    {
1555      return $this->meanSum;
1556    }
1557    public function setName(Google_Service_Dataflow_MetricStructuredName $name)
1558    {
1559      $this->name = $name;
1560    }
1561    public function getName()
1562    {
1563      return $this->name;
1564    }
1565    public function setScalar($scalar)
1566    {
1567      $this->scalar = $scalar;
1568    }
1569    public function getScalar()
1570    {
1571      return $this->scalar;
1572    }
1573    public function setSet($set)
1574    {
1575      $this->set = $set;
1576    }
1577    public function getSet()
1578    {
1579      return $this->set;
1580    }
1581    public function setUpdateTime($updateTime)
1582    {
1583      $this->updateTime = $updateTime;
1584    }
1585    public function getUpdateTime()
1586    {
1587      return $this->updateTime;
1588    }
1589  }
1590  
1591  class Google_Service_Dataflow_MountedDataDisk extends Google_Model
1592  {
1593    protected $internal_gapi_mappings = array(
1594    );
1595    public $dataDisk;
1596  
1597  
1598    public function setDataDisk($dataDisk)
1599    {
1600      $this->dataDisk = $dataDisk;
1601    }
1602    public function getDataDisk()
1603    {
1604      return $this->dataDisk;
1605    }
1606  }
1607  
1608  class Google_Service_Dataflow_MultiOutputInfo extends Google_Model
1609  {
1610    protected $internal_gapi_mappings = array(
1611    );
1612    public $tag;
1613  
1614  
1615    public function setTag($tag)
1616    {
1617      $this->tag = $tag;
1618    }
1619    public function getTag()
1620    {
1621      return $this->tag;
1622    }
1623  }
1624  
1625  class Google_Service_Dataflow_Package extends Google_Model
1626  {
1627    protected $internal_gapi_mappings = array(
1628    );
1629    public $location;
1630    public $name;
1631  
1632  
1633    public function setLocation($location)
1634    {
1635      $this->location = $location;
1636    }
1637    public function getLocation()
1638    {
1639      return $this->location;
1640    }
1641    public function setName($name)
1642    {
1643      $this->name = $name;
1644    }
1645    public function getName()
1646    {
1647      return $this->name;
1648    }
1649  }
1650  
1651  class Google_Service_Dataflow_ParDoInstruction extends Google_Collection
1652  {
1653    protected $collection_key = 'sideInputs';
1654    protected $internal_gapi_mappings = array(
1655    );
1656    protected $inputType = 'Google_Service_Dataflow_InstructionInput';
1657    protected $inputDataType = '';
1658    protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo';
1659    protected $multiOutputInfosDataType = 'array';
1660    public $numOutputs;
1661    protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
1662    protected $sideInputsDataType = 'array';
1663    public $userFn;
1664  
1665  
1666    public function setInput(Google_Service_Dataflow_InstructionInput $input)
1667    {
1668      $this->input = $input;
1669    }
1670    public function getInput()
1671    {
1672      return $this->input;
1673    }
1674    public function setMultiOutputInfos($multiOutputInfos)
1675    {
1676      $this->multiOutputInfos = $multiOutputInfos;
1677    }
1678    public function getMultiOutputInfos()
1679    {
1680      return $this->multiOutputInfos;
1681    }
1682    public function setNumOutputs($numOutputs)
1683    {
1684      $this->numOutputs = $numOutputs;
1685    }
1686    public function getNumOutputs()
1687    {
1688      return $this->numOutputs;
1689    }
1690    public function setSideInputs($sideInputs)
1691    {
1692      $this->sideInputs = $sideInputs;
1693    }
1694    public function getSideInputs()
1695    {
1696      return $this->sideInputs;
1697    }
1698    public function setUserFn($userFn)
1699    {
1700      $this->userFn = $userFn;
1701    }
1702    public function getUserFn()
1703    {
1704      return $this->userFn;
1705    }
1706  }
1707  
1708  class Google_Service_Dataflow_ParDoInstructionUserFn extends Google_Model
1709  {
1710  }
1711  
1712  class Google_Service_Dataflow_ParallelInstruction extends Google_Collection
1713  {
1714    protected $collection_key = 'outputs';
1715    protected $internal_gapi_mappings = array(
1716    );
1717    protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
1718    protected $flattenDataType = '';
1719    public $name;
1720    protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
1721    protected $outputsDataType = 'array';
1722    protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
1723    protected $parDoDataType = '';
1724    protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
1725    protected $partialGroupByKeyDataType = '';
1726    protected $readType = 'Google_Service_Dataflow_ReadInstruction';
1727    protected $readDataType = '';
1728    public $systemName;
1729    protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
1730    protected $writeDataType = '';
1731  
1732  
1733    public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
1734    {
1735      $this->flatten = $flatten;
1736    }
1737    public function getFlatten()
1738    {
1739      return $this->flatten;
1740    }
1741    public function setName($name)
1742    {
1743      $this->name = $name;
1744    }
1745    public function getName()
1746    {
1747      return $this->name;
1748    }
1749    public function setOutputs($outputs)
1750    {
1751      $this->outputs = $outputs;
1752    }
1753    public function getOutputs()
1754    {
1755      return $this->outputs;
1756    }
1757    public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
1758    {
1759      $this->parDo = $parDo;
1760    }
1761    public function getParDo()
1762    {
1763      return $this->parDo;
1764    }
1765    public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
1766    {
1767      $this->partialGroupByKey = $partialGroupByKey;
1768    }
1769    public function getPartialGroupByKey()
1770    {
1771      return $this->partialGroupByKey;
1772    }
1773    public function setRead(Google_Service_Dataflow_ReadInstruction $read)
1774    {
1775      $this->read = $read;
1776    }
1777    public function getRead()
1778    {
1779      return $this->read;
1780    }
1781    public function setSystemName($systemName)
1782    {
1783      $this->systemName = $systemName;
1784    }
1785    public function getSystemName()
1786    {
1787      return $this->systemName;
1788    }
1789    public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
1790    {
1791      $this->write = $write;
1792    }
1793    public function getWrite()
1794    {
1795      return $this->write;
1796    }
1797  }
1798  
1799  class Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Model
1800  {
1801    protected $internal_gapi_mappings = array(
1802    );
1803    protected $inputType = 'Google_Service_Dataflow_InstructionInput';
1804    protected $inputDataType = '';
1805    public $inputElementCodec;
1806    public $valueCombiningFn;
1807  
1808  
1809    public function setInput(Google_Service_Dataflow_InstructionInput $input)
1810    {
1811      $this->input = $input;
1812    }
1813    public function getInput()
1814    {
1815      return $this->input;
1816    }
1817    public function setInputElementCodec($inputElementCodec)
1818    {
1819      $this->inputElementCodec = $inputElementCodec;
1820    }
1821    public function getInputElementCodec()
1822    {
1823      return $this->inputElementCodec;
1824    }
1825    public function setValueCombiningFn($valueCombiningFn)
1826    {
1827      $this->valueCombiningFn = $valueCombiningFn;
1828    }
1829    public function getValueCombiningFn()
1830    {
1831      return $this->valueCombiningFn;
1832    }
1833  }
1834  
1835  class Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec extends Google_Model
1836  {
1837  }
1838  
1839  class Google_Service_Dataflow_PartialGroupByKeyInstructionValueCombiningFn extends Google_Model
1840  {
1841  }
1842  
1843  class Google_Service_Dataflow_Position extends Google_Model
1844  {
1845    protected $internal_gapi_mappings = array(
1846    );
1847    public $byteOffset;
1848    protected $concatPositionType = 'Google_Service_Dataflow_ConcatPosition';
1849    protected $concatPositionDataType = '';
1850    public $end;
1851    public $key;
1852    public $recordIndex;
1853    public $shufflePosition;
1854  
1855  
1856    public function setByteOffset($byteOffset)
1857    {
1858      $this->byteOffset = $byteOffset;
1859    }
1860    public function getByteOffset()
1861    {
1862      return $this->byteOffset;
1863    }
1864    public function setConcatPosition(Google_Service_Dataflow_ConcatPosition $concatPosition)
1865    {
1866      $this->concatPosition = $concatPosition;
1867    }
1868    public function getConcatPosition()
1869    {
1870      return $this->concatPosition;
1871    }
1872    public function setEnd($end)
1873    {
1874      $this->end = $end;
1875    }
1876    public function getEnd()
1877    {
1878      return $this->end;
1879    }
1880    public function setKey($key)
1881    {
1882      $this->key = $key;
1883    }
1884    public function getKey()
1885    {
1886      return $this->key;
1887    }
1888    public function setRecordIndex($recordIndex)
1889    {
1890      $this->recordIndex = $recordIndex;
1891    }
1892    public function getRecordIndex()
1893    {
1894      return $this->recordIndex;
1895    }
1896    public function setShufflePosition($shufflePosition)
1897    {
1898      $this->shufflePosition = $shufflePosition;
1899    }
1900    public function getShufflePosition()
1901    {
1902      return $this->shufflePosition;
1903    }
1904  }
1905  
1906  class Google_Service_Dataflow_PubsubLocation extends Google_Model
1907  {
1908    protected $internal_gapi_mappings = array(
1909    );
1910    public $dropLateData;
1911    public $idLabel;
1912    public $subscription;
1913    public $timestampLabel;
1914    public $topic;
1915    public $trackingSubscription;
1916  
1917  
1918    public function setDropLateData($dropLateData)
1919    {
1920      $this->dropLateData = $dropLateData;
1921    }
1922    public function getDropLateData()
1923    {
1924      return $this->dropLateData;
1925    }
1926    public function setIdLabel($idLabel)
1927    {
1928      $this->idLabel = $idLabel;
1929    }
1930    public function getIdLabel()
1931    {
1932      return $this->idLabel;
1933    }
1934    public function setSubscription($subscription)
1935    {
1936      $this->subscription = $subscription;
1937    }
1938    public function getSubscription()
1939    {
1940      return $this->subscription;
1941    }
1942    public function setTimestampLabel($timestampLabel)
1943    {
1944      $this->timestampLabel = $timestampLabel;
1945    }
1946    public function getTimestampLabel()
1947    {
1948      return $this->timestampLabel;
1949    }
1950    public function setTopic($topic)
1951    {
1952      $this->topic = $topic;
1953    }
1954    public function getTopic()
1955    {
1956      return $this->topic;
1957    }
1958    public function setTrackingSubscription($trackingSubscription)
1959    {
1960      $this->trackingSubscription = $trackingSubscription;
1961    }
1962    public function getTrackingSubscription()
1963    {
1964      return $this->trackingSubscription;
1965    }
1966  }
1967  
1968  class Google_Service_Dataflow_ReadInstruction extends Google_Model
1969  {
1970    protected $internal_gapi_mappings = array(
1971    );
1972    protected $sourceType = 'Google_Service_Dataflow_Source';
1973    protected $sourceDataType = '';
1974  
1975  
1976    public function setSource(Google_Service_Dataflow_Source $source)
1977    {
1978      $this->source = $source;
1979    }
1980    public function getSource()
1981    {
1982      return $this->source;
1983    }
1984  }
1985  
1986  class Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection
1987  {
1988    protected $collection_key = 'workItemStatuses';
1989    protected $internal_gapi_mappings = array(
1990    );
1991    public $currentWorkerTime;
1992    protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus';
1993    protected $workItemStatusesDataType = 'array';
1994    public $workerId;
1995  
1996  
1997    public function setCurrentWorkerTime($currentWorkerTime)
1998    {
1999      $this->currentWorkerTime = $currentWorkerTime;
2000    }
2001    public function getCurrentWorkerTime()
2002    {
2003      return $this->currentWorkerTime;
2004    }
2005    public function setWorkItemStatuses($workItemStatuses)
2006    {
2007      $this->workItemStatuses = $workItemStatuses;
2008    }
2009    public function getWorkItemStatuses()
2010    {
2011      return $this->workItemStatuses;
2012    }
2013    public function setWorkerId($workerId)
2014    {
2015      $this->workerId = $workerId;
2016    }
2017    public function getWorkerId()
2018    {
2019      return $this->workerId;
2020    }
2021  }
2022  
2023  class Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection
2024  {
2025    protected $collection_key = 'workItemServiceStates';
2026    protected $internal_gapi_mappings = array(
2027    );
2028    protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState';
2029    protected $workItemServiceStatesDataType = 'array';
2030  
2031  
2032    public function setWorkItemServiceStates($workItemServiceStates)
2033    {
2034      $this->workItemServiceStates = $workItemServiceStates;
2035    }
2036    public function getWorkItemServiceStates()
2037    {
2038      return $this->workItemServiceStates;
2039    }
2040  }
2041  
2042  class Google_Service_Dataflow_SeqMapTask extends Google_Collection
2043  {
2044    protected $collection_key = 'outputInfos';
2045    protected $internal_gapi_mappings = array(
2046    );
2047    protected $inputsType = 'Google_Service_Dataflow_SideInputInfo';
2048    protected $inputsDataType = 'array';
2049    public $name;
2050    protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo';
2051    protected $outputInfosDataType = 'array';
2052    public $stageName;
2053    public $systemName;
2054    public $userFn;
2055  
2056  
2057    public function setInputs($inputs)
2058    {
2059      $this->inputs = $inputs;
2060    }
2061    public function getInputs()
2062    {
2063      return $this->inputs;
2064    }
2065    public function setName($name)
2066    {
2067      $this->name = $name;
2068    }
2069    public function getName()
2070    {
2071      return $this->name;
2072    }
2073    public function setOutputInfos($outputInfos)
2074    {
2075      $this->outputInfos = $outputInfos;
2076    }
2077    public function getOutputInfos()
2078    {
2079      return $this->outputInfos;
2080    }
2081    public function setStageName($stageName)
2082    {
2083      $this->stageName = $stageName;
2084    }
2085    public function getStageName()
2086    {
2087      return $this->stageName;
2088    }
2089    public function setSystemName($systemName)
2090    {
2091      $this->systemName = $systemName;
2092    }
2093    public function getSystemName()
2094    {
2095      return $this->systemName;
2096    }
2097    public function setUserFn($userFn)
2098    {
2099      $this->userFn = $userFn;
2100    }
2101    public function getUserFn()
2102    {
2103      return $this->userFn;
2104    }
2105  }
2106  
2107  class Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model
2108  {
2109    protected $internal_gapi_mappings = array(
2110    );
2111    protected $sinkType = 'Google_Service_Dataflow_Sink';
2112    protected $sinkDataType = '';
2113    public $tag;
2114  
2115  
2116    public function setSink(Google_Service_Dataflow_Sink $sink)
2117    {
2118      $this->sink = $sink;
2119    }
2120    public function getSink()
2121    {
2122      return $this->sink;
2123    }
2124    public function setTag($tag)
2125    {
2126      $this->tag = $tag;
2127    }
2128    public function getTag()
2129    {
2130      return $this->tag;
2131    }
2132  }
2133  
2134  class Google_Service_Dataflow_SeqMapTaskUserFn extends Google_Model
2135  {
2136  }
2137  
2138  class Google_Service_Dataflow_ShellTask extends Google_Model
2139  {
2140    protected $internal_gapi_mappings = array(
2141    );
2142    public $command;
2143    public $exitCode;
2144  
2145  
2146    public function setCommand($command)
2147    {
2148      $this->command = $command;
2149    }
2150    public function getCommand()
2151    {
2152      return $this->command;
2153    }
2154    public function setExitCode($exitCode)
2155    {
2156      $this->exitCode = $exitCode;
2157    }
2158    public function getExitCode()
2159    {
2160      return $this->exitCode;
2161    }
2162  }
2163  
2164  class Google_Service_Dataflow_SideInputInfo extends Google_Collection
2165  {
2166    protected $collection_key = 'sources';
2167    protected $internal_gapi_mappings = array(
2168    );
2169    public $kind;
2170    protected $sourcesType = 'Google_Service_Dataflow_Source';
2171    protected $sourcesDataType = 'array';
2172    public $tag;
2173  
2174  
2175    public function setKind($kind)
2176    {
2177      $this->kind = $kind;
2178    }
2179    public function getKind()
2180    {
2181      return $this->kind;
2182    }
2183    public function setSources($sources)
2184    {
2185      $this->sources = $sources;
2186    }
2187    public function getSources()
2188    {
2189      return $this->sources;
2190    }
2191    public function setTag($tag)
2192    {
2193      $this->tag = $tag;
2194    }
2195    public function getTag()
2196    {
2197      return $this->tag;
2198    }
2199  }
2200  
2201  class Google_Service_Dataflow_SideInputInfoKind extends Google_Model
2202  {
2203  }
2204  
2205  class Google_Service_Dataflow_Sink extends Google_Model
2206  {
2207    protected $internal_gapi_mappings = array(
2208    );
2209    public $codec;
2210    public $spec;
2211  
2212  
2213    public function setCodec($codec)
2214    {
2215      $this->codec = $codec;
2216    }
2217    public function getCodec()
2218    {
2219      return $this->codec;
2220    }
2221    public function setSpec($spec)
2222    {
2223      $this->spec = $spec;
2224    }
2225    public function getSpec()
2226    {
2227      return $this->spec;
2228    }
2229  }
2230  
2231  class Google_Service_Dataflow_SinkCodec extends Google_Model
2232  {
2233  }
2234  
2235  class Google_Service_Dataflow_SinkSpec extends Google_Model
2236  {
2237  }
2238  
2239  class Google_Service_Dataflow_Source extends Google_Collection
2240  {
2241    protected $collection_key = 'baseSpecs';
2242    protected $internal_gapi_mappings = array(
2243    );
2244    public $baseSpecs;
2245    public $codec;
2246    public $doesNotNeedSplitting;
2247    protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
2248    protected $metadataDataType = '';
2249    public $spec;
2250  
2251  
2252    public function setBaseSpecs($baseSpecs)
2253    {
2254      $this->baseSpecs = $baseSpecs;
2255    }
2256    public function getBaseSpecs()
2257    {
2258      return $this->baseSpecs;
2259    }
2260    public function setCodec($codec)
2261    {
2262      $this->codec = $codec;
2263    }
2264    public function getCodec()
2265    {
2266      return $this->codec;
2267    }
2268    public function setDoesNotNeedSplitting($doesNotNeedSplitting)
2269    {
2270      $this->doesNotNeedSplitting = $doesNotNeedSplitting;
2271    }
2272    public function getDoesNotNeedSplitting()
2273    {
2274      return $this->doesNotNeedSplitting;
2275    }
2276    public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
2277    {
2278      $this->metadata = $metadata;
2279    }
2280    public function getMetadata()
2281    {
2282      return $this->metadata;
2283    }
2284    public function setSpec($spec)
2285    {
2286      $this->spec = $spec;
2287    }
2288    public function getSpec()
2289    {
2290      return $this->spec;
2291    }
2292  }
2293  
2294  class Google_Service_Dataflow_SourceBaseSpecs extends Google_Model
2295  {
2296  }
2297  
2298  class Google_Service_Dataflow_SourceCodec extends Google_Model
2299  {
2300  }
2301  
2302  class Google_Service_Dataflow_SourceFork extends Google_Model
2303  {
2304    protected $internal_gapi_mappings = array(
2305    );
2306    protected $primaryType = 'Google_Service_Dataflow_SourceSplitShard';
2307    protected $primaryDataType = '';
2308    protected $primarySourceType = 'Google_Service_Dataflow_DerivedSource';
2309    protected $primarySourceDataType = '';
2310    protected $residualType = 'Google_Service_Dataflow_SourceSplitShard';
2311    protected $residualDataType = '';
2312    protected $residualSourceType = 'Google_Service_Dataflow_DerivedSource';
2313    protected $residualSourceDataType = '';
2314  
2315  
2316    public function setPrimary(Google_Service_Dataflow_SourceSplitShard $primary)
2317    {
2318      $this->primary = $primary;
2319    }
2320    public function getPrimary()
2321    {
2322      return $this->primary;
2323    }
2324    public function setPrimarySource(Google_Service_Dataflow_DerivedSource $primarySource)
2325    {
2326      $this->primarySource = $primarySource;
2327    }
2328    public function getPrimarySource()
2329    {
2330      return $this->primarySource;
2331    }
2332    public function setResidual(Google_Service_Dataflow_SourceSplitShard $residual)
2333    {
2334      $this->residual = $residual;
2335    }
2336    public function getResidual()
2337    {
2338      return $this->residual;
2339    }
2340    public function setResidualSource(Google_Service_Dataflow_DerivedSource $residualSource)
2341    {
2342      $this->residualSource = $residualSource;
2343    }
2344    public function getResidualSource()
2345    {
2346      return $this->residualSource;
2347    }
2348  }
2349  
2350  class Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model
2351  {
2352    protected $internal_gapi_mappings = array(
2353    );
2354    protected $sourceType = 'Google_Service_Dataflow_Source';
2355    protected $sourceDataType = '';
2356  
2357  
2358    public function setSource(Google_Service_Dataflow_Source $source)
2359    {
2360      $this->source = $source;
2361    }
2362    public function getSource()
2363    {
2364      return $this->source;
2365    }
2366  }
2367  
2368  class Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model
2369  {
2370    protected $internal_gapi_mappings = array(
2371    );
2372    protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
2373    protected $metadataDataType = '';
2374  
2375  
2376    public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
2377    {
2378      $this->metadata = $metadata;
2379    }
2380    public function getMetadata()
2381    {
2382      return $this->metadata;
2383    }
2384  }
2385  
2386  class Google_Service_Dataflow_SourceMetadata extends Google_Model
2387  {
2388    protected $internal_gapi_mappings = array(
2389    );
2390    public $estimatedSizeBytes;
2391    public $infinite;
2392    public $producesSortedKeys;
2393  
2394  
2395    public function setEstimatedSizeBytes($estimatedSizeBytes)
2396    {
2397      $this->estimatedSizeBytes = $estimatedSizeBytes;
2398    }
2399    public function getEstimatedSizeBytes()
2400    {
2401      return $this->estimatedSizeBytes;
2402    }
2403    public function setInfinite($infinite)
2404    {
2405      $this->infinite = $infinite;
2406    }
2407    public function getInfinite()
2408    {
2409      return $this->infinite;
2410    }
2411    public function setProducesSortedKeys($producesSortedKeys)
2412    {
2413      $this->producesSortedKeys = $producesSortedKeys;
2414    }
2415    public function getProducesSortedKeys()
2416    {
2417      return $this->producesSortedKeys;
2418    }
2419  }
2420  
2421  class Google_Service_Dataflow_SourceOperationRequest extends Google_Model
2422  {
2423    protected $internal_gapi_mappings = array(
2424    );
2425    protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest';
2426    protected $getMetadataDataType = '';
2427    protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest';
2428    protected $splitDataType = '';
2429  
2430  
2431    public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata)
2432    {
2433      $this->getMetadata = $getMetadata;
2434    }
2435    public function getGetMetadata()
2436    {
2437      return $this->getMetadata;
2438    }
2439    public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split)
2440    {
2441      $this->split = $split;
2442    }
2443    public function getSplit()
2444    {
2445      return $this->split;
2446    }
2447  }
2448  
2449  class Google_Service_Dataflow_SourceOperationResponse extends Google_Model
2450  {
2451    protected $internal_gapi_mappings = array(
2452    );
2453    protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse';
2454    protected $getMetadataDataType = '';
2455    protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse';
2456    protected $splitDataType = '';
2457  
2458  
2459    public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata)
2460    {
2461      $this->getMetadata = $getMetadata;
2462    }
2463    public function getGetMetadata()
2464    {
2465      return $this->getMetadata;
2466    }
2467    public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split)
2468    {
2469      $this->split = $split;
2470    }
2471    public function getSplit()
2472    {
2473      return $this->split;
2474    }
2475  }
2476  
2477  class Google_Service_Dataflow_SourceSpec extends Google_Model
2478  {
2479  }
2480  
2481  class Google_Service_Dataflow_SourceSplitOptions extends Google_Model
2482  {
2483    protected $internal_gapi_mappings = array(
2484    );
2485    public $desiredBundleSizeBytes;
2486    public $desiredShardSizeBytes;
2487  
2488  
2489    public function setDesiredBundleSizeBytes($desiredBundleSizeBytes)
2490    {
2491      $this->desiredBundleSizeBytes = $desiredBundleSizeBytes;
2492    }
2493    public function getDesiredBundleSizeBytes()
2494    {
2495      return $this->desiredBundleSizeBytes;
2496    }
2497    public function setDesiredShardSizeBytes($desiredShardSizeBytes)
2498    {
2499      $this->desiredShardSizeBytes = $desiredShardSizeBytes;
2500    }
2501    public function getDesiredShardSizeBytes()
2502    {
2503      return $this->desiredShardSizeBytes;
2504    }
2505  }
2506  
2507  class Google_Service_Dataflow_SourceSplitRequest extends Google_Model
2508  {
2509    protected $internal_gapi_mappings = array(
2510    );
2511    protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions';
2512    protected $optionsDataType = '';
2513    protected $sourceType = 'Google_Service_Dataflow_Source';
2514    protected $sourceDataType = '';
2515  
2516  
2517    public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options)
2518    {
2519      $this->options = $options;
2520    }
2521    public function getOptions()
2522    {
2523      return $this->options;
2524    }
2525    public function setSource(Google_Service_Dataflow_Source $source)
2526    {
2527      $this->source = $source;
2528    }
2529    public function getSource()
2530    {
2531      return $this->source;
2532    }
2533  }
2534  
2535  class Google_Service_Dataflow_SourceSplitResponse extends Google_Collection
2536  {
2537    protected $collection_key = 'shards';
2538    protected $internal_gapi_mappings = array(
2539    );
2540    protected $bundlesType = 'Google_Service_Dataflow_DerivedSource';
2541    protected $bundlesDataType = 'array';
2542    public $outcome;
2543    protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard';
2544    protected $shardsDataType = 'array';
2545  
2546  
2547    public function setBundles($bundles)
2548    {
2549      $this->bundles = $bundles;
2550    }
2551    public function getBundles()
2552    {
2553      return $this->bundles;
2554    }
2555    public function setOutcome($outcome)
2556    {
2557      $this->outcome = $outcome;
2558    }
2559    public function getOutcome()
2560    {
2561      return $this->outcome;
2562    }
2563    public function setShards($shards)
2564    {
2565      $this->shards = $shards;
2566    }
2567    public function getShards()
2568    {
2569      return $this->shards;
2570    }
2571  }
2572  
2573  class Google_Service_Dataflow_SourceSplitShard extends Google_Model
2574  {
2575    protected $internal_gapi_mappings = array(
2576    );
2577    public $derivationMode;
2578    protected $sourceType = 'Google_Service_Dataflow_Source';
2579    protected $sourceDataType = '';
2580  
2581  
2582    public function setDerivationMode($derivationMode)
2583    {
2584      $this->derivationMode = $derivationMode;
2585    }
2586    public function getDerivationMode()
2587    {
2588      return $this->derivationMode;
2589    }
2590    public function setSource(Google_Service_Dataflow_Source $source)
2591    {
2592      $this->source = $source;
2593    }
2594    public function getSource()
2595    {
2596      return $this->source;
2597    }
2598  }
2599  
2600  class Google_Service_Dataflow_StateFamilyConfig extends Google_Model
2601  {
2602    protected $internal_gapi_mappings = array(
2603    );
2604    public $isRead;
2605    public $stateFamily;
2606  
2607  
2608    public function setIsRead($isRead)
2609    {
2610      $this->isRead = $isRead;
2611    }
2612    public function getIsRead()
2613    {
2614      return $this->isRead;
2615    }
2616    public function setStateFamily($stateFamily)
2617    {
2618      $this->stateFamily = $stateFamily;
2619    }
2620    public function getStateFamily()
2621    {
2622      return $this->stateFamily;
2623    }
2624  }
2625  
2626  class Google_Service_Dataflow_Status extends Google_Collection
2627  {
2628    protected $collection_key = 'details';
2629    protected $internal_gapi_mappings = array(
2630    );
2631    public $code;
2632    public $details;
2633    public $message;
2634  
2635  
2636    public function setCode($code)
2637    {
2638      $this->code = $code;
2639    }
2640    public function getCode()
2641    {
2642      return $this->code;
2643    }
2644    public function setDetails($details)
2645    {
2646      $this->details = $details;
2647    }
2648    public function getDetails()
2649    {
2650      return $this->details;
2651    }
2652    public function setMessage($message)
2653    {
2654      $this->message = $message;
2655    }
2656    public function getMessage()
2657    {
2658      return $this->message;
2659    }
2660  }
2661  
2662  class Google_Service_Dataflow_StatusDetails extends Google_Model
2663  {
2664  }
2665  
2666  class Google_Service_Dataflow_Step extends Google_Model
2667  {
2668    protected $internal_gapi_mappings = array(
2669    );
2670    public $kind;
2671    public $name;
2672    public $properties;
2673  
2674  
2675    public function setKind($kind)
2676    {
2677      $this->kind = $kind;
2678    }
2679    public function getKind()
2680    {
2681      return $this->kind;
2682    }
2683    public function setName($name)
2684    {
2685      $this->name = $name;
2686    }
2687    public function getName()
2688    {
2689      return $this->name;
2690    }
2691    public function setProperties($properties)
2692    {
2693      $this->properties = $properties;
2694    }
2695    public function getProperties()
2696    {
2697      return $this->properties;
2698    }
2699  }
2700  
2701  class Google_Service_Dataflow_StepProperties extends Google_Model
2702  {
2703  }
2704  
2705  class Google_Service_Dataflow_StreamLocation extends Google_Model
2706  {
2707    protected $internal_gapi_mappings = array(
2708    );
2709    protected $customSourceLocationType = 'Google_Service_Dataflow_CustomSourceLocation';
2710    protected $customSourceLocationDataType = '';
2711    protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation';
2712    protected $pubsubLocationDataType = '';
2713    protected $sideInputLocationType = 'Google_Service_Dataflow_StreamingSideInputLocation';
2714    protected $sideInputLocationDataType = '';
2715    protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation';
2716    protected $streamingStageLocationDataType = '';
2717  
2718  
2719    public function setCustomSourceLocation(Google_Service_Dataflow_CustomSourceLocation $customSourceLocation)
2720    {
2721      $this->customSourceLocation = $customSourceLocation;
2722    }
2723    public function getCustomSourceLocation()
2724    {
2725      return $this->customSourceLocation;
2726    }
2727    public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation)
2728    {
2729      $this->pubsubLocation = $pubsubLocation;
2730    }
2731    public function getPubsubLocation()
2732    {
2733      return $this->pubsubLocation;
2734    }
2735    public function setSideInputLocation(Google_Service_Dataflow_StreamingSideInputLocation $sideInputLocation)
2736    {
2737      $this->sideInputLocation = $sideInputLocation;
2738    }
2739    public function getSideInputLocation()
2740    {
2741      return $this->sideInputLocation;
2742    }
2743    public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation)
2744    {
2745      $this->streamingStageLocation = $streamingStageLocation;
2746    }
2747    public function getStreamingStageLocation()
2748    {
2749      return $this->streamingStageLocation;
2750    }
2751  }
2752  
2753  class Google_Service_Dataflow_StreamingComputationRanges extends Google_Collection
2754  {
2755    protected $collection_key = 'rangeAssignments';
2756    protected $internal_gapi_mappings = array(
2757    );
2758    public $computationId;
2759    protected $rangeAssignmentsType = 'Google_Service_Dataflow_KeyRangeDataDiskAssignment';
2760    protected $rangeAssignmentsDataType = 'array';
2761  
2762  
2763    public function setComputationId($computationId)
2764    {
2765      $this->computationId = $computationId;
2766    }
2767    public function getComputationId()
2768    {
2769      return $this->computationId;
2770    }
2771    public function setRangeAssignments($rangeAssignments)
2772    {
2773      $this->rangeAssignments = $rangeAssignments;
2774    }
2775    public function getRangeAssignments()
2776    {
2777      return $this->rangeAssignments;
2778    }
2779  }
2780  
2781  class Google_Service_Dataflow_StreamingComputationTask extends Google_Collection
2782  {
2783    protected $collection_key = 'dataDisks';
2784    protected $internal_gapi_mappings = array(
2785    );
2786    protected $computationRangesType = 'Google_Service_Dataflow_StreamingComputationRanges';
2787    protected $computationRangesDataType = 'array';
2788    protected $dataDisksType = 'Google_Service_Dataflow_MountedDataDisk';
2789    protected $dataDisksDataType = 'array';
2790    public $taskType;
2791  
2792  
2793    public function setComputationRanges($computationRanges)
2794    {
2795      $this->computationRanges = $computationRanges;
2796    }
2797    public function getComputationRanges()
2798    {
2799      return $this->computationRanges;
2800    }
2801    public function setDataDisks($dataDisks)
2802    {
2803      $this->dataDisks = $dataDisks;
2804    }
2805    public function getDataDisks()
2806    {
2807      return $this->dataDisks;
2808    }
2809    public function setTaskType($taskType)
2810    {
2811      $this->taskType = $taskType;
2812    }
2813    public function getTaskType()
2814    {
2815      return $this->taskType;
2816    }
2817  }
2818  
2819  class Google_Service_Dataflow_StreamingSetupTask extends Google_Model
2820  {
2821    protected $internal_gapi_mappings = array(
2822    );
2823    public $receiveWorkPort;
2824    protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig';
2825    protected $streamingComputationTopologyDataType = '';
2826    public $workerHarnessPort;
2827  
2828  
2829    public function setReceiveWorkPort($receiveWorkPort)
2830    {
2831      $this->receiveWorkPort = $receiveWorkPort;
2832    }
2833    public function getReceiveWorkPort()
2834    {
2835      return $this->receiveWorkPort;
2836    }
2837    public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology)
2838    {
2839      $this->streamingComputationTopology = $streamingComputationTopology;
2840    }
2841    public function getStreamingComputationTopology()
2842    {
2843      return $this->streamingComputationTopology;
2844    }
2845    public function setWorkerHarnessPort($workerHarnessPort)
2846    {
2847      $this->workerHarnessPort = $workerHarnessPort;
2848    }
2849    public function getWorkerHarnessPort()
2850    {
2851      return $this->workerHarnessPort;
2852    }
2853  }
2854  
2855  class Google_Service_Dataflow_StreamingSideInputLocation extends Google_Model
2856  {
2857    protected $internal_gapi_mappings = array(
2858    );
2859    public $stateFamily;
2860    public $tag;
2861  
2862  
2863    public function setStateFamily($stateFamily)
2864    {
2865      $this->stateFamily = $stateFamily;
2866    }
2867    public function getStateFamily()
2868    {
2869      return $this->stateFamily;
2870    }
2871    public function setTag($tag)
2872    {
2873      $this->tag = $tag;
2874    }
2875    public function getTag()
2876    {
2877      return $this->tag;
2878    }
2879  }
2880  
2881  class Google_Service_Dataflow_StreamingStageLocation extends Google_Model
2882  {
2883    protected $internal_gapi_mappings = array(
2884    );
2885    public $streamId;
2886  
2887  
2888    public function setStreamId($streamId)
2889    {
2890      $this->streamId = $streamId;
2891    }
2892    public function getStreamId()
2893    {
2894      return $this->streamId;
2895    }
2896  }
2897  
2898  class Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection
2899  {
2900    protected $collection_key = 'oauthScopes';
2901    protected $internal_gapi_mappings = array(
2902    );
2903    public $alsologtostderr;
2904    public $baseTaskDir;
2905    public $baseUrl;
2906    public $commandlinesFileName;
2907    public $continueOnException;
2908    public $dataflowApiVersion;
2909    public $harnessCommand;
2910    public $languageHint;
2911    public $logDir;
2912    public $logToSerialconsole;
2913    public $logUploadLocation;
2914    public $oauthScopes;
2915    protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings';
2916    protected $parallelWorkerSettingsDataType = '';
2917    public $streamingWorkerMainClass;
2918    public $taskGroup;
2919    public $taskUser;
2920    public $tempStoragePrefix;
2921    public $vmId;
2922    public $workflowFileName;
2923  
2924  
2925    public function setAlsologtostderr($alsologtostderr)
2926    {
2927      $this->alsologtostderr = $alsologtostderr;
2928    }
2929    public function getAlsologtostderr()
2930    {
2931      return $this->alsologtostderr;
2932    }
2933    public function setBaseTaskDir($baseTaskDir)
2934    {
2935      $this->baseTaskDir = $baseTaskDir;
2936    }
2937    public function getBaseTaskDir()
2938    {
2939      return $this->baseTaskDir;
2940    }
2941    public function setBaseUrl($baseUrl)
2942    {
2943      $this->baseUrl = $baseUrl;
2944    }
2945    public function getBaseUrl()
2946    {
2947      return $this->baseUrl;
2948    }
2949    public function setCommandlinesFileName($commandlinesFileName)
2950    {
2951      $this->commandlinesFileName = $commandlinesFileName;
2952    }
2953    public function getCommandlinesFileName()
2954    {
2955      return $this->commandlinesFileName;
2956    }
2957    public function setContinueOnException($continueOnException)
2958    {
2959      $this->continueOnException = $continueOnException;
2960    }
2961    public function getContinueOnException()
2962    {
2963      return $this->continueOnException;
2964    }
2965    public function setDataflowApiVersion($dataflowApiVersion)
2966    {
2967      $this->dataflowApiVersion = $dataflowApiVersion;
2968    }
2969    public function getDataflowApiVersion()
2970    {
2971      return $this->dataflowApiVersion;
2972    }
2973    public function setHarnessCommand($harnessCommand)
2974    {
2975      $this->harnessCommand = $harnessCommand;
2976    }
2977    public function getHarnessCommand()
2978    {
2979      return $this->harnessCommand;
2980    }
2981    public function setLanguageHint($languageHint)
2982    {
2983      $this->languageHint = $languageHint;
2984    }
2985    public function getLanguageHint()
2986    {
2987      return $this->languageHint;
2988    }
2989    public function setLogDir($logDir)
2990    {
2991      $this->logDir = $logDir;
2992    }
2993    public function getLogDir()
2994    {
2995      return $this->logDir;
2996    }
2997    public function setLogToSerialconsole($logToSerialconsole)
2998    {
2999      $this->logToSerialconsole = $logToSerialconsole;
3000    }
3001    public function getLogToSerialconsole()
3002    {
3003      return $this->logToSerialconsole;
3004    }
3005    public function setLogUploadLocation($logUploadLocation)
3006    {
3007      $this->logUploadLocation = $logUploadLocation;
3008    }
3009    public function getLogUploadLocation()
3010    {
3011      return $this->logUploadLocation;
3012    }
3013    public function setOauthScopes($oauthScopes)
3014    {
3015      $this->oauthScopes = $oauthScopes;
3016    }
3017    public function getOauthScopes()
3018    {
3019      return $this->oauthScopes;
3020    }
3021    public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings)
3022    {
3023      $this->parallelWorkerSettings = $parallelWorkerSettings;
3024    }
3025    public function getParallelWorkerSettings()
3026    {
3027      return $this->parallelWorkerSettings;
3028    }
3029    public function setStreamingWorkerMainClass($streamingWorkerMainClass)
3030    {
3031      $this->streamingWorkerMainClass = $streamingWorkerMainClass;
3032    }
3033    public function getStreamingWorkerMainClass()
3034    {
3035      return $this->streamingWorkerMainClass;
3036    }
3037    public function setTaskGroup($taskGroup)
3038    {
3039      $this->taskGroup = $taskGroup;
3040    }
3041    public function getTaskGroup()
3042    {
3043      return $this->taskGroup;
3044    }
3045    public function setTaskUser($taskUser)
3046    {
3047      $this->taskUser = $taskUser;
3048    }
3049    public function getTaskUser()
3050    {
3051      return $this->taskUser;
3052    }
3053    public function setTempStoragePrefix($tempStoragePrefix)
3054    {
3055      $this->tempStoragePrefix = $tempStoragePrefix;
3056    }
3057    public function getTempStoragePrefix()
3058    {
3059      return $this->tempStoragePrefix;
3060    }
3061    public function setVmId($vmId)
3062    {
3063      $this->vmId = $vmId;
3064    }
3065    public function getVmId()
3066    {
3067      return $this->vmId;
3068    }
3069    public function setWorkflowFileName($workflowFileName)
3070    {
3071      $this->workflowFileName = $workflowFileName;
3072    }
3073    public function getWorkflowFileName()
3074    {
3075      return $this->workflowFileName;
3076    }
3077  }
3078  
3079  class Google_Service_Dataflow_TopologyConfig extends Google_Collection
3080  {
3081    protected $collection_key = 'dataDiskAssignments';
3082    protected $internal_gapi_mappings = array(
3083    );
3084    protected $computationsType = 'Google_Service_Dataflow_ComputationTopology';
3085    protected $computationsDataType = 'array';
3086    protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment';
3087    protected $dataDiskAssignmentsDataType = 'array';
3088    public $userStageToComputationNameMap;
3089  
3090  
3091    public function setComputations($computations)
3092    {
3093      $this->computations = $computations;
3094    }
3095    public function getComputations()
3096    {
3097      return $this->computations;
3098    }
3099    public function setDataDiskAssignments($dataDiskAssignments)
3100    {
3101      $this->dataDiskAssignments = $dataDiskAssignments;
3102    }
3103    public function getDataDiskAssignments()
3104    {
3105      return $this->dataDiskAssignments;
3106    }
3107    public function setUserStageToComputationNameMap($userStageToComputationNameMap)
3108    {
3109      $this->userStageToComputationNameMap = $userStageToComputationNameMap;
3110    }
3111    public function getUserStageToComputationNameMap()
3112    {
3113      return $this->userStageToComputationNameMap;
3114    }
3115  }
3116  
3117  class Google_Service_Dataflow_TopologyConfigUserStageToComputationNameMap extends Google_Model
3118  {
3119  }
3120  
3121  class Google_Service_Dataflow_WorkItem extends Google_Collection
3122  {
3123    protected $collection_key = 'packages';
3124    protected $internal_gapi_mappings = array(
3125    );
3126    public $configuration;
3127    public $id;
3128    public $initialReportIndex;
3129    public $jobId;
3130    public $leaseExpireTime;
3131    protected $mapTaskType = 'Google_Service_Dataflow_MapTask';
3132    protected $mapTaskDataType = '';
3133    protected $packagesType = 'Google_Service_Dataflow_Package';
3134    protected $packagesDataType = 'array';
3135    public $projectId;
3136    public $reportStatusInterval;
3137    protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask';
3138    protected $seqMapTaskDataType = '';
3139    protected $shellTaskType = 'Google_Service_Dataflow_ShellTask';
3140    protected $shellTaskDataType = '';
3141    protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest';
3142    protected $sourceOperationTaskDataType = '';
3143    protected $streamingComputationTaskType = 'Google_Service_Dataflow_StreamingComputationTask';
3144    protected $streamingComputationTaskDataType = '';
3145    protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask';
3146    protected $streamingSetupTaskDataType = '';
3147  
3148  
3149    public function setConfiguration($configuration)
3150    {
3151      $this->configuration = $configuration;
3152    }
3153    public function getConfiguration()
3154    {
3155      return $this->configuration;
3156    }
3157    public function setId($id)
3158    {
3159      $this->id = $id;
3160    }
3161    public function getId()
3162    {
3163      return $this->id;
3164    }
3165    public function setInitialReportIndex($initialReportIndex)
3166    {
3167      $this->initialReportIndex = $initialReportIndex;
3168    }
3169    public function getInitialReportIndex()
3170    {
3171      return $this->initialReportIndex;
3172    }
3173    public function setJobId($jobId)
3174    {
3175      $this->jobId = $jobId;
3176    }
3177    public function getJobId()
3178    {
3179      return $this->jobId;
3180    }
3181    public function setLeaseExpireTime($leaseExpireTime)
3182    {
3183      $this->leaseExpireTime = $leaseExpireTime;
3184    }
3185    public function getLeaseExpireTime()
3186    {
3187      return $this->leaseExpireTime;
3188    }
3189    public function setMapTask(Google_Service_Dataflow_MapTask $mapTask)
3190    {
3191      $this->mapTask = $mapTask;
3192    }
3193    public function getMapTask()
3194    {
3195      return $this->mapTask;
3196    }
3197    public function setPackages($packages)
3198    {
3199      $this->packages = $packages;
3200    }
3201    public function getPackages()
3202    {
3203      return $this->packages;
3204    }
3205    public function setProjectId($projectId)
3206    {
3207      $this->projectId = $projectId;
3208    }
3209    public function getProjectId()
3210    {
3211      return $this->projectId;
3212    }
3213    public function setReportStatusInterval($reportStatusInterval)
3214    {
3215      $this->reportStatusInterval = $reportStatusInterval;
3216    }
3217    public function getReportStatusInterval()
3218    {
3219      return $this->reportStatusInterval;
3220    }
3221    public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask)
3222    {
3223      $this->seqMapTask = $seqMapTask;
3224    }
3225    public function getSeqMapTask()
3226    {
3227      return $this->seqMapTask;
3228    }
3229    public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask)
3230    {
3231      $this->shellTask = $shellTask;
3232    }
3233    public function getShellTask()
3234    {
3235      return $this->shellTask;
3236    }
3237    public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask)
3238    {
3239      $this->sourceOperationTask = $sourceOperationTask;
3240    }
3241    public function getSourceOperationTask()
3242    {
3243      return $this->sourceOperationTask;
3244    }
3245    public function setStreamingComputationTask(Google_Service_Dataflow_StreamingComputationTask $streamingComputationTask)
3246    {
3247      $this->streamingComputationTask = $streamingComputationTask;
3248    }
3249    public function getStreamingComputationTask()
3250    {
3251      return $this->streamingComputationTask;
3252    }
3253    public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask)
3254    {
3255      $this->streamingSetupTask = $streamingSetupTask;
3256    }
3257    public function getStreamingSetupTask()
3258    {
3259      return $this->streamingSetupTask;
3260    }
3261  }
3262  
3263  class Google_Service_Dataflow_WorkItemServiceState extends Google_Model
3264  {
3265    protected $internal_gapi_mappings = array(
3266    );
3267    public $harnessData;
3268    public $leaseExpireTime;
3269    public $nextReportIndex;
3270    public $reportStatusInterval;
3271    protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress';
3272    protected $suggestedStopPointDataType = '';
3273    protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position';
3274    protected $suggestedStopPositionDataType = '';
3275  
3276  
3277    public function setHarnessData($harnessData)
3278    {
3279      $this->harnessData = $harnessData;
3280    }
3281    public function getHarnessData()
3282    {
3283      return $this->harnessData;
3284    }
3285    public function setLeaseExpireTime($leaseExpireTime)
3286    {
3287      $this->leaseExpireTime = $leaseExpireTime;
3288    }
3289    public function getLeaseExpireTime()
3290    {
3291      return $this->leaseExpireTime;
3292    }
3293    public function setNextReportIndex($nextReportIndex)
3294    {
3295      $this->nextReportIndex = $nextReportIndex;
3296    }
3297    public function getNextReportIndex()
3298    {
3299      return $this->nextReportIndex;
3300    }
3301    public function setReportStatusInterval($reportStatusInterval)
3302    {
3303      $this->reportStatusInterval = $reportStatusInterval;
3304    }
3305    public function getReportStatusInterval()
3306    {
3307      return $this->reportStatusInterval;
3308    }
3309    public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint)
3310    {
3311      $this->suggestedStopPoint = $suggestedStopPoint;
3312    }
3313    public function getSuggestedStopPoint()
3314    {
3315      return $this->suggestedStopPoint;
3316    }
3317    public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition)
3318    {
3319      $this->suggestedStopPosition = $suggestedStopPosition;
3320    }
3321    public function getSuggestedStopPosition()
3322    {
3323      return $this->suggestedStopPosition;
3324    }
3325  }
3326  
3327  class Google_Service_Dataflow_WorkItemServiceStateHarnessData extends Google_Model
3328  {
3329  }
3330  
3331  class Google_Service_Dataflow_WorkItemStatus extends Google_Collection
3332  {
3333    protected $collection_key = 'metricUpdates';
3334    protected $internal_gapi_mappings = array(
3335    );
3336    public $completed;
3337    protected $dynamicSourceSplitType = 'Google_Service_Dataflow_DynamicSourceSplit';
3338    protected $dynamicSourceSplitDataType = '';
3339    protected $errorsType = 'Google_Service_Dataflow_Status';
3340    protected $errorsDataType = 'array';
3341    protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
3342    protected $metricUpdatesDataType = 'array';
3343    protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
3344    protected $progressDataType = '';
3345    public $reportIndex;
3346    public $requestedLeaseDuration;
3347    protected $sourceForkType = 'Google_Service_Dataflow_SourceFork';
3348    protected $sourceForkDataType = '';
3349    protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
3350    protected $sourceOperationResponseDataType = '';
3351    protected $stopPositionType = 'Google_Service_Dataflow_Position';
3352    protected $stopPositionDataType = '';
3353    public $workItemId;
3354  
3355  
3356    public function setCompleted($completed)
3357    {
3358      $this->completed = $completed;
3359    }
3360    public function getCompleted()
3361    {
3362      return $this->completed;
3363    }
3364    public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit)
3365    {
3366      $this->dynamicSourceSplit = $dynamicSourceSplit;
3367    }
3368    public function getDynamicSourceSplit()
3369    {
3370      return $this->dynamicSourceSplit;
3371    }
3372    public function setErrors($errors)
3373    {
3374      $this->errors = $errors;
3375    }
3376    public function getErrors()
3377    {
3378      return $this->errors;
3379    }
3380    public function setMetricUpdates($metricUpdates)
3381    {
3382      $this->metricUpdates = $metricUpdates;
3383    }
3384    public function getMetricUpdates()
3385    {
3386      return $this->metricUpdates;
3387    }
3388    public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
3389    {
3390      $this->progress = $progress;
3391    }
3392    public function getProgress()
3393    {
3394      return $this->progress;
3395    }
3396    public function setReportIndex($reportIndex)
3397    {
3398      $this->reportIndex = $reportIndex;
3399    }
3400    public function getReportIndex()
3401    {
3402      return $this->reportIndex;
3403    }
3404    public function setRequestedLeaseDuration($requestedLeaseDuration)
3405    {
3406      $this->requestedLeaseDuration = $requestedLeaseDuration;
3407    }
3408    public function getRequestedLeaseDuration()
3409    {
3410      return $this->requestedLeaseDuration;
3411    }
3412    public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork)
3413    {
3414      $this->sourceFork = $sourceFork;
3415    }
3416    public function getSourceFork()
3417    {
3418      return $this->sourceFork;
3419    }
3420    public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
3421    {
3422      $this->sourceOperationResponse = $sourceOperationResponse;
3423    }
3424    public function getSourceOperationResponse()
3425    {
3426      return $this->sourceOperationResponse;
3427    }
3428    public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
3429    {
3430      $this->stopPosition = $stopPosition;
3431    }
3432    public function getStopPosition()
3433    {
3434      return $this->stopPosition;
3435    }
3436    public function setWorkItemId($workItemId)
3437    {
3438      $this->workItemId = $workItemId;
3439    }
3440    public function getWorkItemId()
3441    {
3442      return $this->workItemId;
3443    }
3444  }
3445  
3446  class Google_Service_Dataflow_WorkerPool extends Google_Collection
3447  {
3448    protected $collection_key = 'packages';
3449    protected $internal_gapi_mappings = array(
3450    );
3451    protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings';
3452    protected $autoscalingSettingsDataType = '';
3453    protected $dataDisksType = 'Google_Service_Dataflow_Disk';
3454    protected $dataDisksDataType = 'array';
3455    public $defaultPackageSet;
3456    public $diskSizeGb;
3457    public $diskSourceImage;
3458    public $diskType;
3459    public $kind;
3460    public $machineType;
3461    public $metadata;
3462    public $network;
3463    public $numWorkers;
3464    public $onHostMaintenance;
3465    protected $packagesType = 'Google_Service_Dataflow_Package';
3466    protected $packagesDataType = 'array';
3467    public $poolArgs;
3468    protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings';
3469    protected $taskrunnerSettingsDataType = '';
3470    public $teardownPolicy;
3471    public $zone;
3472  
3473  
3474    public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings)
3475    {
3476      $this->autoscalingSettings = $autoscalingSettings;
3477    }
3478    public function getAutoscalingSettings()
3479    {
3480      return $this->autoscalingSettings;
3481    }
3482    public function setDataDisks($dataDisks)
3483    {
3484      $this->dataDisks = $dataDisks;
3485    }
3486    public function getDataDisks()
3487    {
3488      return $this->dataDisks;
3489    }
3490    public function setDefaultPackageSet($defaultPackageSet)
3491    {
3492      $this->defaultPackageSet = $defaultPackageSet;
3493    }
3494    public function getDefaultPackageSet()
3495    {
3496      return $this->defaultPackageSet;
3497    }
3498    public function setDiskSizeGb($diskSizeGb)
3499    {
3500      $this->diskSizeGb = $diskSizeGb;
3501    }
3502    public function getDiskSizeGb()
3503    {
3504      return $this->diskSizeGb;
3505    }
3506    public function setDiskSourceImage($diskSourceImage)
3507    {
3508      $this->diskSourceImage = $diskSourceImage;
3509    }
3510    public function getDiskSourceImage()
3511    {
3512      return $this->diskSourceImage;
3513    }
3514    public function setDiskType($diskType)
3515    {
3516      $this->diskType = $diskType;
3517    }
3518    public function getDiskType()
3519    {
3520      return $this->diskType;
3521    }
3522    public function setKind($kind)
3523    {
3524      $this->kind = $kind;
3525    }
3526    public function getKind()
3527    {
3528      return $this->kind;
3529    }
3530    public function setMachineType($machineType)
3531    {
3532      $this->machineType = $machineType;
3533    }
3534    public function getMachineType()
3535    {
3536      return $this->machineType;
3537    }
3538    public function setMetadata($metadata)
3539    {
3540      $this->metadata = $metadata;
3541    }
3542    public function getMetadata()
3543    {
3544      return $this->metadata;
3545    }
3546    public function setNetwork($network)
3547    {
3548      $this->network = $network;
3549    }
3550    public function getNetwork()
3551    {
3552      return $this->network;
3553    }
3554    public function setNumWorkers($numWorkers)
3555    {
3556      $this->numWorkers = $numWorkers;
3557    }
3558    public function getNumWorkers()
3559    {
3560      return $this->numWorkers;
3561    }
3562    public function setOnHostMaintenance($onHostMaintenance)
3563    {
3564      $this->onHostMaintenance = $onHostMaintenance;
3565    }
3566    public function getOnHostMaintenance()
3567    {
3568      return $this->onHostMaintenance;
3569    }
3570    public function setPackages($packages)
3571    {
3572      $this->packages = $packages;
3573    }
3574    public function getPackages()
3575    {
3576      return $this->packages;
3577    }
3578    public function setPoolArgs($poolArgs)
3579    {
3580      $this->poolArgs = $poolArgs;
3581    }
3582    public function getPoolArgs()
3583    {
3584      return $this->poolArgs;
3585    }
3586    public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings)
3587    {
3588      $this->taskrunnerSettings = $taskrunnerSettings;
3589    }
3590    public function getTaskrunnerSettings()
3591    {
3592      return $this->taskrunnerSettings;
3593    }
3594    public function setTeardownPolicy($teardownPolicy)
3595    {
3596      $this->teardownPolicy = $teardownPolicy;
3597    }
3598    public function getTeardownPolicy()
3599    {
3600      return $this->teardownPolicy;
3601    }
3602    public function setZone($zone)
3603    {
3604      $this->zone = $zone;
3605    }
3606    public function getZone()
3607    {
3608      return $this->zone;
3609    }
3610  }
3611  
3612  class Google_Service_Dataflow_WorkerPoolMetadata extends Google_Model
3613  {
3614  }
3615  
3616  class Google_Service_Dataflow_WorkerPoolPoolArgs extends Google_Model
3617  {
3618  }
3619  
3620  class Google_Service_Dataflow_WorkerSettings extends Google_Model
3621  {
3622    protected $internal_gapi_mappings = array(
3623    );
3624    public $baseUrl;
3625    public $reportingEnabled;
3626    public $servicePath;
3627    public $shuffleServicePath;
3628    public $tempStoragePrefix;
3629    public $workerId;
3630  
3631  
3632    public function setBaseUrl($baseUrl)
3633    {
3634      $this->baseUrl = $baseUrl;
3635    }
3636    public function getBaseUrl()
3637    {
3638      return $this->baseUrl;
3639    }
3640    public function setReportingEnabled($reportingEnabled)
3641    {
3642      $this->reportingEnabled = $reportingEnabled;
3643    }
3644    public function getReportingEnabled()
3645    {
3646      return $this->reportingEnabled;
3647    }
3648    public function setServicePath($servicePath)
3649    {
3650      $this->servicePath = $servicePath;
3651    }
3652    public function getServicePath()
3653    {
3654      return $this->servicePath;
3655    }
3656    public function setShuffleServicePath($shuffleServicePath)
3657    {
3658      $this->shuffleServicePath = $shuffleServicePath;
3659    }
3660    public function getShuffleServicePath()
3661    {
3662      return $this->shuffleServicePath;
3663    }
3664    public function setTempStoragePrefix($tempStoragePrefix)
3665    {
3666      $this->tempStoragePrefix = $tempStoragePrefix;
3667    }
3668    public function getTempStoragePrefix()
3669    {
3670      return $this->tempStoragePrefix;
3671    }
3672    public function setWorkerId($workerId)
3673    {
3674      $this->workerId = $workerId;
3675    }
3676    public function getWorkerId()
3677    {
3678      return $this->workerId;
3679    }
3680  }
3681  
3682  class Google_Service_Dataflow_WriteInstruction extends Google_Model
3683  {
3684    protected $internal_gapi_mappings = array(
3685    );
3686    protected $inputType = 'Google_Service_Dataflow_InstructionInput';
3687    protected $inputDataType = '';
3688    protected $sinkType = 'Google_Service_Dataflow_Sink';
3689    protected $sinkDataType = '';
3690  
3691  
3692    public function setInput(Google_Service_Dataflow_InstructionInput $input)
3693    {
3694      $this->input = $input;
3695    }
3696    public function getInput()
3697    {
3698      return $this->input;
3699    }
3700    public function setSink(Google_Service_Dataflow_Sink $sink)
3701    {
3702      $this->sink = $sink;
3703    }
3704    public function getSink()
3705    {
3706      return $this->sink;
3707    }
3708  }