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 * Generated from protobuf message <code>google.protobuf.ServiceOptions</code>
15ffe3c632Sopenharmony_ci */
16ffe3c632Sopenharmony_ciclass ServiceOptions extends \Google\Protobuf\Internal\Message
17ffe3c632Sopenharmony_ci{
18ffe3c632Sopenharmony_ci    /**
19ffe3c632Sopenharmony_ci     * Is this service deprecated?
20ffe3c632Sopenharmony_ci     * Depending on the target platform, this can emit Deprecated annotations
21ffe3c632Sopenharmony_ci     * for the service, or it will be completely ignored; in the very least,
22ffe3c632Sopenharmony_ci     * this is a formalization for deprecating services.
23ffe3c632Sopenharmony_ci     *
24ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional bool deprecated = 33 [default = false];</code>
25ffe3c632Sopenharmony_ci     */
26ffe3c632Sopenharmony_ci    protected $deprecated = null;
27ffe3c632Sopenharmony_ci    /**
28ffe3c632Sopenharmony_ci     * The parser stores options it doesn't recognize here. See above.
29ffe3c632Sopenharmony_ci     *
30ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
31ffe3c632Sopenharmony_ci     */
32ffe3c632Sopenharmony_ci    private $uninterpreted_option;
33ffe3c632Sopenharmony_ci
34ffe3c632Sopenharmony_ci    /**
35ffe3c632Sopenharmony_ci     * Constructor.
36ffe3c632Sopenharmony_ci     *
37ffe3c632Sopenharmony_ci     * @param array $data {
38ffe3c632Sopenharmony_ci     *     Optional. Data for populating the Message object.
39ffe3c632Sopenharmony_ci     *
40ffe3c632Sopenharmony_ci     *     @type bool $deprecated
41ffe3c632Sopenharmony_ci     *           Is this service deprecated?
42ffe3c632Sopenharmony_ci     *           Depending on the target platform, this can emit Deprecated annotations
43ffe3c632Sopenharmony_ci     *           for the service, or it will be completely ignored; in the very least,
44ffe3c632Sopenharmony_ci     *           this is a formalization for deprecating services.
45ffe3c632Sopenharmony_ci     *     @type \Google\Protobuf\Internal\UninterpretedOption[]|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option
46ffe3c632Sopenharmony_ci     *           The parser stores options it doesn't recognize here. See above.
47ffe3c632Sopenharmony_ci     * }
48ffe3c632Sopenharmony_ci     */
49ffe3c632Sopenharmony_ci    public function __construct($data = NULL) {
50ffe3c632Sopenharmony_ci        \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
51ffe3c632Sopenharmony_ci        parent::__construct($data);
52ffe3c632Sopenharmony_ci    }
53ffe3c632Sopenharmony_ci
54ffe3c632Sopenharmony_ci    /**
55ffe3c632Sopenharmony_ci     * Is this service deprecated?
56ffe3c632Sopenharmony_ci     * Depending on the target platform, this can emit Deprecated annotations
57ffe3c632Sopenharmony_ci     * for the service, or it will be completely ignored; in the very least,
58ffe3c632Sopenharmony_ci     * this is a formalization for deprecating services.
59ffe3c632Sopenharmony_ci     *
60ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional bool deprecated = 33 [default = false];</code>
61ffe3c632Sopenharmony_ci     * @return bool
62ffe3c632Sopenharmony_ci     */
63ffe3c632Sopenharmony_ci    public function getDeprecated()
64ffe3c632Sopenharmony_ci    {
65ffe3c632Sopenharmony_ci        return isset($this->deprecated) ? $this->deprecated : false;
66ffe3c632Sopenharmony_ci    }
67ffe3c632Sopenharmony_ci
68ffe3c632Sopenharmony_ci    public function hasDeprecated()
69ffe3c632Sopenharmony_ci    {
70ffe3c632Sopenharmony_ci        return isset($this->deprecated);
71ffe3c632Sopenharmony_ci    }
72ffe3c632Sopenharmony_ci
73ffe3c632Sopenharmony_ci    public function clearDeprecated()
74ffe3c632Sopenharmony_ci    {
75ffe3c632Sopenharmony_ci        unset($this->deprecated);
76ffe3c632Sopenharmony_ci    }
77ffe3c632Sopenharmony_ci
78ffe3c632Sopenharmony_ci    /**
79ffe3c632Sopenharmony_ci     * Is this service deprecated?
80ffe3c632Sopenharmony_ci     * Depending on the target platform, this can emit Deprecated annotations
81ffe3c632Sopenharmony_ci     * for the service, or it will be completely ignored; in the very least,
82ffe3c632Sopenharmony_ci     * this is a formalization for deprecating services.
83ffe3c632Sopenharmony_ci     *
84ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>optional bool deprecated = 33 [default = false];</code>
85ffe3c632Sopenharmony_ci     * @param bool $var
86ffe3c632Sopenharmony_ci     * @return $this
87ffe3c632Sopenharmony_ci     */
88ffe3c632Sopenharmony_ci    public function setDeprecated($var)
89ffe3c632Sopenharmony_ci    {
90ffe3c632Sopenharmony_ci        GPBUtil::checkBool($var);
91ffe3c632Sopenharmony_ci        $this->deprecated = $var;
92ffe3c632Sopenharmony_ci
93ffe3c632Sopenharmony_ci        return $this;
94ffe3c632Sopenharmony_ci    }
95ffe3c632Sopenharmony_ci
96ffe3c632Sopenharmony_ci    /**
97ffe3c632Sopenharmony_ci     * The parser stores options it doesn't recognize here. See above.
98ffe3c632Sopenharmony_ci     *
99ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
100ffe3c632Sopenharmony_ci     * @return \Google\Protobuf\Internal\RepeatedField
101ffe3c632Sopenharmony_ci     */
102ffe3c632Sopenharmony_ci    public function getUninterpretedOption()
103ffe3c632Sopenharmony_ci    {
104ffe3c632Sopenharmony_ci        return $this->uninterpreted_option;
105ffe3c632Sopenharmony_ci    }
106ffe3c632Sopenharmony_ci
107ffe3c632Sopenharmony_ci    /**
108ffe3c632Sopenharmony_ci     * The parser stores options it doesn't recognize here. See above.
109ffe3c632Sopenharmony_ci     *
110ffe3c632Sopenharmony_ci     * Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
111ffe3c632Sopenharmony_ci     * @param \Google\Protobuf\Internal\UninterpretedOption[]|\Google\Protobuf\Internal\RepeatedField $var
112ffe3c632Sopenharmony_ci     * @return $this
113ffe3c632Sopenharmony_ci     */
114ffe3c632Sopenharmony_ci    public function setUninterpretedOption($var)
115ffe3c632Sopenharmony_ci    {
116ffe3c632Sopenharmony_ci        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class);
117ffe3c632Sopenharmony_ci        $this->uninterpreted_option = $arr;
118ffe3c632Sopenharmony_ci
119ffe3c632Sopenharmony_ci        return $this;
120ffe3c632Sopenharmony_ci    }
121ffe3c632Sopenharmony_ci
122ffe3c632Sopenharmony_ci}
123ffe3c632Sopenharmony_ci
124