PluginProbe
Media Cloud Sync / 1.2.10
Media Cloud Sync v1.2.10
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / common-protos / src / Api / DotnetSettings.php

DotnetSettings.php in Media Cloud Sync 1.2.10, at includes/sdk/google/google/common-protos/src/Api/DotnetSettings.php

285 lines 11.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/api/client.proto
5 namespace Dudlewebs\WPMCS\Google\Api;
6
7 use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType;
8 use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField;
9 use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil;
10 /**
11 * Settings for Dotnet client libraries.
12 *
13 * Generated from protobuf message <code>google.api.DotnetSettings</code>
14 */
15 class DotnetSettings extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
16 {
17 /**
18 * Some settings.
19 *
20 * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
21 */
22 protected $common = null;
23 /**
24 * Map from original service names to renamed versions.
25 * This is used when the default generated types
26 * would cause a naming conflict. (Neither name is
27 * fully-qualified.)
28 * Example: Subscriber to SubscriberServiceApi.
29 *
30 * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
31 */
32 private $renamed_services;
33 /**
34 * Map from full resource types to the effective short name
35 * for the resource. This is used when otherwise resource
36 * named from different services would cause naming collisions.
37 * Example entry:
38 * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
39 *
40 * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
41 */
42 private $renamed_resources;
43 /**
44 * List of full resource types to ignore during generation.
45 * This is typically used for API-specific Location resources,
46 * which should be handled by the generator as if they were actually
47 * the common Location resources.
48 * Example entry: "documentai.googleapis.com/Location"
49 *
50 * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
51 */
52 private $ignored_resources;
53 /**
54 * Namespaces which must be aliased in snippets due to
55 * a known (but non-generator-predictable) naming collision
56 *
57 * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
58 */
59 private $forced_namespace_aliases;
60 /**
61 * Method signatures (in the form "service.method(signature)")
62 * which are provided separately, so shouldn't be generated.
63 * Snippets *calling* these methods are still generated, however.
64 *
65 * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
66 */
67 private $handwritten_signatures;
68 /**
69 * Constructor.
70 *
71 * @param array $data {
72 * Optional. Data for populating the Message object.
73 *
74 * @type \Google\Api\CommonLanguageSettings $common
75 * Some settings.
76 * @type array|\Google\Protobuf\Internal\MapField $renamed_services
77 * Map from original service names to renamed versions.
78 * This is used when the default generated types
79 * would cause a naming conflict. (Neither name is
80 * fully-qualified.)
81 * Example: Subscriber to SubscriberServiceApi.
82 * @type array|\Google\Protobuf\Internal\MapField $renamed_resources
83 * Map from full resource types to the effective short name
84 * for the resource. This is used when otherwise resource
85 * named from different services would cause naming collisions.
86 * Example entry:
87 * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
88 * @type array<string>|\Google\Protobuf\Internal\RepeatedField $ignored_resources
89 * List of full resource types to ignore during generation.
90 * This is typically used for API-specific Location resources,
91 * which should be handled by the generator as if they were actually
92 * the common Location resources.
93 * Example entry: "documentai.googleapis.com/Location"
94 * @type array<string>|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases
95 * Namespaces which must be aliased in snippets due to
96 * a known (but non-generator-predictable) naming collision
97 * @type array<string>|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures
98 * Method signatures (in the form "service.method(signature)")
99 * which are provided separately, so shouldn't be generated.
100 * Snippets *calling* these methods are still generated, however.
101 * }
102 */
103 public function __construct($data = NULL)
104 {
105 \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Client::initOnce();
106 parent::__construct($data);
107 }
108 /**
109 * Some settings.
110 *
111 * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
112 * @return \Google\Api\CommonLanguageSettings|null
113 */
114 public function getCommon()
115 {
116 return $this->common;
117 }
118 public function hasCommon()
119 {
120 return isset($this->common);
121 }
122 public function clearCommon()
123 {
124 unset($this->common);
125 }
126 /**
127 * Some settings.
128 *
129 * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
130 * @param \Google\Api\CommonLanguageSettings $var
131 * @return $this
132 */
133 public function setCommon($var)
134 {
135 GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\CommonLanguageSettings::class);
136 $this->common = $var;
137 return $this;
138 }
139 /**
140 * Map from original service names to renamed versions.
141 * This is used when the default generated types
142 * would cause a naming conflict. (Neither name is
143 * fully-qualified.)
144 * Example: Subscriber to SubscriberServiceApi.
145 *
146 * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
147 * @return \Google\Protobuf\Internal\MapField
148 */
149 public function getRenamedServices()
150 {
151 return $this->renamed_services;
152 }
153 /**
154 * Map from original service names to renamed versions.
155 * This is used when the default generated types
156 * would cause a naming conflict. (Neither name is
157 * fully-qualified.)
158 * Example: Subscriber to SubscriberServiceApi.
159 *
160 * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
161 * @param array|\Google\Protobuf\Internal\MapField $var
162 * @return $this
163 */
164 public function setRenamedServices($var)
165 {
166 $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
167 $this->renamed_services = $arr;
168 return $this;
169 }
170 /**
171 * Map from full resource types to the effective short name
172 * for the resource. This is used when otherwise resource
173 * named from different services would cause naming collisions.
174 * Example entry:
175 * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
176 *
177 * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
178 * @return \Google\Protobuf\Internal\MapField
179 */
180 public function getRenamedResources()
181 {
182 return $this->renamed_resources;
183 }
184 /**
185 * Map from full resource types to the effective short name
186 * for the resource. This is used when otherwise resource
187 * named from different services would cause naming collisions.
188 * Example entry:
189 * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
190 *
191 * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
192 * @param array|\Google\Protobuf\Internal\MapField $var
193 * @return $this
194 */
195 public function setRenamedResources($var)
196 {
197 $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
198 $this->renamed_resources = $arr;
199 return $this;
200 }
201 /**
202 * List of full resource types to ignore during generation.
203 * This is typically used for API-specific Location resources,
204 * which should be handled by the generator as if they were actually
205 * the common Location resources.
206 * Example entry: "documentai.googleapis.com/Location"
207 *
208 * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
209 * @return \Google\Protobuf\Internal\RepeatedField
210 */
211 public function getIgnoredResources()
212 {
213 return $this->ignored_resources;
214 }
215 /**
216 * List of full resource types to ignore during generation.
217 * This is typically used for API-specific Location resources,
218 * which should be handled by the generator as if they were actually
219 * the common Location resources.
220 * Example entry: "documentai.googleapis.com/Location"
221 *
222 * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
223 * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
224 * @return $this
225 */
226 public function setIgnoredResources($var)
227 {
228 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
229 $this->ignored_resources = $arr;
230 return $this;
231 }
232 /**
233 * Namespaces which must be aliased in snippets due to
234 * a known (but non-generator-predictable) naming collision
235 *
236 * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
237 * @return \Google\Protobuf\Internal\RepeatedField
238 */
239 public function getForcedNamespaceAliases()
240 {
241 return $this->forced_namespace_aliases;
242 }
243 /**
244 * Namespaces which must be aliased in snippets due to
245 * a known (but non-generator-predictable) naming collision
246 *
247 * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
248 * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
249 * @return $this
250 */
251 public function setForcedNamespaceAliases($var)
252 {
253 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
254 $this->forced_namespace_aliases = $arr;
255 return $this;
256 }
257 /**
258 * Method signatures (in the form "service.method(signature)")
259 * which are provided separately, so shouldn't be generated.
260 * Snippets *calling* these methods are still generated, however.
261 *
262 * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
263 * @return \Google\Protobuf\Internal\RepeatedField
264 */
265 public function getHandwrittenSignatures()
266 {
267 return $this->handwritten_signatures;
268 }
269 /**
270 * Method signatures (in the form "service.method(signature)")
271 * which are provided separately, so shouldn't be generated.
272 * Snippets *calling* these methods are still generated, however.
273 *
274 * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
275 * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
276 * @return $this
277 */
278 public function setHandwrittenSignatures($var)
279 {
280 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING);
281 $this->handwritten_signatures = $arr;
282 return $this;
283 }
284 }
285