Firestore/src/V1/ListenRequest.php
public function setAddTarget($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\Target::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setAddTarget($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1\Target::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setAddTarget ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Firestore \ V1 \ Target :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
A target to add to this stream.

Generated from protobuf field <code>.google.firestore.v1.Target add_target = 2;</code>
@param \Google\Cloud\Firestore\V1\Target $var
@return $this
A target to add to this stream .