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\Datastream;
|
---|
19 |
|
---|
20 | class OracleSourceConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $binaryLogParserType = BinaryLogParser::class;
|
---|
23 | protected $binaryLogParserDataType = '';
|
---|
24 | protected $dropLargeObjectsType = DropLargeObjects::class;
|
---|
25 | protected $dropLargeObjectsDataType = '';
|
---|
26 | protected $excludeObjectsType = OracleRdbms::class;
|
---|
27 | protected $excludeObjectsDataType = '';
|
---|
28 | protected $includeObjectsType = OracleRdbms::class;
|
---|
29 | protected $includeObjectsDataType = '';
|
---|
30 | protected $logMinerType = LogMiner::class;
|
---|
31 | protected $logMinerDataType = '';
|
---|
32 | /**
|
---|
33 | * @var int
|
---|
34 | */
|
---|
35 | public $maxConcurrentBackfillTasks;
|
---|
36 | /**
|
---|
37 | * @var int
|
---|
38 | */
|
---|
39 | public $maxConcurrentCdcTasks;
|
---|
40 | protected $streamLargeObjectsType = StreamLargeObjects::class;
|
---|
41 | protected $streamLargeObjectsDataType = '';
|
---|
42 |
|
---|
43 | /**
|
---|
44 | * @param BinaryLogParser
|
---|
45 | */
|
---|
46 | public function setBinaryLogParser(BinaryLogParser $binaryLogParser)
|
---|
47 | {
|
---|
48 | $this->binaryLogParser = $binaryLogParser;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @return BinaryLogParser
|
---|
52 | */
|
---|
53 | public function getBinaryLogParser()
|
---|
54 | {
|
---|
55 | return $this->binaryLogParser;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @param DropLargeObjects
|
---|
59 | */
|
---|
60 | public function setDropLargeObjects(DropLargeObjects $dropLargeObjects)
|
---|
61 | {
|
---|
62 | $this->dropLargeObjects = $dropLargeObjects;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return DropLargeObjects
|
---|
66 | */
|
---|
67 | public function getDropLargeObjects()
|
---|
68 | {
|
---|
69 | return $this->dropLargeObjects;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param OracleRdbms
|
---|
73 | */
|
---|
74 | public function setExcludeObjects(OracleRdbms $excludeObjects)
|
---|
75 | {
|
---|
76 | $this->excludeObjects = $excludeObjects;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return OracleRdbms
|
---|
80 | */
|
---|
81 | public function getExcludeObjects()
|
---|
82 | {
|
---|
83 | return $this->excludeObjects;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param OracleRdbms
|
---|
87 | */
|
---|
88 | public function setIncludeObjects(OracleRdbms $includeObjects)
|
---|
89 | {
|
---|
90 | $this->includeObjects = $includeObjects;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return OracleRdbms
|
---|
94 | */
|
---|
95 | public function getIncludeObjects()
|
---|
96 | {
|
---|
97 | return $this->includeObjects;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param LogMiner
|
---|
101 | */
|
---|
102 | public function setLogMiner(LogMiner $logMiner)
|
---|
103 | {
|
---|
104 | $this->logMiner = $logMiner;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return LogMiner
|
---|
108 | */
|
---|
109 | public function getLogMiner()
|
---|
110 | {
|
---|
111 | return $this->logMiner;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param int
|
---|
115 | */
|
---|
116 | public function setMaxConcurrentBackfillTasks($maxConcurrentBackfillTasks)
|
---|
117 | {
|
---|
118 | $this->maxConcurrentBackfillTasks = $maxConcurrentBackfillTasks;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return int
|
---|
122 | */
|
---|
123 | public function getMaxConcurrentBackfillTasks()
|
---|
124 | {
|
---|
125 | return $this->maxConcurrentBackfillTasks;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param int
|
---|
129 | */
|
---|
130 | public function setMaxConcurrentCdcTasks($maxConcurrentCdcTasks)
|
---|
131 | {
|
---|
132 | $this->maxConcurrentCdcTasks = $maxConcurrentCdcTasks;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return int
|
---|
136 | */
|
---|
137 | public function getMaxConcurrentCdcTasks()
|
---|
138 | {
|
---|
139 | return $this->maxConcurrentCdcTasks;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param StreamLargeObjects
|
---|
143 | */
|
---|
144 | public function setStreamLargeObjects(StreamLargeObjects $streamLargeObjects)
|
---|
145 | {
|
---|
146 | $this->streamLargeObjects = $streamLargeObjects;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return StreamLargeObjects
|
---|
150 | */
|
---|
151 | public function getStreamLargeObjects()
|
---|
152 | {
|
---|
153 | return $this->streamLargeObjects;
|
---|
154 | }
|
---|
155 | }
|
---|
156 |
|
---|
157 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
158 | class_alias(OracleSourceConfig::class, 'Google_Service_Datastream_OracleSourceConfig');
|
---|