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/common-protos/src/Api/ProjectProperties.php +10 -10 1.2.0 → 1.4.2 View file →
@@ -1,13 +1,13 @@
1 1 <?php
2 2
3 3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 4 # source: google/api/consumer.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 * A descriptor for defining project properties for a service. One service may
12 12 * have many consumer projects, and the service may want to behave differently
13 13 * depending on some properties on the project. For example, a project may be
@@ -24,9 +24,9 @@
24 24 * type: INT64
25 25 *
26 26 * Generated from protobuf message <code>google.api.ProjectProperties</code>
27 27 */
28 -class ProjectProperties extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
28 +class ProjectProperties extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
29 29 {
30 30 /**
31 31 * List of per consumer project-specific properties.
32 32 *
@@ -38,15 +38,15 @@
38 38 *
39 39 * @param array $data {
40 40 * Optional. Data for populating the Message object.
41 41 *
42 - * @type array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $properties
42 + * @type \Google\Api\Property[] $properties
43 43 * List of per consumer project-specific properties.
44 44 * }
45 45 */
46 46 public function __construct($data = NULL)
47 47 {
48 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Consumer::initOnce();
48 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Consumer::initOnce();
49 49 parent::__construct($data);
50 50 }
51 51 /**
52 52 * List of per consumer project-specific properties.
@@ -51,9 +51,9 @@
51 51 /**
52 52 * List of per consumer project-specific properties.
53 53 *
54 54 * Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code>
55 - * @return \Google\Protobuf\Internal\RepeatedField
55 + * @return RepeatedField<\Google\Api\Property>
56 56 */
57 57 public function getProperties()
58 58 {
59 59 return $this->properties;
@@ -61,14 +61,14 @@
61 61 /**
62 62 * List of per consumer project-specific properties.
63 63 *
64 64 * Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code>
65 - * @param array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $var
65 + * @param \Google\Api\Property[] $var
66 66 * @return $this
67 67 */
68 68 public function setProperties($var)
69 69 {
70 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\Property::class);
70 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\Property::class);
71 71 $this->properties = $arr;
72 72 return $this;
73 73 }
74 74 }