google.cloud.dialogflow.v2.TrainAgentRequest */ class TrainAgentRequest extends \Google\Protobuf\Internal\Message { /** * Required. The project that the agent to train is associated with. * Format: `projects/`. * * Generated from protobuf field string parent = 1; */ private $parent = ''; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Agent::initOnce(); parent::__construct(); } /** * Required. The project that the agent to train is associated with. * Format: `projects/`. * * Generated from protobuf field string parent = 1; * @return string */ public function getParent() { return $this->parent; } /** * Required. The project that the agent to train is associated with. * Format: `projects/`. * * Generated from protobuf field string parent = 1; * @param string $var * @return $this */ public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; } }