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\CloudDataplex;
|
---|
19 |
|
---|
20 | class GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'topNValues';
|
---|
23 | public $distinctRatio;
|
---|
24 | protected $doubleProfileType = GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo::class;
|
---|
25 | protected $doubleProfileDataType = '';
|
---|
26 | protected $integerProfileType = GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo::class;
|
---|
27 | protected $integerProfileDataType = '';
|
---|
28 | public $nullRatio;
|
---|
29 | protected $stringProfileType = GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo::class;
|
---|
30 | protected $stringProfileDataType = '';
|
---|
31 | protected $topNValuesType = GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue::class;
|
---|
32 | protected $topNValuesDataType = 'array';
|
---|
33 |
|
---|
34 | public function setDistinctRatio($distinctRatio)
|
---|
35 | {
|
---|
36 | $this->distinctRatio = $distinctRatio;
|
---|
37 | }
|
---|
38 | public function getDistinctRatio()
|
---|
39 | {
|
---|
40 | return $this->distinctRatio;
|
---|
41 | }
|
---|
42 | /**
|
---|
43 | * @param GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
|
---|
44 | */
|
---|
45 | public function setDoubleProfile(GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo $doubleProfile)
|
---|
46 | {
|
---|
47 | $this->doubleProfile = $doubleProfile;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * @return GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo
|
---|
51 | */
|
---|
52 | public function getDoubleProfile()
|
---|
53 | {
|
---|
54 | return $this->doubleProfile;
|
---|
55 | }
|
---|
56 | /**
|
---|
57 | * @param GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
|
---|
58 | */
|
---|
59 | public function setIntegerProfile(GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo $integerProfile)
|
---|
60 | {
|
---|
61 | $this->integerProfile = $integerProfile;
|
---|
62 | }
|
---|
63 | /**
|
---|
64 | * @return GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo
|
---|
65 | */
|
---|
66 | public function getIntegerProfile()
|
---|
67 | {
|
---|
68 | return $this->integerProfile;
|
---|
69 | }
|
---|
70 | public function setNullRatio($nullRatio)
|
---|
71 | {
|
---|
72 | $this->nullRatio = $nullRatio;
|
---|
73 | }
|
---|
74 | public function getNullRatio()
|
---|
75 | {
|
---|
76 | return $this->nullRatio;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
|
---|
80 | */
|
---|
81 | public function setStringProfile(GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo $stringProfile)
|
---|
82 | {
|
---|
83 | $this->stringProfile = $stringProfile;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
|
---|
87 | */
|
---|
88 | public function getStringProfile()
|
---|
89 | {
|
---|
90 | return $this->stringProfile;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue[]
|
---|
94 | */
|
---|
95 | public function setTopNValues($topNValues)
|
---|
96 | {
|
---|
97 | $this->topNValues = $topNValues;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue[]
|
---|
101 | */
|
---|
102 | public function getTopNValues()
|
---|
103 | {
|
---|
104 | return $this->topNValues;
|
---|
105 | }
|
---|
106 | }
|
---|
107 |
|
---|
108 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
109 | class_alias(GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo');
|
---|