public function setUnaryFilter($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\StructuredQuery_UnaryFilter::class);
        $this->writeOneof(3, $var);

        return $this;
    }