PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Rpc / Help / Link.php
googleanalytics / lib / analytics-admin / vendor / google / common-protos / src / Rpc / Help Last commit date
Link.php 3 years ago
Link.php
105 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/rpc/error_details.proto
4
5 namespace Google\Rpc\Help;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * Describes a URL link.
13 *
14 * Generated from protobuf message <code>google.rpc.Help.Link</code>
15 */
16 class Link extends \Google\Protobuf\Internal\Message
17 {
18 /**
19 * Describes what the link offers.
20 *
21 * Generated from protobuf field <code>string description = 1;</code>
22 */
23 protected $description = '';
24 /**
25 * The URL of the link.
26 *
27 * Generated from protobuf field <code>string url = 2;</code>
28 */
29 protected $url = '';
30
31 /**
32 * Constructor.
33 *
34 * @param array $data {
35 * Optional. Data for populating the Message object.
36 *
37 * @type string $description
38 * Describes what the link offers.
39 * @type string $url
40 * The URL of the link.
41 * }
42 */
43 public function __construct($data = NULL) {
44 \GPBMetadata\Google\Rpc\ErrorDetails::initOnce();
45 parent::__construct($data);
46 }
47
48 /**
49 * Describes what the link offers.
50 *
51 * Generated from protobuf field <code>string description = 1;</code>
52 * @return string
53 */
54 public function getDescription()
55 {
56 return $this->description;
57 }
58
59 /**
60 * Describes what the link offers.
61 *
62 * Generated from protobuf field <code>string description = 1;</code>
63 * @param string $var
64 * @return $this
65 */
66 public function setDescription($var)
67 {
68 GPBUtil::checkString($var, True);
69 $this->description = $var;
70
71 return $this;
72 }
73
74 /**
75 * The URL of the link.
76 *
77 * Generated from protobuf field <code>string url = 2;</code>
78 * @return string
79 */
80 public function getUrl()
81 {
82 return $this->url;
83 }
84
85 /**
86 * The URL of the link.
87 *
88 * Generated from protobuf field <code>string url = 2;</code>
89 * @param string $var
90 * @return $this
91 */
92 public function setUrl($var)
93 {
94 GPBUtil::checkString($var, True);
95 $this->url = $var;
96
97 return $this;
98 }
99
100 }
101
102 // Adding a class alias for backwards compatibility with the previous class name.
103 class_alias(Link::class, \Google\Rpc\Help_Link::class);
104
105