← All changes
|
includes/sdk/google/google/common-protos/src/Api/SourceInfo.php
+10
-10
1.0.2
→
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/source_info.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 | * Source information used to create a Service Config |
| 12 | 12 | * |
| 13 | 13 | * Generated from protobuf message <code>google.api.SourceInfo</code> |
| 14 | 14 | */ |
| 15 | -class SourceInfo extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 15 | +class SourceInfo extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * All files used during config generation. |
| 19 | 19 | * |
| @@ -25,15 +25,15 @@ | ||
| 25 | 25 | * |
| 26 | 26 | * @param array $data { |
| 27 | 27 | * Optional. Data for populating the Message object. |
| 28 | 28 | * |
| 29 | - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $source_files | |
| 29 | + * @type \Google\Protobuf\Any[] $source_files | |
| 30 | 30 | * All files used during config generation. |
| 31 | 31 | * } |
| 32 | 32 | */ |
| 33 | 33 | public function __construct($data = NULL) |
| 34 | 34 | { |
| 35 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\SourceInfo::initOnce(); | |
| 35 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\SourceInfo::initOnce(); | |
| 36 | 36 | parent::__construct($data); |
| 37 | 37 | } |
| 38 | 38 | /** |
| 39 | 39 | * All files used during config generation. |
| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | /** |
| 39 | 39 | * All files used during config generation. |
| 40 | 40 | * |
| 41 | 41 | * Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code> |
| 42 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 42 | + * @return RepeatedField<\Google\Protobuf\Any> | |
| 43 | 43 | */ |
| 44 | 44 | public function getSourceFiles() |
| 45 | 45 | { |
| 46 | 46 | return $this->source_files; |
| @@ -48,14 +48,14 @@ | ||
| 48 | 48 | /** |
| 49 | 49 | * All files used during config generation. |
| 50 | 50 | * |
| 51 | 51 | * Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code> |
| 52 | - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var | |
| 52 | + * @param \Google\Protobuf\Any[] $var | |
| 53 | 53 | * @return $this |
| 54 | 54 | */ |
| 55 | 55 | public function setSourceFiles($var) |
| 56 | 56 | { |
| 57 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Any::class); | |
| 57 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class); | |
| 58 | 58 | $this->source_files = $arr; |
| 59 | 59 | return $this; |
| 60 | 60 | } |
| 61 | 61 | } |