← All changes
|
includes/sdk/google/google/common-protos/src/Api/Backend.php
+10
-10
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/backend.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 | * `Backend` defines the backend configuration for a service. |
| 12 | 12 | * |
| 13 | 13 | * Generated from protobuf message <code>google.api.Backend</code> |
| 14 | 14 | */ |
| 15 | -class Backend extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 15 | +class Backend extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * A list of API backend rules that apply to individual API methods. |
| 19 | 19 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| @@ -26,9 +26,9 @@ | ||
| 26 | 26 | * |
| 27 | 27 | * @param array $data { |
| 28 | 28 | * Optional. Data for populating the Message object. |
| 29 | 29 | * |
| 30 | - * @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules | |
| 30 | + * @type \Google\Api\BackendRule[] $rules | |
| 31 | 31 | * A list of API backend rules that apply to individual API methods. |
| 32 | 32 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 33 | 33 | * } |
| 34 | 34 | */ |
| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | * } |
| 34 | 34 | */ |
| 35 | 35 | public function __construct($data = NULL) |
| 36 | 36 | { |
| 37 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Backend::initOnce(); | |
| 37 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Backend::initOnce(); | |
| 38 | 38 | parent::__construct($data); |
| 39 | 39 | } |
| 40 | 40 | /** |
| 41 | 41 | * A list of API backend rules that apply to individual API methods. |
| @@ -41,9 +41,9 @@ | ||
| 41 | 41 | * A list of API backend rules that apply to individual API methods. |
| 42 | 42 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 43 | 43 | * |
| 44 | 44 | * Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code> |
| 45 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 45 | + * @return RepeatedField<\Google\Api\BackendRule> | |
| 46 | 46 | */ |
| 47 | 47 | public function getRules() |
| 48 | 48 | { |
| 49 | 49 | return $this->rules; |
| @@ -52,14 +52,14 @@ | ||
| 52 | 52 | * A list of API backend rules that apply to individual API methods. |
| 53 | 53 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 54 | 54 | * |
| 55 | 55 | * Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code> |
| 56 | - * @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var | |
| 56 | + * @param \Google\Api\BackendRule[] $var | |
| 57 | 57 | * @return $this |
| 58 | 58 | */ |
| 59 | 59 | public function setRules($var) |
| 60 | 60 | { |
| 61 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\BackendRule::class); | |
| 61 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\BackendRule::class); | |
| 62 | 62 | $this->rules = $arr; |
| 63 | 63 | return $this; |
| 64 | 64 | } |
| 65 | 65 | } |