public function setTargetChangeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\V1\TargetChange_TargetChangeType::class);
        $this->target_change_type = $var;

        return $this;
    }