google.cloud.dialogflow.v2.Intent.Message.QuickReplies */ class Intent_Message_QuickReplies extends \Google\Protobuf\Internal\Message { /** * Optional. The title of the collection of quick replies. * * Generated from protobuf field string title = 1; */ private $title = ''; /** * Optional. The collection of quick replies. * * Generated from protobuf field repeated string quick_replies = 2; */ private $quick_replies; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce(); parent::__construct(); } /** * Optional. The title of the collection of quick replies. * * Generated from protobuf field string title = 1; * @return string */ public function getTitle() { return $this->title; } /** * Optional. The title of the collection of quick replies. * * Generated from protobuf field string title = 1; * @param string $var * @return $this */ public function setTitle($var) { GPBUtil::checkString($var, True); $this->title = $var; return $this; } /** * Optional. The collection of quick replies. * * Generated from protobuf field repeated string quick_replies = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getQuickReplies() { return $this->quick_replies; } /** * Optional. The collection of quick replies. * * Generated from protobuf field repeated string quick_replies = 2; * @param string[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setQuickReplies($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->quick_replies = $arr; return $this; } }