← All changes
|
includes/sdk/google/google/common-protos/src/Api/DotnetSettings.php
+21
-21
1.2.7
→
1.4.2
View file →
| @@ -1,19 +1,19 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | 4 | # source: google/api/client.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Api; | |
| 5 | +namespace Dudlewebs\WPMCS\GCP\Google\Api; | |
| 6 | 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; | |
| 7 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; | |
| 10 | 10 | /** |
| 11 | 11 | * Settings for Dotnet client libraries. |
| 12 | 12 | * |
| 13 | 13 | * Generated from protobuf message <code>google.api.DotnetSettings</code> |
| 14 | 14 | */ |
| 15 | -class DotnetSettings extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 15 | +class DotnetSettings extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * Some settings. |
| 19 | 19 | * |
| @@ -84,18 +84,18 @@ | ||
| 84 | 84 | * for the resource. This is used when otherwise resource |
| 85 | 85 | * named from different services would cause naming collisions. |
| 86 | 86 | * Example entry: |
| 87 | 87 | * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" |
| 88 | - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $ignored_resources | |
| 88 | + * @type string[] $ignored_resources | |
| 89 | 89 | * List of full resource types to ignore during generation. |
| 90 | 90 | * This is typically used for API-specific Location resources, |
| 91 | 91 | * which should be handled by the generator as if they were actually |
| 92 | 92 | * the common Location resources. |
| 93 | 93 | * Example entry: "documentai.googleapis.com/Location" |
| 94 | - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases | |
| 94 | + * @type string[] $forced_namespace_aliases | |
| 95 | 95 | * Namespaces which must be aliased in snippets due to |
| 96 | 96 | * a known (but non-generator-predictable) naming collision |
| 97 | - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures | |
| 97 | + * @type string[] $handwritten_signatures | |
| 98 | 98 | * Method signatures (in the form "service.method(signature)") |
| 99 | 99 | * which are provided separately, so shouldn't be generated. |
| 100 | 100 | * Snippets *calling* these methods are still generated, however. |
| 101 | 101 | * } |
| @@ -101,9 +101,9 @@ | ||
| 101 | 101 | * } |
| 102 | 102 | */ |
| 103 | 103 | public function __construct($data = NULL) |
| 104 | 104 | { |
| 105 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Client::initOnce(); | |
| 105 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Client::initOnce(); | |
| 106 | 106 | parent::__construct($data); |
| 107 | 107 | } |
| 108 | 108 | /** |
| 109 | 109 | * Some settings. |
| @@ -131,9 +131,9 @@ | ||
| 131 | 131 | * @return $this |
| 132 | 132 | */ |
| 133 | 133 | public function setCommon($var) |
| 134 | 134 | { |
| 135 | - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\CommonLanguageSettings::class); | |
| 135 | + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\CommonLanguageSettings::class); | |
| 136 | 136 | $this->common = $var; |
| 137 | 137 | return $this; |
| 138 | 138 | } |
| 139 | 139 | /** |
| @@ -162,9 +162,9 @@ | ||
| 162 | 162 | * @return $this |
| 163 | 163 | */ |
| 164 | 164 | public function setRenamedServices($var) |
| 165 | 165 | { |
| 166 | - $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 166 | + $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 167 | 167 | $this->renamed_services = $arr; |
| 168 | 168 | return $this; |
| 169 | 169 | } |
| 170 | 170 | /** |
| @@ -193,9 +193,9 @@ | ||
| 193 | 193 | * @return $this |
| 194 | 194 | */ |
| 195 | 195 | public function setRenamedResources($var) |
| 196 | 196 | { |
| 197 | - $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 197 | + $arr = GPBUtil::checkMapField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 198 | 198 | $this->renamed_resources = $arr; |
| 199 | 199 | return $this; |
| 200 | 200 | } |
| 201 | 201 | /** |
| @@ -205,9 +205,9 @@ | ||
| 205 | 205 | * the common Location resources. |
| 206 | 206 | * Example entry: "documentai.googleapis.com/Location" |
| 207 | 207 | * |
| 208 | 208 | * Generated from protobuf field <code>repeated string ignored_resources = 4;</code> |
| 209 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 209 | + * @return RepeatedField<string> | |
| 210 | 210 | */ |
| 211 | 211 | public function getIgnoredResources() |
| 212 | 212 | { |
| 213 | 213 | return $this->ignored_resources; |
| @@ -219,14 +219,14 @@ | ||
| 219 | 219 | * the common Location resources. |
| 220 | 220 | * Example entry: "documentai.googleapis.com/Location" |
| 221 | 221 | * |
| 222 | 222 | * Generated from protobuf field <code>repeated string ignored_resources = 4;</code> |
| 223 | - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var | |
| 223 | + * @param string[] $var | |
| 224 | 224 | * @return $this |
| 225 | 225 | */ |
| 226 | 226 | public function setIgnoredResources($var) |
| 227 | 227 | { |
| 228 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 228 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 229 | 229 | $this->ignored_resources = $arr; |
| 230 | 230 | return $this; |
| 231 | 231 | } |
| 232 | 232 | /** |
| @@ -233,9 +233,9 @@ | ||
| 233 | 233 | * Namespaces which must be aliased in snippets due to |
| 234 | 234 | * a known (but non-generator-predictable) naming collision |
| 235 | 235 | * |
| 236 | 236 | * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code> |
| 237 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 237 | + * @return RepeatedField<string> | |
| 238 | 238 | */ |
| 239 | 239 | public function getForcedNamespaceAliases() |
| 240 | 240 | { |
| 241 | 241 | return $this->forced_namespace_aliases; |
| @@ -244,14 +244,14 @@ | ||
| 244 | 244 | * Namespaces which must be aliased in snippets due to |
| 245 | 245 | * a known (but non-generator-predictable) naming collision |
| 246 | 246 | * |
| 247 | 247 | * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code> |
| 248 | - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var | |
| 248 | + * @param string[] $var | |
| 249 | 249 | * @return $this |
| 250 | 250 | */ |
| 251 | 251 | public function setForcedNamespaceAliases($var) |
| 252 | 252 | { |
| 253 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 253 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 254 | 254 | $this->forced_namespace_aliases = $arr; |
| 255 | 255 | return $this; |
| 256 | 256 | } |
| 257 | 257 | /** |
| @@ -259,9 +259,9 @@ | ||
| 259 | 259 | * which are provided separately, so shouldn't be generated. |
| 260 | 260 | * Snippets *calling* these methods are still generated, however. |
| 261 | 261 | * |
| 262 | 262 | * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code> |
| 263 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 263 | + * @return RepeatedField<string> | |
| 264 | 264 | */ |
| 265 | 265 | public function getHandwrittenSignatures() |
| 266 | 266 | { |
| 267 | 267 | return $this->handwritten_signatures; |
| @@ -271,14 +271,14 @@ | ||
| 271 | 271 | * which are provided separately, so shouldn't be generated. |
| 272 | 272 | * Snippets *calling* these methods are still generated, however. |
| 273 | 273 | * |
| 274 | 274 | * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code> |
| 275 | - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var | |
| 275 | + * @param string[] $var | |
| 276 | 276 | * @return $this |
| 277 | 277 | */ |
| 278 | 278 | public function setHandwrittenSignatures($var) |
| 279 | 279 | { |
| 280 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 280 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 281 | 281 | $this->handwritten_signatures = $arr; |
| 282 | 282 | return $this; |
| 283 | 283 | } |
| 284 | 284 | } |