← All changes
|
includes/sdk/google/google/protobuf/src/Google/Protobuf/FieldMask.php
+11
-10
1.0.1
→
1.4.2
View file →
| @@ -1,13 +1,14 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | +# NO CHECKED-IN PROTOBUF GENCODE | |
| 4 | 5 | # source: google/protobuf/field_mask.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Protobuf; | |
| 6 | +namespace Dudlewebs\WPMCS\GCP\Google\Protobuf; | |
| 6 | 7 | |
| 7 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; | |
| 8 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; | |
| 9 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; | |
| 10 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; | |
| 10 | 11 | /** |
| 11 | 12 | * `FieldMask` represents a set of symbolic field paths, for example: |
| 12 | 13 | * paths: "f.a" |
| 13 | 14 | * paths: "f.b.d" |
| @@ -161,9 +162,9 @@ | ||
| 161 | 162 | * `INVALID_ARGUMENT` error if any path is unmappable. |
| 162 | 163 | * |
| 163 | 164 | * Generated from protobuf message <code>google.protobuf.FieldMask</code> |
| 164 | 165 | */ |
| 165 | -class FieldMask extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 166 | +class FieldMask extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 166 | 167 | { |
| 167 | 168 | /** |
| 168 | 169 | * The set of field mask paths. |
| 169 | 170 | * |
| @@ -175,15 +176,15 @@ | ||
| 175 | 176 | * |
| 176 | 177 | * @param array $data { |
| 177 | 178 | * Optional. Data for populating the Message object. |
| 178 | 179 | * |
| 179 | - * @type array<string>|\Google\Protobuf\Internal\RepeatedField $paths | |
| 180 | + * @type string[] $paths | |
| 180 | 181 | * The set of field mask paths. |
| 181 | 182 | * } |
| 182 | 183 | */ |
| 183 | 184 | public function __construct($data = NULL) |
| 184 | 185 | { |
| 185 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Protobuf\FieldMask::initOnce(); | |
| 186 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Protobuf\FieldMask::initOnce(); | |
| 186 | 187 | parent::__construct($data); |
| 187 | 188 | } |
| 188 | 189 | /** |
| 189 | 190 | * The set of field mask paths. |
| @@ -188,9 +189,9 @@ | ||
| 188 | 189 | /** |
| 189 | 190 | * The set of field mask paths. |
| 190 | 191 | * |
| 191 | 192 | * Generated from protobuf field <code>repeated string paths = 1;</code> |
| 192 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 193 | + * @return RepeatedField<string> | |
| 193 | 194 | */ |
| 194 | 195 | public function getPaths() |
| 195 | 196 | { |
| 196 | 197 | return $this->paths; |
| @@ -198,14 +199,14 @@ | ||
| 198 | 199 | /** |
| 199 | 200 | * The set of field mask paths. |
| 200 | 201 | * |
| 201 | 202 | * Generated from protobuf field <code>repeated string paths = 1;</code> |
| 202 | - * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var | |
| 203 | + * @param string[] $var | |
| 203 | 204 | * @return $this |
| 204 | 205 | */ |
| 205 | 206 | public function setPaths($var) |
| 206 | 207 | { |
| 207 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::STRING); | |
| 208 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::STRING); | |
| 208 | 209 | $this->paths = $arr; |
| 209 | 210 | return $this; |
| 210 | 211 | } |
| 211 | 212 | } |