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/LogDescriptor.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/log.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 description of a log type. Example in YAML format:
12 12 * - name: library.googleapis.com/activity_history
13 13 * description: The history of borrowing and returning library items.
@@ -17,9 +17,9 @@
17 17 * description: Identifier of a library customer
18 18 *
19 19 * Generated from protobuf message <code>google.api.LogDescriptor</code>
20 20 */
21 -class LogDescriptor extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
21 +class LogDescriptor extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
22 22 {
23 23 /**
24 24 * The name of the log. It must be less than 512 characters long and can
25 25 * include the following characters: upper- and lower-case alphanumeric
@@ -61,9 +61,9 @@
61 61 * The name of the log. It must be less than 512 characters long and can
62 62 * include the following characters: upper- and lower-case alphanumeric
63 63 * characters [A-Za-z0-9], and punctuation characters including
64 64 * slash, underscore, hyphen, period [/_-.].
65 - * @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
65 + * @type \Google\Api\LabelDescriptor[] $labels
66 66 * The set of labels that are available to describe a specific log entry.
67 67 * Runtime requests that contain labels not specified here are
68 68 * considered invalid.
69 69 * @type string $description
@@ -75,9 +75,9 @@
75 75 * }
76 76 */
77 77 public function __construct($data = NULL)
78 78 {
79 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Log::initOnce();
79 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Log::initOnce();
80 80 parent::__construct($data);
81 81 }
82 82 /**
83 83 * The name of the log. It must be less than 512 characters long and can
@@ -113,9 +113,9 @@
113 113 * Runtime requests that contain labels not specified here are
114 114 * considered invalid.
115 115 *
116 116 * Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
117 - * @return \Google\Protobuf\Internal\RepeatedField
117 + * @return RepeatedField<\Google\Api\LabelDescriptor>
118 118 */
119 119 public function getLabels()
120 120 {
121 121 return $this->labels;
@@ -125,14 +125,14 @@
125 125 * Runtime requests that contain labels not specified here are
126 126 * considered invalid.
127 127 *
128 128 * Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
129 - * @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
129 + * @param \Google\Api\LabelDescriptor[] $var
130 130 * @return $this
131 131 */
132 132 public function setLabels($var)
133 133 {
134 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\LabelDescriptor::class);
134 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\LabelDescriptor::class);
135 135 $this->labels = $arr;
136 136 return $this;
137 137 }
138 138 /**