• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?php
2# Generated by the protocol buffer compiler.  DO NOT EDIT!
3# source: google/protobuf/descriptor.proto
4
5namespace Google\Protobuf\Internal;
6
7use Google\Protobuf\Internal\GPBType;
8use Google\Protobuf\Internal\GPBWire;
9use Google\Protobuf\Internal\RepeatedField;
10use Google\Protobuf\Internal\InputStream;
11use Google\Protobuf\Internal\GPBUtil;
12
13/**
14 * Generated from protobuf message <code>google.protobuf.ExtensionRangeOptions</code>
15 */
16class ExtensionRangeOptions extends \Google\Protobuf\Internal\Message
17{
18    /**
19     * The parser stores options it doesn't recognize here. See above.
20     *
21     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
22     */
23    private $uninterpreted_option;
24
25    /**
26     * Constructor.
27     *
28     * @param array $data {
29     *     Optional. Data for populating the Message object.
30     *
31     *     @type \Google\Protobuf\Internal\UninterpretedOption[]|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option
32     *           The parser stores options it doesn't recognize here. See above.
33     * }
34     */
35    public function __construct($data = NULL) {
36        \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
37        parent::__construct($data);
38    }
39
40    /**
41     * The parser stores options it doesn't recognize here. See above.
42     *
43     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
44     * @return \Google\Protobuf\Internal\RepeatedField
45     */
46    public function getUninterpretedOption()
47    {
48        return $this->uninterpreted_option;
49    }
50
51    /**
52     * The parser stores options it doesn't recognize here. See above.
53     *
54     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
55     * @param \Google\Protobuf\Internal\UninterpretedOption[]|\Google\Protobuf\Internal\RepeatedField $var
56     * @return $this
57     */
58    public function setUninterpretedOption($var)
59    {
60        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class);
61        $this->uninterpreted_option = $arr;
62
63        return $this;
64    }
65
66}
67
68