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\DataCatalog;
|
---|
19 |
|
---|
20 | class GoogleCloudDatacatalogV1PhysicalSchema extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $avroType = GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema::class;
|
---|
23 | protected $avroDataType = '';
|
---|
24 | protected $csvType = GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema::class;
|
---|
25 | protected $csvDataType = '';
|
---|
26 | protected $orcType = GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema::class;
|
---|
27 | protected $orcDataType = '';
|
---|
28 | protected $parquetType = GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema::class;
|
---|
29 | protected $parquetDataType = '';
|
---|
30 | protected $protobufType = GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema::class;
|
---|
31 | protected $protobufDataType = '';
|
---|
32 | protected $thriftType = GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema::class;
|
---|
33 | protected $thriftDataType = '';
|
---|
34 |
|
---|
35 | /**
|
---|
36 | * @param GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
|
---|
37 | */
|
---|
38 | public function setAvro(GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema $avro)
|
---|
39 | {
|
---|
40 | $this->avro = $avro;
|
---|
41 | }
|
---|
42 | /**
|
---|
43 | * @return GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
|
---|
44 | */
|
---|
45 | public function getAvro()
|
---|
46 | {
|
---|
47 | return $this->avro;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @param GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
|
---|
51 | */
|
---|
52 | public function setCsv(GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema $csv)
|
---|
53 | {
|
---|
54 | $this->csv = $csv;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @return GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
|
---|
58 | */
|
---|
59 | public function getCsv()
|
---|
60 | {
|
---|
61 | return $this->csv;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @param GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
|
---|
65 | */
|
---|
66 | public function setOrc(GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema $orc)
|
---|
67 | {
|
---|
68 | $this->orc = $orc;
|
---|
69 | }
|
---|
70 | /**
|
---|
71 | * @return GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
|
---|
72 | */
|
---|
73 | public function getOrc()
|
---|
74 | {
|
---|
75 | return $this->orc;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @param GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
|
---|
79 | */
|
---|
80 | public function setParquet(GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema $parquet)
|
---|
81 | {
|
---|
82 | $this->parquet = $parquet;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @return GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
|
---|
86 | */
|
---|
87 | public function getParquet()
|
---|
88 | {
|
---|
89 | return $this->parquet;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @param GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
|
---|
93 | */
|
---|
94 | public function setProtobuf(GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema $protobuf)
|
---|
95 | {
|
---|
96 | $this->protobuf = $protobuf;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @return GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
|
---|
100 | */
|
---|
101 | public function getProtobuf()
|
---|
102 | {
|
---|
103 | return $this->protobuf;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @param GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
|
---|
107 | */
|
---|
108 | public function setThrift(GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema $thrift)
|
---|
109 | {
|
---|
110 | $this->thrift = $thrift;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @return GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
|
---|
114 | */
|
---|
115 | public function getThrift()
|
---|
116 | {
|
---|
117 | return $this->thrift;
|
---|
118 | }
|
---|
119 | }
|
---|
120 |
|
---|
121 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
122 | class_alias(GoogleCloudDatacatalogV1PhysicalSchema::class, 'Google_Service_DataCatalog_GoogleCloudDatacatalogV1PhysicalSchema');
|
---|