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 JobMetadata extends \Google\Collection 21{ 22 protected $collection_key = 'spannerDetails'; 23 protected $bigTableDetailsType = BigTableIODetails::class; 24 protected $bigTableDetailsDataType = 'array'; 25 protected $bigqueryDetailsType = BigQueryIODetails::class; 26 protected $bigqueryDetailsDataType = 'array'; 27 protected $datastoreDetailsType = DatastoreIODetails::class; 28 protected $datastoreDetailsDataType = 'array'; 29 protected $fileDetailsType = FileIODetails::class; 30 protected $fileDetailsDataType = 'array'; 31 protected $pubsubDetailsType = PubSubIODetails::class; 32 protected $pubsubDetailsDataType = 'array'; 33 protected $sdkVersionType = SdkVersion::class; 34 protected $sdkVersionDataType = ''; 35 protected $spannerDetailsType = SpannerIODetails::class; 36 protected $spannerDetailsDataType = 'array'; 37 38 /** 39 * @param BigTableIODetails[] 40 */ 41 public function setBigTableDetails($bigTableDetails) 42 { 43 $this->bigTableDetails = $bigTableDetails; 44 } 45 /** 46 * @return BigTableIODetails[] 47 */ 48 public function getBigTableDetails() 49 { 50 return $this->bigTableDetails; 51 } 52 /** 53 * @param BigQueryIODetails[] 54 */ 55 public function setBigqueryDetails($bigqueryDetails) 56 { 57 $this->bigqueryDetails = $bigqueryDetails; 58 } 59 /** 60 * @return BigQueryIODetails[] 61 */ 62 public function getBigqueryDetails() 63 { 64 return $this->bigqueryDetails; 65 } 66 /** 67 * @param DatastoreIODetails[] 68 */ 69 public function setDatastoreDetails($datastoreDetails) 70 { 71 $this->datastoreDetails = $datastoreDetails; 72 } 73 /** 74 * @return DatastoreIODetails[] 75 */ 76 public function getDatastoreDetails() 77 { 78 return $this->datastoreDetails; 79 } 80 /** 81 * @param FileIODetails[] 82 */ 83 public function setFileDetails($fileDetails) 84 { 85 $this->fileDetails = $fileDetails; 86 } 87 /** 88 * @return FileIODetails[] 89 */ 90 public function getFileDetails() 91 { 92 return $this->fileDetails; 93 } 94 /** 95 * @param PubSubIODetails[] 96 */ 97 public function setPubsubDetails($pubsubDetails) 98 { 99 $this->pubsubDetails = $pubsubDetails; 100 } 101 /** 102 * @return PubSubIODetails[] 103 */ 104 public function getPubsubDetails() 105 { 106 return $this->pubsubDetails; 107 } 108 /** 109 * @param SdkVersion 110 */ 111 public function setSdkVersion(SdkVersion $sdkVersion) 112 { 113 $this->sdkVersion = $sdkVersion; 114 } 115 /** 116 * @return SdkVersion 117 */ 118 public function getSdkVersion() 119 { 120 return $this->sdkVersion; 121 } 122 /** 123 * @param SpannerIODetails[] 124 */ 125 public function setSpannerDetails($spannerDetails) 126 { 127 $this->spannerDetails = $spannerDetails; 128 } 129 /** 130 * @return SpannerIODetails[] 131 */ 132 public function getSpannerDetails() 133 { 134 return $this->spannerDetails; 135 } 136} 137 138// Adding a class alias for backwards compatibility with the previous class name. 139class_alias(JobMetadata::class, 'Google_Service_Dataflow_JobMetadata'); 140