1<?php 2/* 3 * Copyright 2014 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 18namespace Google\Service\Dataflow; 19 20class PipelineDescription extends \Google\Collection 21{ 22 protected $collection_key = 'originalPipelineTransform'; 23 protected $displayDataType = DisplayData::class; 24 protected $displayDataDataType = 'array'; 25 protected $executionPipelineStageType = ExecutionStageSummary::class; 26 protected $executionPipelineStageDataType = 'array'; 27 protected $originalPipelineTransformType = TransformSummary::class; 28 protected $originalPipelineTransformDataType = 'array'; 29 30 /** 31 * @param DisplayData[] 32 */ 33 public function setDisplayData($displayData) 34 { 35 $this->displayData = $displayData; 36 } 37 /** 38 * @return DisplayData[] 39 */ 40 public function getDisplayData() 41 { 42 return $this->displayData; 43 } 44 /** 45 * @param ExecutionStageSummary[] 46 */ 47 public function setExecutionPipelineStage($executionPipelineStage) 48 { 49 $this->executionPipelineStage = $executionPipelineStage; 50 } 51 /** 52 * @return ExecutionStageSummary[] 53 */ 54 public function getExecutionPipelineStage() 55 { 56 return $this->executionPipelineStage; 57 } 58 /** 59 * @param TransformSummary[] 60 */ 61 public function setOriginalPipelineTransform($originalPipelineTransform) 62 { 63 $this->originalPipelineTransform = $originalPipelineTransform; 64 } 65 /** 66 * @return TransformSummary[] 67 */ 68 public function getOriginalPipelineTransform() 69 { 70 return $this->originalPipelineTransform; 71 } 72} 73 74// Adding a class alias for backwards compatibility with the previous class name. 75class_alias(PipelineDescription::class, 'Google_Service_Dataflow_PipelineDescription'); 76