google.cloud.dialogflow.v2.DeleteAllContextsRequest */ class DeleteAllContextsRequest extends \Google\Protobuf\Internal\Message { /** * Required. The name of the session to delete all contexts from. Format: * `projects//agent/sessions/`. * * Generated from protobuf field string parent = 1; */ private $parent = ''; public function __construct() { \GPBMetadata\Google\Cloud\Dialogflow\V2\Context::initOnce(); parent::__construct(); } /** * Required. The name of the session to delete all contexts from. Format: * `projects//agent/sessions/`. * * Generated from protobuf field string parent = 1; * @return string */ public function getParent() { return $this->parent; } /** * Required. The name of the session to delete all contexts from. Format: * `projects//agent/sessions/`. * * 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; } }