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/Option.php +11 -7 1.0.1 → 1.4.2 View file →
@@ -1,20 +1,24 @@
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/type.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 * A protocol buffer option, which can be attached to a message, field,
12 13 * enumeration, etc.
14 + * New usages of this message as an alternative to FileOptions, MessageOptions,
15 + * FieldOptions, EnumOptions, EnumValueOptions, ServiceOptions, or MethodOptions
16 + * are strongly discouraged.
13 17 *
14 18 * Generated from protobuf message <code>google.protobuf.Option</code>
15 19 */
16 -class Option extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
20 +class Option extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
17 21 {
18 22 /**
19 23 * The option's name. For protobuf built-in options (options defined in
20 24 * descriptor.proto), this is the short name. For example, `"map_entry"`.
@@ -52,9 +56,9 @@
52 56 * }
53 57 */
54 58 public function __construct($data = NULL)
55 59 {
56 - \Dudlewebs\WPMCS\GPBMetadata\Google\Protobuf\Type::initOnce();
60 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Protobuf\Type::initOnce();
57 61 parent::__construct($data);
58 62 }
59 63 /**
60 64 * The option's name. For protobuf built-in options (options defined in
@@ -117,9 +121,9 @@
117 121 * @return $this
118 122 */
119 123 public function setValue($var)
120 124 {
121 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Protobuf\Any::class);
125 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class);
122 126 $this->value = $var;
123 127 return $this;
124 128 }
125 129 }