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\GeneratedCodeInfo;
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 * Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>
15ffe3c632Sopenharmony_ci */
16ffe3c632Sopenharmony_ciclass Annotation extends \Google\Protobuf\Internal\Message
17ffe3c632Sopenharmony_ci{
18ffe3c632Sopenharmony_ci    /**
19ffe3c632Sopenharmony_ci     * Identifies the element in the original source .proto file. This field
20ffe3c632Sopenharmony_ci     * is formatted the same as SourceCodeInfo.Location.path.
21ffe3c632Sopenharmony_ci     *
22ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated int32 path = 1 [packed = true];</code>
23ffe3c632Sopenharmony_ci     */
24ffe3c632Sopenharmony_ci    private $path;
25ffe3c632Sopenharmony_ci    /**
26ffe3c632Sopenharmony_ci     * Identifies the filesystem path to the original source .proto.
27ffe3c632Sopenharmony_ci     *
28ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional string source_file = 2;</code>
29ffe3c632Sopenharmony_ci     */
30ffe3c632Sopenharmony_ci    protected $source_file = null;
31ffe3c632Sopenharmony_ci    /**
32ffe3c632Sopenharmony_ci     * Identifies the starting offset in bytes in the generated code
33ffe3c632Sopenharmony_ci     * that relates to the identified object.
34ffe3c632Sopenharmony_ci     *
35ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 begin = 3;</code>
36ffe3c632Sopenharmony_ci     */
37ffe3c632Sopenharmony_ci    protected $begin = null;
38ffe3c632Sopenharmony_ci    /**
39ffe3c632Sopenharmony_ci     * Identifies the ending offset in bytes in the generated code that
40ffe3c632Sopenharmony_ci     * relates to the identified offset. The end offset should be one past
41ffe3c632Sopenharmony_ci     * the last relevant byte (so the length of the text = end - begin).
42ffe3c632Sopenharmony_ci     *
43ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 end = 4;</code>
44ffe3c632Sopenharmony_ci     */
45ffe3c632Sopenharmony_ci    protected $end = null;
46ffe3c632Sopenharmony_ci
47ffe3c632Sopenharmony_ci    /**
48ffe3c632Sopenharmony_ci     * Constructor.
49ffe3c632Sopenharmony_ci     *
50ffe3c632Sopenharmony_ci     * @param array $data {
51ffe3c632Sopenharmony_ci     *     Optional. Data for populating the Message object.
52ffe3c632Sopenharmony_ci     *
53ffe3c632Sopenharmony_ci     *     @type int[]|\Google\Protobuf\Internal\RepeatedField $path
54ffe3c632Sopenharmony_ci     *           Identifies the element in the original source .proto file. This field
55ffe3c632Sopenharmony_ci     *           is formatted the same as SourceCodeInfo.Location.path.
56ffe3c632Sopenharmony_ci     *     @type string $source_file
57ffe3c632Sopenharmony_ci     *           Identifies the filesystem path to the original source .proto.
58ffe3c632Sopenharmony_ci     *     @type int $begin
59ffe3c632Sopenharmony_ci     *           Identifies the starting offset in bytes in the generated code
60ffe3c632Sopenharmony_ci     *           that relates to the identified object.
61ffe3c632Sopenharmony_ci     *     @type int $end
62ffe3c632Sopenharmony_ci     *           Identifies the ending offset in bytes in the generated code that
63ffe3c632Sopenharmony_ci     *           relates to the identified offset. The end offset should be one past
64ffe3c632Sopenharmony_ci     *           the last relevant byte (so the length of the text = end - begin).
65ffe3c632Sopenharmony_ci     * }
66ffe3c632Sopenharmony_ci     */
67ffe3c632Sopenharmony_ci    public function __construct($data = NULL) {
68ffe3c632Sopenharmony_ci        \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
69ffe3c632Sopenharmony_ci        parent::__construct($data);
70ffe3c632Sopenharmony_ci    }
71ffe3c632Sopenharmony_ci
72ffe3c632Sopenharmony_ci    /**
73ffe3c632Sopenharmony_ci     * Identifies the element in the original source .proto file. This field
74ffe3c632Sopenharmony_ci     * is formatted the same as SourceCodeInfo.Location.path.
75ffe3c632Sopenharmony_ci     *
76ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated int32 path = 1 [packed = true];</code>
77ffe3c632Sopenharmony_ci     * @return \Google\Protobuf\Internal\RepeatedField
78ffe3c632Sopenharmony_ci     */
79ffe3c632Sopenharmony_ci    public function getPath()
80ffe3c632Sopenharmony_ci    {
81ffe3c632Sopenharmony_ci        return $this->path;
82ffe3c632Sopenharmony_ci    }
83ffe3c632Sopenharmony_ci
84ffe3c632Sopenharmony_ci    /**
85ffe3c632Sopenharmony_ci     * Identifies the element in the original source .proto file. This field
86ffe3c632Sopenharmony_ci     * is formatted the same as SourceCodeInfo.Location.path.
87ffe3c632Sopenharmony_ci     *
88ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated int32 path = 1 [packed = true];</code>
89ffe3c632Sopenharmony_ci     * @param int[]|\Google\Protobuf\Internal\RepeatedField $var
90ffe3c632Sopenharmony_ci     * @return $this
91ffe3c632Sopenharmony_ci     */
92ffe3c632Sopenharmony_ci    public function setPath($var)
93ffe3c632Sopenharmony_ci    {
94ffe3c632Sopenharmony_ci        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
95ffe3c632Sopenharmony_ci        $this->path = $arr;
96ffe3c632Sopenharmony_ci
97ffe3c632Sopenharmony_ci        return $this;
98ffe3c632Sopenharmony_ci    }
99ffe3c632Sopenharmony_ci
100ffe3c632Sopenharmony_ci    /**
101ffe3c632Sopenharmony_ci     * Identifies the filesystem path to the original source .proto.
102ffe3c632Sopenharmony_ci     *
103ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional string source_file = 2;</code>
104ffe3c632Sopenharmony_ci     * @return string
105ffe3c632Sopenharmony_ci     */
106ffe3c632Sopenharmony_ci    public function getSourceFile()
107ffe3c632Sopenharmony_ci    {
108ffe3c632Sopenharmony_ci        return isset($this->source_file) ? $this->source_file : '';
109ffe3c632Sopenharmony_ci    }
110ffe3c632Sopenharmony_ci
111ffe3c632Sopenharmony_ci    public function hasSourceFile()
112ffe3c632Sopenharmony_ci    {
113ffe3c632Sopenharmony_ci        return isset($this->source_file);
114ffe3c632Sopenharmony_ci    }
115ffe3c632Sopenharmony_ci
116ffe3c632Sopenharmony_ci    public function clearSourceFile()
117ffe3c632Sopenharmony_ci    {
118ffe3c632Sopenharmony_ci        unset($this->source_file);
119ffe3c632Sopenharmony_ci    }
120ffe3c632Sopenharmony_ci
121ffe3c632Sopenharmony_ci    /**
122ffe3c632Sopenharmony_ci     * Identifies the filesystem path to the original source .proto.
123ffe3c632Sopenharmony_ci     *
124ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional string source_file = 2;</code>
125ffe3c632Sopenharmony_ci     * @param string $var
126ffe3c632Sopenharmony_ci     * @return $this
127ffe3c632Sopenharmony_ci     */
128ffe3c632Sopenharmony_ci    public function setSourceFile($var)
129ffe3c632Sopenharmony_ci    {
130ffe3c632Sopenharmony_ci        GPBUtil::checkString($var, True);
131ffe3c632Sopenharmony_ci        $this->source_file = $var;
132ffe3c632Sopenharmony_ci
133ffe3c632Sopenharmony_ci        return $this;
134ffe3c632Sopenharmony_ci    }
135ffe3c632Sopenharmony_ci
136ffe3c632Sopenharmony_ci    /**
137ffe3c632Sopenharmony_ci     * Identifies the starting offset in bytes in the generated code
138ffe3c632Sopenharmony_ci     * that relates to the identified object.
139ffe3c632Sopenharmony_ci     *
140ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 begin = 3;</code>
141ffe3c632Sopenharmony_ci     * @return int
142ffe3c632Sopenharmony_ci     */
143ffe3c632Sopenharmony_ci    public function getBegin()
144ffe3c632Sopenharmony_ci    {
145ffe3c632Sopenharmony_ci        return isset($this->begin) ? $this->begin : 0;
146ffe3c632Sopenharmony_ci    }
147ffe3c632Sopenharmony_ci
148ffe3c632Sopenharmony_ci    public function hasBegin()
149ffe3c632Sopenharmony_ci    {
150ffe3c632Sopenharmony_ci        return isset($this->begin);
151ffe3c632Sopenharmony_ci    }
152ffe3c632Sopenharmony_ci
153ffe3c632Sopenharmony_ci    public function clearBegin()
154ffe3c632Sopenharmony_ci    {
155ffe3c632Sopenharmony_ci        unset($this->begin);
156ffe3c632Sopenharmony_ci    }
157ffe3c632Sopenharmony_ci
158ffe3c632Sopenharmony_ci    /**
159ffe3c632Sopenharmony_ci     * Identifies the starting offset in bytes in the generated code
160ffe3c632Sopenharmony_ci     * that relates to the identified object.
161ffe3c632Sopenharmony_ci     *
162ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 begin = 3;</code>
163ffe3c632Sopenharmony_ci     * @param int $var
164ffe3c632Sopenharmony_ci     * @return $this
165ffe3c632Sopenharmony_ci     */
166ffe3c632Sopenharmony_ci    public function setBegin($var)
167ffe3c632Sopenharmony_ci    {
168ffe3c632Sopenharmony_ci        GPBUtil::checkInt32($var);
169ffe3c632Sopenharmony_ci        $this->begin = $var;
170ffe3c632Sopenharmony_ci
171ffe3c632Sopenharmony_ci        return $this;
172ffe3c632Sopenharmony_ci    }
173ffe3c632Sopenharmony_ci
174ffe3c632Sopenharmony_ci    /**
175ffe3c632Sopenharmony_ci     * Identifies the ending offset in bytes in the generated code that
176ffe3c632Sopenharmony_ci     * relates to the identified offset. The end offset should be one past
177ffe3c632Sopenharmony_ci     * the last relevant byte (so the length of the text = end - begin).
178ffe3c632Sopenharmony_ci     *
179ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 end = 4;</code>
180ffe3c632Sopenharmony_ci     * @return int
181ffe3c632Sopenharmony_ci     */
182ffe3c632Sopenharmony_ci    public function getEnd()
183ffe3c632Sopenharmony_ci    {
184ffe3c632Sopenharmony_ci        return isset($this->end) ? $this->end : 0;
185ffe3c632Sopenharmony_ci    }
186ffe3c632Sopenharmony_ci
187ffe3c632Sopenharmony_ci    public function hasEnd()
188ffe3c632Sopenharmony_ci    {
189ffe3c632Sopenharmony_ci        return isset($this->end);
190ffe3c632Sopenharmony_ci    }
191ffe3c632Sopenharmony_ci
192ffe3c632Sopenharmony_ci    public function clearEnd()
193ffe3c632Sopenharmony_ci    {
194ffe3c632Sopenharmony_ci        unset($this->end);
195ffe3c632Sopenharmony_ci    }
196ffe3c632Sopenharmony_ci
197ffe3c632Sopenharmony_ci    /**
198ffe3c632Sopenharmony_ci     * Identifies the ending offset in bytes in the generated code that
199ffe3c632Sopenharmony_ci     * relates to the identified offset. The end offset should be one past
200ffe3c632Sopenharmony_ci     * the last relevant byte (so the length of the text = end - begin).
201ffe3c632Sopenharmony_ci     *
202ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional int32 end = 4;</code>
203ffe3c632Sopenharmony_ci     * @param int $var
204ffe3c632Sopenharmony_ci     * @return $this
205ffe3c632Sopenharmony_ci     */
206ffe3c632Sopenharmony_ci    public function setEnd($var)
207ffe3c632Sopenharmony_ci    {
208ffe3c632Sopenharmony_ci        GPBUtil::checkInt32($var);
209ffe3c632Sopenharmony_ci        $this->end = $var;
210ffe3c632Sopenharmony_ci
211ffe3c632Sopenharmony_ci        return $this;
212ffe3c632Sopenharmony_ci    }
213ffe3c632Sopenharmony_ci
214ffe3c632Sopenharmony_ci}
215ffe3c632Sopenharmony_ci
216ffe3c632Sopenharmony_ci// Adding a class alias for backwards compatibility with the previous class name.
217ffe3c632Sopenharmony_ciclass_alias(Annotation::class, \Google\Protobuf\Internal\GeneratedCodeInfo_Annotation::class);
218ffe3c632Sopenharmony_ci
219