PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
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 1.2.9 All 35 releases
← All changes | includes/sdk/google/google/common-protos/src/Api/PythonSettings.php +46 -7 1.0.01.4.1 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/client.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 * Settings for Python client libraries.
12 12 *
13 13 * Generated from protobuf message <code>google.api.PythonSettings</code>
14 14 */
15 -class PythonSettings extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
15 +class PythonSettings extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
16 16 {
17 17 /**
18 18 * Some settings.
19 19 *
@@ -20,8 +20,14 @@
20 20 * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
21 21 */
22 22 protected $common = null;
23 23 /**
24 + * Experimental features to be included during client library generation.
25 + *
26 + * Generated from protobuf field <code>.google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;</code>
27 + */
28 + protected $experimental_features = null;
29 + /**
24 30 * Constructor.
25 31 *
26 32 * @param array $data {
27 33 * Optional. Data for populating the Message object.
@@ -27,13 +33,15 @@
27 33 * Optional. Data for populating the Message object.
28 34 *
29 35 * @type \Google\Api\CommonLanguageSettings $common
30 36 * Some settings.
37 + * @type \Google\Api\PythonSettings\ExperimentalFeatures $experimental_features
38 + * Experimental features to be included during client library generation.
31 39 * }
32 40 */
33 41 public function __construct($data = NULL)
34 42 {
35 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Client::initOnce();
43 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Client::initOnce();
36 44 parent::__construct($data);
37 45 }
38 46 /**
39 47 * Some settings.
@@ -61,9 +69,40 @@
61 69 * @return $this
62 70 */
63 71 public function setCommon($var)
64 72 {
65 - GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\CommonLanguageSettings::class);
73 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\CommonLanguageSettings::class);
66 74 $this->common = $var;
75 + return $this;
76 + }
77 + /**
78 + * Experimental features to be included during client library generation.
79 + *
80 + * Generated from protobuf field <code>.google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;</code>
81 + * @return \Google\Api\PythonSettings\ExperimentalFeatures|null
82 + */
83 + public function getExperimentalFeatures()
84 + {
85 + return $this->experimental_features;
86 + }
87 + public function hasExperimentalFeatures()
88 + {
89 + return isset($this->experimental_features);
90 + }
91 + public function clearExperimentalFeatures()
92 + {
93 + unset($this->experimental_features);
94 + }
95 + /**
96 + * Experimental features to be included during client library generation.
97 + *
98 + * Generated from protobuf field <code>.google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;</code>
99 + * @param \Google\Api\PythonSettings\ExperimentalFeatures $var
100 + * @return $this
101 + */
102 + public function setExperimentalFeatures($var)
103 + {
104 + GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\GCP\Google\Api\PythonSettings\ExperimentalFeatures::class);
105 + $this->experimental_features = $var;
67 106 return $this;
68 107 }
69 108 }