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