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
media-cloud-sync / includes / sdk / google / google / protobuf / src / Google / Protobuf / Internal / UninterpretedOption.php

UninterpretedOption.php in Media Cloud Sync 1.4.2, at includes/sdk/google/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption.php

266 lines 8.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # NO CHECKED-IN PROTOBUF GENCODE
5 # source: google/protobuf/descriptor.proto
6 namespace Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal;
7
8 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType;
9 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBWire;
10 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\InputStream;
11 use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil;
12 use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField;
13 /**
14 * A message representing a option the parser does not recognize. This only
15 * appears in options protos created by the compiler::Parser class.
16 * DescriptorPool resolves these when building Descriptor objects. Therefore,
17 * options protos in descriptor objects (e.g. returned by Descriptor::options(),
18 * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
19 * in them.
20 *
21 * Generated from protobuf message <code>google.protobuf.UninterpretedOption</code>
22 */
23 class UninterpretedOption extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message
24 {
25 /**
26 * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
27 */
28 private $name;
29 /**
30 * The value of the uninterpreted option, in whatever type the tokenizer
31 * identified it as during parsing. Exactly one of these should be set.
32 *
33 * Generated from protobuf field <code>optional string identifier_value = 3;</code>
34 */
35 protected $identifier_value = null;
36 /**
37 * Generated from protobuf field <code>optional uint64 positive_int_value = 4;</code>
38 */
39 protected $positive_int_value = null;
40 /**
41 * Generated from protobuf field <code>optional int64 negative_int_value = 5;</code>
42 */
43 protected $negative_int_value = null;
44 /**
45 * Generated from protobuf field <code>optional double double_value = 6;</code>
46 */
47 protected $double_value = null;
48 /**
49 * Generated from protobuf field <code>optional bytes string_value = 7;</code>
50 */
51 protected $string_value = null;
52 /**
53 * Generated from protobuf field <code>optional string aggregate_value = 8;</code>
54 */
55 protected $aggregate_value = null;
56 /**
57 * Constructor.
58 *
59 * @param array $data {
60 * Optional. Data for populating the Message object.
61 *
62 * @type \Google\Protobuf\Internal\UninterpretedOption\NamePart[] $name
63 * @type string $identifier_value
64 * The value of the uninterpreted option, in whatever type the tokenizer
65 * identified it as during parsing. Exactly one of these should be set.
66 * @type int|string $positive_int_value
67 * @type int|string $negative_int_value
68 * @type float $double_value
69 * @type string $string_value
70 * @type string $aggregate_value
71 * }
72 */
73 public function __construct($data = NULL)
74 {
75 \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
76 parent::__construct($data);
77 }
78 /**
79 * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
80 * @return RepeatedField<\Google\Protobuf\Internal\UninterpretedOption\NamePart>
81 */
82 public function getName()
83 {
84 return $this->name;
85 }
86 /**
87 * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption.NamePart name = 2;</code>
88 * @param \Google\Protobuf\Internal\UninterpretedOption\NamePart[] $var
89 * @return $this
90 */
91 public function setName($var)
92 {
93 $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\UninterpretedOption\NamePart::class);
94 $this->name = $arr;
95 return $this;
96 }
97 /**
98 * The value of the uninterpreted option, in whatever type the tokenizer
99 * identified it as during parsing. Exactly one of these should be set.
100 *
101 * Generated from protobuf field <code>optional string identifier_value = 3;</code>
102 * @return string
103 */
104 public function getIdentifierValue()
105 {
106 return isset($this->identifier_value) ? $this->identifier_value : '';
107 }
108 public function hasIdentifierValue()
109 {
110 return isset($this->identifier_value);
111 }
112 public function clearIdentifierValue()
113 {
114 unset($this->identifier_value);
115 }
116 /**
117 * The value of the uninterpreted option, in whatever type the tokenizer
118 * identified it as during parsing. Exactly one of these should be set.
119 *
120 * Generated from protobuf field <code>optional string identifier_value = 3;</code>
121 * @param string $var
122 * @return $this
123 */
124 public function setIdentifierValue($var)
125 {
126 GPBUtil::checkString($var, True);
127 $this->identifier_value = $var;
128 return $this;
129 }
130 /**
131 * Generated from protobuf field <code>optional uint64 positive_int_value = 4;</code>
132 * @return int|string
133 */
134 public function getPositiveIntValue()
135 {
136 return isset($this->positive_int_value) ? $this->positive_int_value : 0;
137 }
138 public function hasPositiveIntValue()
139 {
140 return isset($this->positive_int_value);
141 }
142 public function clearPositiveIntValue()
143 {
144 unset($this->positive_int_value);
145 }
146 /**
147 * Generated from protobuf field <code>optional uint64 positive_int_value = 4;</code>
148 * @param int|string $var
149 * @return $this
150 */
151 public function setPositiveIntValue($var)
152 {
153 GPBUtil::checkUint64($var);
154 $this->positive_int_value = $var;
155 return $this;
156 }
157 /**
158 * Generated from protobuf field <code>optional int64 negative_int_value = 5;</code>
159 * @return int|string
160 */
161 public function getNegativeIntValue()
162 {
163 return isset($this->negative_int_value) ? $this->negative_int_value : 0;
164 }
165 public function hasNegativeIntValue()
166 {
167 return isset($this->negative_int_value);
168 }
169 public function clearNegativeIntValue()
170 {
171 unset($this->negative_int_value);
172 }
173 /**
174 * Generated from protobuf field <code>optional int64 negative_int_value = 5;</code>
175 * @param int|string $var
176 * @return $this
177 */
178 public function setNegativeIntValue($var)
179 {
180 GPBUtil::checkInt64($var);
181 $this->negative_int_value = $var;
182 return $this;
183 }
184 /**
185 * Generated from protobuf field <code>optional double double_value = 6;</code>
186 * @return float
187 */
188 public function getDoubleValue()
189 {
190 return isset($this->double_value) ? $this->double_value : 0.0;
191 }
192 public function hasDoubleValue()
193 {
194 return isset($this->double_value);
195 }
196 public function clearDoubleValue()
197 {
198 unset($this->double_value);
199 }
200 /**
201 * Generated from protobuf field <code>optional double double_value = 6;</code>
202 * @param float $var
203 * @return $this
204 */
205 public function setDoubleValue($var)
206 {
207 GPBUtil::checkDouble($var);
208 $this->double_value = $var;
209 return $this;
210 }
211 /**
212 * Generated from protobuf field <code>optional bytes string_value = 7;</code>
213 * @return string
214 */
215 public function getStringValue()
216 {
217 return isset($this->string_value) ? $this->string_value : '';
218 }
219 public function hasStringValue()
220 {
221 return isset($this->string_value);
222 }
223 public function clearStringValue()
224 {
225 unset($this->string_value);
226 }
227 /**
228 * Generated from protobuf field <code>optional bytes string_value = 7;</code>
229 * @param string $var
230 * @return $this
231 */
232 public function setStringValue($var)
233 {
234 GPBUtil::checkString($var, False);
235 $this->string_value = $var;
236 return $this;
237 }
238 /**
239 * Generated from protobuf field <code>optional string aggregate_value = 8;</code>
240 * @return string
241 */
242 public function getAggregateValue()
243 {
244 return isset($this->aggregate_value) ? $this->aggregate_value : '';
245 }
246 public function hasAggregateValue()
247 {
248 return isset($this->aggregate_value);
249 }
250 public function clearAggregateValue()
251 {
252 unset($this->aggregate_value);
253 }
254 /**
255 * Generated from protobuf field <code>optional string aggregate_value = 8;</code>
256 * @param string $var
257 * @return $this
258 */
259 public function setAggregateValue($var)
260 {
261 GPBUtil::checkString($var, True);
262 $this->aggregate_value = $var;
263 return $this;
264 }
265 }
266