google.cloud.dialogflow.v2.Intent.Message.Text */ class Intent_Message_Text extends \Google\Protobuf\Internal\Message { /** * Optional. The collection of the agent's responses. * * Generated from protobuf field repeated string text = 1; */ private $text; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce(); parent::__construct(); } /** * Optional. The collection of the agent's responses. * * Generated from protobuf field repeated string text = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getText() { return $this->text; } /** * Optional. The collection of the agent's responses. * * Generated from protobuf field repeated string text = 1; * @param string[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setText($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->text = $arr; return $this; } }