google.rpc.Help.Link */ class Link extends \Google\Protobuf\Internal\Message { /** * Describes what the link offers. * * Generated from protobuf field string description = 1; */ private $description = ''; /** * The URL of the link. * * Generated from protobuf field string url = 2; */ private $url = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $description * Describes what the link offers. * @type string $url * The URL of the link. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Rpc\ErrorDetails::initOnce(); parent::__construct($data); } /** * Describes what the link offers. * * Generated from protobuf field string description = 1; * @return string */ public function getDescription() { return $this->description; } /** * Describes what the link offers. * * Generated from protobuf field string description = 1; * @param string $var * @return $this */ public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; } /** * The URL of the link. * * Generated from protobuf field string url = 2; * @return string */ public function getUrl() { return $this->url; } /** * The URL of the link. * * Generated from protobuf field string url = 2; * @param string $var * @return $this */ public function setUrl($var) { GPBUtil::checkString($var, True); $this->url = $var; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Link::class, \Google\Rpc\Help_Link::class);