source: vendor/google/apiclient-services/src/Bigquery/JobConfigurationLoad.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 13.2 KB
Line 
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\Bigquery;
19
20class JobConfigurationLoad extends \Google\Collection
21{
22 protected $collection_key = 'sourceUris';
23 /**
24 * @var bool
25 */
26 public $allowJaggedRows;
27 /**
28 * @var bool
29 */
30 public $allowQuotedNewlines;
31 /**
32 * @var bool
33 */
34 public $autodetect;
35 protected $clusteringType = Clustering::class;
36 protected $clusteringDataType = '';
37 /**
38 * @var string
39 */
40 public $columnNameCharacterMap;
41 protected $connectionPropertiesType = ConnectionProperty::class;
42 protected $connectionPropertiesDataType = 'array';
43 /**
44 * @var bool
45 */
46 public $copyFilesOnly;
47 /**
48 * @var string
49 */
50 public $createDisposition;
51 /**
52 * @var bool
53 */
54 public $createSession;
55 /**
56 * @var string[]
57 */
58 public $decimalTargetTypes;
59 protected $destinationEncryptionConfigurationType = EncryptionConfiguration::class;
60 protected $destinationEncryptionConfigurationDataType = '';
61 protected $destinationTableType = TableReference::class;
62 protected $destinationTableDataType = '';
63 protected $destinationTablePropertiesType = DestinationTableProperties::class;
64 protected $destinationTablePropertiesDataType = '';
65 /**
66 * @var string
67 */
68 public $encoding;
69 /**
70 * @var string
71 */
72 public $fieldDelimiter;
73 /**
74 * @var string
75 */
76 public $fileSetSpecType;
77 protected $hivePartitioningOptionsType = HivePartitioningOptions::class;
78 protected $hivePartitioningOptionsDataType = '';
79 /**
80 * @var bool
81 */
82 public $ignoreUnknownValues;
83 /**
84 * @var string
85 */
86 public $jsonExtension;
87 /**
88 * @var int
89 */
90 public $maxBadRecords;
91 /**
92 * @var string
93 */
94 public $nullMarker;
95 protected $parquetOptionsType = ParquetOptions::class;
96 protected $parquetOptionsDataType = '';
97 /**
98 * @var bool
99 */
100 public $preserveAsciiControlCharacters;
101 /**
102 * @var string[]
103 */
104 public $projectionFields;
105 /**
106 * @var string
107 */
108 public $quote;
109 protected $rangePartitioningType = RangePartitioning::class;
110 protected $rangePartitioningDataType = '';
111 /**
112 * @var string
113 */
114 public $referenceFileSchemaUri;
115 protected $schemaType = TableSchema::class;
116 protected $schemaDataType = '';
117 /**
118 * @var string
119 */
120 public $schemaInline;
121 /**
122 * @var string
123 */
124 public $schemaInlineFormat;
125 /**
126 * @var string[]
127 */
128 public $schemaUpdateOptions;
129 /**
130 * @var int
131 */
132 public $skipLeadingRows;
133 /**
134 * @var string
135 */
136 public $sourceFormat;
137 /**
138 * @var string[]
139 */
140 public $sourceUris;
141 protected $timePartitioningType = TimePartitioning::class;
142 protected $timePartitioningDataType = '';
143 /**
144 * @var bool
145 */
146 public $useAvroLogicalTypes;
147 /**
148 * @var string
149 */
150 public $writeDisposition;
151
152 /**
153 * @param bool
154 */
155 public function setAllowJaggedRows($allowJaggedRows)
156 {
157 $this->allowJaggedRows = $allowJaggedRows;
158 }
159 /**
160 * @return bool
161 */
162 public function getAllowJaggedRows()
163 {
164 return $this->allowJaggedRows;
165 }
166 /**
167 * @param bool
168 */
169 public function setAllowQuotedNewlines($allowQuotedNewlines)
170 {
171 $this->allowQuotedNewlines = $allowQuotedNewlines;
172 }
173 /**
174 * @return bool
175 */
176 public function getAllowQuotedNewlines()
177 {
178 return $this->allowQuotedNewlines;
179 }
180 /**
181 * @param bool
182 */
183 public function setAutodetect($autodetect)
184 {
185 $this->autodetect = $autodetect;
186 }
187 /**
188 * @return bool
189 */
190 public function getAutodetect()
191 {
192 return $this->autodetect;
193 }
194 /**
195 * @param Clustering
196 */
197 public function setClustering(Clustering $clustering)
198 {
199 $this->clustering = $clustering;
200 }
201 /**
202 * @return Clustering
203 */
204 public function getClustering()
205 {
206 return $this->clustering;
207 }
208 /**
209 * @param string
210 */
211 public function setColumnNameCharacterMap($columnNameCharacterMap)
212 {
213 $this->columnNameCharacterMap = $columnNameCharacterMap;
214 }
215 /**
216 * @return string
217 */
218 public function getColumnNameCharacterMap()
219 {
220 return $this->columnNameCharacterMap;
221 }
222 /**
223 * @param ConnectionProperty[]
224 */
225 public function setConnectionProperties($connectionProperties)
226 {
227 $this->connectionProperties = $connectionProperties;
228 }
229 /**
230 * @return ConnectionProperty[]
231 */
232 public function getConnectionProperties()
233 {
234 return $this->connectionProperties;
235 }
236 /**
237 * @param bool
238 */
239 public function setCopyFilesOnly($copyFilesOnly)
240 {
241 $this->copyFilesOnly = $copyFilesOnly;
242 }
243 /**
244 * @return bool
245 */
246 public function getCopyFilesOnly()
247 {
248 return $this->copyFilesOnly;
249 }
250 /**
251 * @param string
252 */
253 public function setCreateDisposition($createDisposition)
254 {
255 $this->createDisposition = $createDisposition;
256 }
257 /**
258 * @return string
259 */
260 public function getCreateDisposition()
261 {
262 return $this->createDisposition;
263 }
264 /**
265 * @param bool
266 */
267 public function setCreateSession($createSession)
268 {
269 $this->createSession = $createSession;
270 }
271 /**
272 * @return bool
273 */
274 public function getCreateSession()
275 {
276 return $this->createSession;
277 }
278 /**
279 * @param string[]
280 */
281 public function setDecimalTargetTypes($decimalTargetTypes)
282 {
283 $this->decimalTargetTypes = $decimalTargetTypes;
284 }
285 /**
286 * @return string[]
287 */
288 public function getDecimalTargetTypes()
289 {
290 return $this->decimalTargetTypes;
291 }
292 /**
293 * @param EncryptionConfiguration
294 */
295 public function setDestinationEncryptionConfiguration(EncryptionConfiguration $destinationEncryptionConfiguration)
296 {
297 $this->destinationEncryptionConfiguration = $destinationEncryptionConfiguration;
298 }
299 /**
300 * @return EncryptionConfiguration
301 */
302 public function getDestinationEncryptionConfiguration()
303 {
304 return $this->destinationEncryptionConfiguration;
305 }
306 /**
307 * @param TableReference
308 */
309 public function setDestinationTable(TableReference $destinationTable)
310 {
311 $this->destinationTable = $destinationTable;
312 }
313 /**
314 * @return TableReference
315 */
316 public function getDestinationTable()
317 {
318 return $this->destinationTable;
319 }
320 /**
321 * @param DestinationTableProperties
322 */
323 public function setDestinationTableProperties(DestinationTableProperties $destinationTableProperties)
324 {
325 $this->destinationTableProperties = $destinationTableProperties;
326 }
327 /**
328 * @return DestinationTableProperties
329 */
330 public function getDestinationTableProperties()
331 {
332 return $this->destinationTableProperties;
333 }
334 /**
335 * @param string
336 */
337 public function setEncoding($encoding)
338 {
339 $this->encoding = $encoding;
340 }
341 /**
342 * @return string
343 */
344 public function getEncoding()
345 {
346 return $this->encoding;
347 }
348 /**
349 * @param string
350 */
351 public function setFieldDelimiter($fieldDelimiter)
352 {
353 $this->fieldDelimiter = $fieldDelimiter;
354 }
355 /**
356 * @return string
357 */
358 public function getFieldDelimiter()
359 {
360 return $this->fieldDelimiter;
361 }
362 /**
363 * @param string
364 */
365 public function setFileSetSpecType($fileSetSpecType)
366 {
367 $this->fileSetSpecType = $fileSetSpecType;
368 }
369 /**
370 * @return string
371 */
372 public function getFileSetSpecType()
373 {
374 return $this->fileSetSpecType;
375 }
376 /**
377 * @param HivePartitioningOptions
378 */
379 public function setHivePartitioningOptions(HivePartitioningOptions $hivePartitioningOptions)
380 {
381 $this->hivePartitioningOptions = $hivePartitioningOptions;
382 }
383 /**
384 * @return HivePartitioningOptions
385 */
386 public function getHivePartitioningOptions()
387 {
388 return $this->hivePartitioningOptions;
389 }
390 /**
391 * @param bool
392 */
393 public function setIgnoreUnknownValues($ignoreUnknownValues)
394 {
395 $this->ignoreUnknownValues = $ignoreUnknownValues;
396 }
397 /**
398 * @return bool
399 */
400 public function getIgnoreUnknownValues()
401 {
402 return $this->ignoreUnknownValues;
403 }
404 /**
405 * @param string
406 */
407 public function setJsonExtension($jsonExtension)
408 {
409 $this->jsonExtension = $jsonExtension;
410 }
411 /**
412 * @return string
413 */
414 public function getJsonExtension()
415 {
416 return $this->jsonExtension;
417 }
418 /**
419 * @param int
420 */
421 public function setMaxBadRecords($maxBadRecords)
422 {
423 $this->maxBadRecords = $maxBadRecords;
424 }
425 /**
426 * @return int
427 */
428 public function getMaxBadRecords()
429 {
430 return $this->maxBadRecords;
431 }
432 /**
433 * @param string
434 */
435 public function setNullMarker($nullMarker)
436 {
437 $this->nullMarker = $nullMarker;
438 }
439 /**
440 * @return string
441 */
442 public function getNullMarker()
443 {
444 return $this->nullMarker;
445 }
446 /**
447 * @param ParquetOptions
448 */
449 public function setParquetOptions(ParquetOptions $parquetOptions)
450 {
451 $this->parquetOptions = $parquetOptions;
452 }
453 /**
454 * @return ParquetOptions
455 */
456 public function getParquetOptions()
457 {
458 return $this->parquetOptions;
459 }
460 /**
461 * @param bool
462 */
463 public function setPreserveAsciiControlCharacters($preserveAsciiControlCharacters)
464 {
465 $this->preserveAsciiControlCharacters = $preserveAsciiControlCharacters;
466 }
467 /**
468 * @return bool
469 */
470 public function getPreserveAsciiControlCharacters()
471 {
472 return $this->preserveAsciiControlCharacters;
473 }
474 /**
475 * @param string[]
476 */
477 public function setProjectionFields($projectionFields)
478 {
479 $this->projectionFields = $projectionFields;
480 }
481 /**
482 * @return string[]
483 */
484 public function getProjectionFields()
485 {
486 return $this->projectionFields;
487 }
488 /**
489 * @param string
490 */
491 public function setQuote($quote)
492 {
493 $this->quote = $quote;
494 }
495 /**
496 * @return string
497 */
498 public function getQuote()
499 {
500 return $this->quote;
501 }
502 /**
503 * @param RangePartitioning
504 */
505 public function setRangePartitioning(RangePartitioning $rangePartitioning)
506 {
507 $this->rangePartitioning = $rangePartitioning;
508 }
509 /**
510 * @return RangePartitioning
511 */
512 public function getRangePartitioning()
513 {
514 return $this->rangePartitioning;
515 }
516 /**
517 * @param string
518 */
519 public function setReferenceFileSchemaUri($referenceFileSchemaUri)
520 {
521 $this->referenceFileSchemaUri = $referenceFileSchemaUri;
522 }
523 /**
524 * @return string
525 */
526 public function getReferenceFileSchemaUri()
527 {
528 return $this->referenceFileSchemaUri;
529 }
530 /**
531 * @param TableSchema
532 */
533 public function setSchema(TableSchema $schema)
534 {
535 $this->schema = $schema;
536 }
537 /**
538 * @return TableSchema
539 */
540 public function getSchema()
541 {
542 return $this->schema;
543 }
544 /**
545 * @param string
546 */
547 public function setSchemaInline($schemaInline)
548 {
549 $this->schemaInline = $schemaInline;
550 }
551 /**
552 * @return string
553 */
554 public function getSchemaInline()
555 {
556 return $this->schemaInline;
557 }
558 /**
559 * @param string
560 */
561 public function setSchemaInlineFormat($schemaInlineFormat)
562 {
563 $this->schemaInlineFormat = $schemaInlineFormat;
564 }
565 /**
566 * @return string
567 */
568 public function getSchemaInlineFormat()
569 {
570 return $this->schemaInlineFormat;
571 }
572 /**
573 * @param string[]
574 */
575 public function setSchemaUpdateOptions($schemaUpdateOptions)
576 {
577 $this->schemaUpdateOptions = $schemaUpdateOptions;
578 }
579 /**
580 * @return string[]
581 */
582 public function getSchemaUpdateOptions()
583 {
584 return $this->schemaUpdateOptions;
585 }
586 /**
587 * @param int
588 */
589 public function setSkipLeadingRows($skipLeadingRows)
590 {
591 $this->skipLeadingRows = $skipLeadingRows;
592 }
593 /**
594 * @return int
595 */
596 public function getSkipLeadingRows()
597 {
598 return $this->skipLeadingRows;
599 }
600 /**
601 * @param string
602 */
603 public function setSourceFormat($sourceFormat)
604 {
605 $this->sourceFormat = $sourceFormat;
606 }
607 /**
608 * @return string
609 */
610 public function getSourceFormat()
611 {
612 return $this->sourceFormat;
613 }
614 /**
615 * @param string[]
616 */
617 public function setSourceUris($sourceUris)
618 {
619 $this->sourceUris = $sourceUris;
620 }
621 /**
622 * @return string[]
623 */
624 public function getSourceUris()
625 {
626 return $this->sourceUris;
627 }
628 /**
629 * @param TimePartitioning
630 */
631 public function setTimePartitioning(TimePartitioning $timePartitioning)
632 {
633 $this->timePartitioning = $timePartitioning;
634 }
635 /**
636 * @return TimePartitioning
637 */
638 public function getTimePartitioning()
639 {
640 return $this->timePartitioning;
641 }
642 /**
643 * @param bool
644 */
645 public function setUseAvroLogicalTypes($useAvroLogicalTypes)
646 {
647 $this->useAvroLogicalTypes = $useAvroLogicalTypes;
648 }
649 /**
650 * @return bool
651 */
652 public function getUseAvroLogicalTypes()
653 {
654 return $this->useAvroLogicalTypes;
655 }
656 /**
657 * @param string
658 */
659 public function setWriteDisposition($writeDisposition)
660 {
661 $this->writeDisposition = $writeDisposition;
662 }
663 /**
664 * @return string
665 */
666 public function getWriteDisposition()
667 {
668 return $this->writeDisposition;
669 }
670}
671
672// Adding a class alias for backwards compatibility with the previous class name.
673class_alias(JobConfigurationLoad::class, 'Google_Service_Bigquery_JobConfigurationLoad');
Note: See TracBrowser for help on using the repository browser.