PageRenderTime 51ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/google/apiclient-services/src/Bigquery/Table.php

https://gitlab.com/Japang-Jawara/jawara-penilaian
PHP | 542 lines | 288 code | 4 blank | 250 comment | 0 complexity | 3f0dd4ce290a48c2b82d2cf1ed5ecf8c MD5 | raw file
  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. namespace Google\Service\Bigquery;
  18. class Table extends \Google\Model
  19. {
  20. protected $clusteringType = Clustering::class;
  21. protected $clusteringDataType = '';
  22. /**
  23. * @var string
  24. */
  25. public $creationTime;
  26. /**
  27. * @var string
  28. */
  29. public $defaultCollation;
  30. /**
  31. * @var string
  32. */
  33. public $description;
  34. protected $encryptionConfigurationType = EncryptionConfiguration::class;
  35. protected $encryptionConfigurationDataType = '';
  36. /**
  37. * @var string
  38. */
  39. public $etag;
  40. /**
  41. * @var string
  42. */
  43. public $expirationTime;
  44. protected $externalDataConfigurationType = ExternalDataConfiguration::class;
  45. protected $externalDataConfigurationDataType = '';
  46. /**
  47. * @var string
  48. */
  49. public $friendlyName;
  50. /**
  51. * @var string
  52. */
  53. public $id;
  54. /**
  55. * @var string
  56. */
  57. public $kind;
  58. /**
  59. * @var string[]
  60. */
  61. public $labels;
  62. /**
  63. * @var string
  64. */
  65. public $lastModifiedTime;
  66. /**
  67. * @var string
  68. */
  69. public $location;
  70. protected $materializedViewType = MaterializedViewDefinition::class;
  71. protected $materializedViewDataType = '';
  72. protected $modelType = ModelDefinition::class;
  73. protected $modelDataType = '';
  74. /**
  75. * @var string
  76. */
  77. public $numBytes;
  78. /**
  79. * @var string
  80. */
  81. public $numLongTermBytes;
  82. /**
  83. * @var string
  84. */
  85. public $numPhysicalBytes;
  86. /**
  87. * @var string
  88. */
  89. public $numRows;
  90. protected $rangePartitioningType = RangePartitioning::class;
  91. protected $rangePartitioningDataType = '';
  92. /**
  93. * @var bool
  94. */
  95. public $requirePartitionFilter;
  96. protected $schemaType = TableSchema::class;
  97. protected $schemaDataType = '';
  98. /**
  99. * @var string
  100. */
  101. public $selfLink;
  102. protected $snapshotDefinitionType = SnapshotDefinition::class;
  103. protected $snapshotDefinitionDataType = '';
  104. protected $streamingBufferType = Streamingbuffer::class;
  105. protected $streamingBufferDataType = '';
  106. protected $tableReferenceType = TableReference::class;
  107. protected $tableReferenceDataType = '';
  108. protected $timePartitioningType = TimePartitioning::class;
  109. protected $timePartitioningDataType = '';
  110. /**
  111. * @var string
  112. */
  113. public $type;
  114. protected $viewType = ViewDefinition::class;
  115. protected $viewDataType = '';
  116. /**
  117. * @param Clustering
  118. */
  119. public function setClustering(Clustering $clustering)
  120. {
  121. $this->clustering = $clustering;
  122. }
  123. /**
  124. * @return Clustering
  125. */
  126. public function getClustering()
  127. {
  128. return $this->clustering;
  129. }
  130. /**
  131. * @param string
  132. */
  133. public function setCreationTime($creationTime)
  134. {
  135. $this->creationTime = $creationTime;
  136. }
  137. /**
  138. * @return string
  139. */
  140. public function getCreationTime()
  141. {
  142. return $this->creationTime;
  143. }
  144. /**
  145. * @param string
  146. */
  147. public function setDefaultCollation($defaultCollation)
  148. {
  149. $this->defaultCollation = $defaultCollation;
  150. }
  151. /**
  152. * @return string
  153. */
  154. public function getDefaultCollation()
  155. {
  156. return $this->defaultCollation;
  157. }
  158. /**
  159. * @param string
  160. */
  161. public function setDescription($description)
  162. {
  163. $this->description = $description;
  164. }
  165. /**
  166. * @return string
  167. */
  168. public function getDescription()
  169. {
  170. return $this->description;
  171. }
  172. /**
  173. * @param EncryptionConfiguration
  174. */
  175. public function setEncryptionConfiguration(EncryptionConfiguration $encryptionConfiguration)
  176. {
  177. $this->encryptionConfiguration = $encryptionConfiguration;
  178. }
  179. /**
  180. * @return EncryptionConfiguration
  181. */
  182. public function getEncryptionConfiguration()
  183. {
  184. return $this->encryptionConfiguration;
  185. }
  186. /**
  187. * @param string
  188. */
  189. public function setEtag($etag)
  190. {
  191. $this->etag = $etag;
  192. }
  193. /**
  194. * @return string
  195. */
  196. public function getEtag()
  197. {
  198. return $this->etag;
  199. }
  200. /**
  201. * @param string
  202. */
  203. public function setExpirationTime($expirationTime)
  204. {
  205. $this->expirationTime = $expirationTime;
  206. }
  207. /**
  208. * @return string
  209. */
  210. public function getExpirationTime()
  211. {
  212. return $this->expirationTime;
  213. }
  214. /**
  215. * @param ExternalDataConfiguration
  216. */
  217. public function setExternalDataConfiguration(ExternalDataConfiguration $externalDataConfiguration)
  218. {
  219. $this->externalDataConfiguration = $externalDataConfiguration;
  220. }
  221. /**
  222. * @return ExternalDataConfiguration
  223. */
  224. public function getExternalDataConfiguration()
  225. {
  226. return $this->externalDataConfiguration;
  227. }
  228. /**
  229. * @param string
  230. */
  231. public function setFriendlyName($friendlyName)
  232. {
  233. $this->friendlyName = $friendlyName;
  234. }
  235. /**
  236. * @return string
  237. */
  238. public function getFriendlyName()
  239. {
  240. return $this->friendlyName;
  241. }
  242. /**
  243. * @param string
  244. */
  245. public function setId($id)
  246. {
  247. $this->id = $id;
  248. }
  249. /**
  250. * @return string
  251. */
  252. public function getId()
  253. {
  254. return $this->id;
  255. }
  256. /**
  257. * @param string
  258. */
  259. public function setKind($kind)
  260. {
  261. $this->kind = $kind;
  262. }
  263. /**
  264. * @return string
  265. */
  266. public function getKind()
  267. {
  268. return $this->kind;
  269. }
  270. /**
  271. * @param string[]
  272. */
  273. public function setLabels($labels)
  274. {
  275. $this->labels = $labels;
  276. }
  277. /**
  278. * @return string[]
  279. */
  280. public function getLabels()
  281. {
  282. return $this->labels;
  283. }
  284. /**
  285. * @param string
  286. */
  287. public function setLastModifiedTime($lastModifiedTime)
  288. {
  289. $this->lastModifiedTime = $lastModifiedTime;
  290. }
  291. /**
  292. * @return string
  293. */
  294. public function getLastModifiedTime()
  295. {
  296. return $this->lastModifiedTime;
  297. }
  298. /**
  299. * @param string
  300. */
  301. public function setLocation($location)
  302. {
  303. $this->location = $location;
  304. }
  305. /**
  306. * @return string
  307. */
  308. public function getLocation()
  309. {
  310. return $this->location;
  311. }
  312. /**
  313. * @param MaterializedViewDefinition
  314. */
  315. public function setMaterializedView(MaterializedViewDefinition $materializedView)
  316. {
  317. $this->materializedView = $materializedView;
  318. }
  319. /**
  320. * @return MaterializedViewDefinition
  321. */
  322. public function getMaterializedView()
  323. {
  324. return $this->materializedView;
  325. }
  326. /**
  327. * @param ModelDefinition
  328. */
  329. public function setModel(ModelDefinition $model)
  330. {
  331. $this->model = $model;
  332. }
  333. /**
  334. * @return ModelDefinition
  335. */
  336. public function getModel()
  337. {
  338. return $this->model;
  339. }
  340. /**
  341. * @param string
  342. */
  343. public function setNumBytes($numBytes)
  344. {
  345. $this->numBytes = $numBytes;
  346. }
  347. /**
  348. * @return string
  349. */
  350. public function getNumBytes()
  351. {
  352. return $this->numBytes;
  353. }
  354. /**
  355. * @param string
  356. */
  357. public function setNumLongTermBytes($numLongTermBytes)
  358. {
  359. $this->numLongTermBytes = $numLongTermBytes;
  360. }
  361. /**
  362. * @return string
  363. */
  364. public function getNumLongTermBytes()
  365. {
  366. return $this->numLongTermBytes;
  367. }
  368. /**
  369. * @param string
  370. */
  371. public function setNumPhysicalBytes($numPhysicalBytes)
  372. {
  373. $this->numPhysicalBytes = $numPhysicalBytes;
  374. }
  375. /**
  376. * @return string
  377. */
  378. public function getNumPhysicalBytes()
  379. {
  380. return $this->numPhysicalBytes;
  381. }
  382. /**
  383. * @param string
  384. */
  385. public function setNumRows($numRows)
  386. {
  387. $this->numRows = $numRows;
  388. }
  389. /**
  390. * @return string
  391. */
  392. public function getNumRows()
  393. {
  394. return $this->numRows;
  395. }
  396. /**
  397. * @param RangePartitioning
  398. */
  399. public function setRangePartitioning(RangePartitioning $rangePartitioning)
  400. {
  401. $this->rangePartitioning = $rangePartitioning;
  402. }
  403. /**
  404. * @return RangePartitioning
  405. */
  406. public function getRangePartitioning()
  407. {
  408. return $this->rangePartitioning;
  409. }
  410. /**
  411. * @param bool
  412. */
  413. public function setRequirePartitionFilter($requirePartitionFilter)
  414. {
  415. $this->requirePartitionFilter = $requirePartitionFilter;
  416. }
  417. /**
  418. * @return bool
  419. */
  420. public function getRequirePartitionFilter()
  421. {
  422. return $this->requirePartitionFilter;
  423. }
  424. /**
  425. * @param TableSchema
  426. */
  427. public function setSchema(TableSchema $schema)
  428. {
  429. $this->schema = $schema;
  430. }
  431. /**
  432. * @return TableSchema
  433. */
  434. public function getSchema()
  435. {
  436. return $this->schema;
  437. }
  438. /**
  439. * @param string
  440. */
  441. public function setSelfLink($selfLink)
  442. {
  443. $this->selfLink = $selfLink;
  444. }
  445. /**
  446. * @return string
  447. */
  448. public function getSelfLink()
  449. {
  450. return $this->selfLink;
  451. }
  452. /**
  453. * @param SnapshotDefinition
  454. */
  455. public function setSnapshotDefinition(SnapshotDefinition $snapshotDefinition)
  456. {
  457. $this->snapshotDefinition = $snapshotDefinition;
  458. }
  459. /**
  460. * @return SnapshotDefinition
  461. */
  462. public function getSnapshotDefinition()
  463. {
  464. return $this->snapshotDefinition;
  465. }
  466. /**
  467. * @param Streamingbuffer
  468. */
  469. public function setStreamingBuffer(Streamingbuffer $streamingBuffer)
  470. {
  471. $this->streamingBuffer = $streamingBuffer;
  472. }
  473. /**
  474. * @return Streamingbuffer
  475. */
  476. public function getStreamingBuffer()
  477. {
  478. return $this->streamingBuffer;
  479. }
  480. /**
  481. * @param TableReference
  482. */
  483. public function setTableReference(TableReference $tableReference)
  484. {
  485. $this->tableReference = $tableReference;
  486. }
  487. /**
  488. * @return TableReference
  489. */
  490. public function getTableReference()
  491. {
  492. return $this->tableReference;
  493. }
  494. /**
  495. * @param TimePartitioning
  496. */
  497. public function setTimePartitioning(TimePartitioning $timePartitioning)
  498. {
  499. $this->timePartitioning = $timePartitioning;
  500. }
  501. /**
  502. * @return TimePartitioning
  503. */
  504. public function getTimePartitioning()
  505. {
  506. return $this->timePartitioning;
  507. }
  508. /**
  509. * @param string
  510. */
  511. public function setType($type)
  512. {
  513. $this->type = $type;
  514. }
  515. /**
  516. * @return string
  517. */
  518. public function getType()
  519. {
  520. return $this->type;
  521. }
  522. /**
  523. * @param ViewDefinition
  524. */
  525. public function setView(ViewDefinition $view)
  526. {
  527. $this->view = $view;
  528. }
  529. /**
  530. * @return ViewDefinition
  531. */
  532. public function getView()
  533. {
  534. return $this->view;
  535. }
  536. }
  537. // Adding a class alias for backwards compatibility with the previous class name.
  538. class_alias(Table::class, 'Google_Service_Bigquery_Table');