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/HttpBody.php +10 -10 1.0.1 → 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/httpbody.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 * Message that represents an arbitrary HTTP body. It should only be used for
12 12 * payload formats that can't be represented as JSON, such as raw binary or
13 13 * an HTML page.
@@ -40,9 +40,9 @@
40 40 * handled, all other features will continue to work unchanged.
41 41 *
42 42 * Generated from protobuf message <code>google.api.HttpBody</code>
43 43 */
44 -class HttpBody extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
44 +class HttpBody extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
45 45 {
46 46 /**
47 47 * The HTTP Content-Type header value specifying the content type of the body.
48 48 *
@@ -71,9 +71,9 @@
71 71 * @type string $content_type
72 72 * The HTTP Content-Type header value specifying the content type of the body.
73 73 * @type string $data
74 74 * The HTTP request/response body as raw binary.
75 - * @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions
75 + * @type \Google\Protobuf\Any[] $extensions
76 76 * Application specific response metadata. Must be set in the first response
77 77 * for streaming APIs.
78 78 * }
79 79 */
@@ -78,9 +78,9 @@
78 78 * }
79 79 */
80 80 public function __construct($data = NULL)
81 81 {
82 - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Httpbody::initOnce();
82 + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Httpbody::initOnce();
83 83 parent::__construct($data);
84 84 }
85 85 /**
86 86 * The HTTP Content-Type header value specifying the content type of the body.
@@ -132,9 +132,9 @@
132 132 * Application specific response metadata. Must be set in the first response
133 133 * for streaming APIs.
134 134 *
135 135 * Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 3;</code>
136 - * @return \Google\Protobuf\Internal\RepeatedField
136 + * @return RepeatedField<\Google\Protobuf\Any>
137 137 */
138 138 public function getExtensions()
139 139 {
140 140 return $this->extensions;
@@ -143,14 +143,14 @@
143 143 * Application specific response metadata. Must be set in the first response
144 144 * for streaming APIs.
145 145 *
146 146 * Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 3;</code>
147 - * @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
147 + * @param \Google\Protobuf\Any[] $var
148 148 * @return $this
149 149 */
150 150 public function setExtensions($var)
151 151 {
152 - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Protobuf\Any::class);
152 + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Any::class);
153 153 $this->extensions = $arr;
154 154 return $this;
155 155 }
156 156 }