google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion */ class Intent_Message_LinkOutSuggestion extends \Google\Protobuf\Internal\Message { /** * Required. The name of the app or site this chip is linking to. * * Generated from protobuf field string destination_name = 1; */ private $destination_name = ''; /** * Required. The URI of the app or site to open when the user taps the * suggestion chip. * * Generated from protobuf field string uri = 2; */ private $uri = ''; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce(); parent::__construct(); } /** * Required. The name of the app or site this chip is linking to. * * Generated from protobuf field string destination_name = 1; * @return string */ public function getDestinationName() { return $this->destination_name; } /** * Required. The name of the app or site this chip is linking to. * * Generated from protobuf field string destination_name = 1; * @param string $var * @return $this */ public function setDestinationName($var) { GPBUtil::checkString($var, True); $this->destination_name = $var; return $this; } /** * Required. The URI of the app or site to open when the user taps the * suggestion chip. * * Generated from protobuf field string uri = 2; * @return string */ public function getUri() { return $this->uri; } /** * Required. The URI of the app or site to open when the user taps the * suggestion chip. * * Generated from protobuf field string uri = 2; * @param string $var * @return $this */ public function setUri($var) { GPBUtil::checkString($var, True); $this->uri = $var; return $this; } }