PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
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
← All changes | includes/sdk/google/google/protobuf/src/Google/Protobuf/Value.php +10 -9 1.2.4 → 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/struct.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 * `Value` represents a dynamically typed value which can be either
12 13 * null, a number, a string, a boolean, a recursive struct value, or a
13 14 * list of values. A producer of value is expected to set one of these
@@ -15,9 +16,9 @@
15 16 * The JSON representation for `Value` is JSON value.
16 17 *
17 18 * Generated from protobuf message <code>google.protobuf.Value</code>
18 19 */
19 -class Value extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
20 +class Value extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
20 21 {
21 22 protected $kind;
22 23 /**
23 24 * Constructor.
@@ -40,9 +41,9 @@
40 41 * }
41 42 */
42 43 public function __construct($data = NULL)
43 44 {
44 - \Dudlewebs\WPMCS\GPBMetadata\Google\Protobuf\Struct::initOnce();
45 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Protobuf\Struct::initOnce();
45 46 parent::__construct($data);
46 47 }
47 48 /**
48 49 * Represents a null value.
@@ -66,9 +67,9 @@
66 67 * @return $this
67 68 */
68 69 public function setNullValue($var)
69 70 {
70 - GPBUtil::checkEnum($var, \Dudlewebs\WPMCS\Google\Protobuf\NullValue::class);
71 + GPBUtil::checkEnum($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\NullValue::class);
71 72 $this->writeOneof(1, $var);
72 73 return $this;
73 74 }
74 75 /**
@@ -174,9 +175,9 @@
174 175 * @return $this
175 176 */
176 177 public function setStructValue($var)
177 178 {
178 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\Struct::class);
179 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Struct::class);
179 180 $this->writeOneof(5, $var);
180 181 return $this;
181 182 }
182 183 /**
@@ -201,9 +202,9 @@
201 202 * @return $this
202 203 */
203 204 public function setListValue($var)
204 205 {
205 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\ListValue::class);
206 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\ListValue::class);
206 207 $this->writeOneof(6, $var);
207 208 return $this;
208 209 }
209 210 /**