google.cloud.dialogflow.v2.BatchUpdateIntentsResponse */ class BatchUpdateIntentsResponse extends \Google\Protobuf\Internal\Message { /** * The collection of updated or created intents. * * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1; */ private $intents; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce(); parent::__construct(); } /** * The collection of updated or created intents. * * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1; * @return \Google\Protobuf\Internal\RepeatedField */ public function getIntents() { return $this->intents; } /** * The collection of updated or created intents. * * Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent intents = 1; * @param \Google\Cloud\Dialogflow\V2\Intent[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setIntents($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent::class); $this->intents = $arr; return $this; } }