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\DataprocMetastore; 19 20class Service extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $artifactGcsUri; 26 /** 27 * @var string 28 */ 29 public $createTime; 30 /** 31 * @var string 32 */ 33 public $databaseType; 34 protected $encryptionConfigType = EncryptionConfig::class; 35 protected $encryptionConfigDataType = ''; 36 /** 37 * @var string 38 */ 39 public $endpointUri; 40 protected $hiveMetastoreConfigType = HiveMetastoreConfig::class; 41 protected $hiveMetastoreConfigDataType = ''; 42 /** 43 * @var string[] 44 */ 45 public $labels; 46 protected $maintenanceWindowType = MaintenanceWindow::class; 47 protected $maintenanceWindowDataType = ''; 48 protected $metadataIntegrationType = MetadataIntegration::class; 49 protected $metadataIntegrationDataType = ''; 50 protected $metadataManagementActivityType = MetadataManagementActivity::class; 51 protected $metadataManagementActivityDataType = ''; 52 /** 53 * @var string 54 */ 55 public $name; 56 /** 57 * @var string 58 */ 59 public $network; 60 protected $networkConfigType = NetworkConfig::class; 61 protected $networkConfigDataType = ''; 62 /** 63 * @var int 64 */ 65 public $port; 66 /** 67 * @var string 68 */ 69 public $releaseChannel; 70 /** 71 * @var string 72 */ 73 public $state; 74 /** 75 * @var string 76 */ 77 public $stateMessage; 78 /** 79 * @var string 80 */ 81 public $tier; 82 /** 83 * @var string 84 */ 85 public $uid; 86 /** 87 * @var string 88 */ 89 public $updateTime; 90 91 /** 92 * @param string 93 */ 94 public function setArtifactGcsUri($artifactGcsUri) 95 { 96 $this->artifactGcsUri = $artifactGcsUri; 97 } 98 /** 99 * @return string 100 */ 101 public function getArtifactGcsUri() 102 { 103 return $this->artifactGcsUri; 104 } 105 /** 106 * @param string 107 */ 108 public function setCreateTime($createTime) 109 { 110 $this->createTime = $createTime; 111 } 112 /** 113 * @return string 114 */ 115 public function getCreateTime() 116 { 117 return $this->createTime; 118 } 119 /** 120 * @param string 121 */ 122 public function setDatabaseType($databaseType) 123 { 124 $this->databaseType = $databaseType; 125 } 126 /** 127 * @return string 128 */ 129 public function getDatabaseType() 130 { 131 return $this->databaseType; 132 } 133 /** 134 * @param EncryptionConfig 135 */ 136 public function setEncryptionConfig(EncryptionConfig $encryptionConfig) 137 { 138 $this->encryptionConfig = $encryptionConfig; 139 } 140 /** 141 * @return EncryptionConfig 142 */ 143 public function getEncryptionConfig() 144 { 145 return $this->encryptionConfig; 146 } 147 /** 148 * @param string 149 */ 150 public function setEndpointUri($endpointUri) 151 { 152 $this->endpointUri = $endpointUri; 153 } 154 /** 155 * @return string 156 */ 157 public function getEndpointUri() 158 { 159 return $this->endpointUri; 160 } 161 /** 162 * @param HiveMetastoreConfig 163 */ 164 public function setHiveMetastoreConfig(HiveMetastoreConfig $hiveMetastoreConfig) 165 { 166 $this->hiveMetastoreConfig = $hiveMetastoreConfig; 167 } 168 /** 169 * @return HiveMetastoreConfig 170 */ 171 public function getHiveMetastoreConfig() 172 { 173 return $this->hiveMetastoreConfig; 174 } 175 /** 176 * @param string[] 177 */ 178 public function setLabels($labels) 179 { 180 $this->labels = $labels; 181 } 182 /** 183 * @return string[] 184 */ 185 public function getLabels() 186 { 187 return $this->labels; 188 } 189 /** 190 * @param MaintenanceWindow 191 */ 192 public function setMaintenanceWindow(MaintenanceWindow $maintenanceWindow) 193 { 194 $this->maintenanceWindow = $maintenanceWindow; 195 } 196 /** 197 * @return MaintenanceWindow 198 */ 199 public function getMaintenanceWindow() 200 { 201 return $this->maintenanceWindow; 202 } 203 /** 204 * @param MetadataIntegration 205 */ 206 public function setMetadataIntegration(MetadataIntegration $metadataIntegration) 207 { 208 $this->metadataIntegration = $metadataIntegration; 209 } 210 /** 211 * @return MetadataIntegration 212 */ 213 public function getMetadataIntegration() 214 { 215 return $this->metadataIntegration; 216 } 217 /** 218 * @param MetadataManagementActivity 219 */ 220 public function setMetadataManagementActivity(MetadataManagementActivity $metadataManagementActivity) 221 { 222 $this->metadataManagementActivity = $metadataManagementActivity; 223 } 224 /** 225 * @return MetadataManagementActivity 226 */ 227 public function getMetadataManagementActivity() 228 { 229 return $this->metadataManagementActivity; 230 } 231 /** 232 * @param string 233 */ 234 public function setName($name) 235 { 236 $this->name = $name; 237 } 238 /** 239 * @return string 240 */ 241 public function getName() 242 { 243 return $this->name; 244 } 245 /** 246 * @param string 247 */ 248 public function setNetwork($network) 249 { 250 $this->network = $network; 251 } 252 /** 253 * @return string 254 */ 255 public function getNetwork() 256 { 257 return $this->network; 258 } 259 /** 260 * @param NetworkConfig 261 */ 262 public function setNetworkConfig(NetworkConfig $networkConfig) 263 { 264 $this->networkConfig = $networkConfig; 265 } 266 /** 267 * @return NetworkConfig 268 */ 269 public function getNetworkConfig() 270 { 271 return $this->networkConfig; 272 } 273 /** 274 * @param int 275 */ 276 public function setPort($port) 277 { 278 $this->port = $port; 279 } 280 /** 281 * @return int 282 */ 283 public function getPort() 284 { 285 return $this->port; 286 } 287 /** 288 * @param string 289 */ 290 public function setReleaseChannel($releaseChannel) 291 { 292 $this->releaseChannel = $releaseChannel; 293 } 294 /** 295 * @return string 296 */ 297 public function getReleaseChannel() 298 { 299 return $this->releaseChannel; 300 } 301 /** 302 * @param string 303 */ 304 public function setState($state) 305 { 306 $this->state = $state; 307 } 308 /** 309 * @return string 310 */ 311 public function getState() 312 { 313 return $this->state; 314 } 315 /** 316 * @param string 317 */ 318 public function setStateMessage($stateMessage) 319 { 320 $this->stateMessage = $stateMessage; 321 } 322 /** 323 * @return string 324 */ 325 public function getStateMessage() 326 { 327 return $this->stateMessage; 328 } 329 /** 330 * @param string 331 */ 332 public function setTier($tier) 333 { 334 $this->tier = $tier; 335 } 336 /** 337 * @return string 338 */ 339 public function getTier() 340 { 341 return $this->tier; 342 } 343 /** 344 * @param string 345 */ 346 public function setUid($uid) 347 { 348 $this->uid = $uid; 349 } 350 /** 351 * @return string 352 */ 353 public function getUid() 354 { 355 return $this->uid; 356 } 357 /** 358 * @param string 359 */ 360 public function setUpdateTime($updateTime) 361 { 362 $this->updateTime = $updateTime; 363 } 364 /** 365 * @return string 366 */ 367 public function getUpdateTime() 368 { 369 return $this->updateTime; 370 } 371} 372 373// Adding a class alias for backwards compatibility with the previous class name. 374class_alias(Service::class, 'Google_Service_DataprocMetastore_Service'); 375