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