Datastore/src/V1/Projection.php
public function setProperty($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\PropertyReference::class);
        $this->property = $var;

        return $this;
    }
public function setProperty($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\PropertyReference::class);
        $this->property = $var;

        return $this;
    }
public function setProperty ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Datastore \ V1 \ PropertyReference :: class ) ; $ this -> property = $ var ; return $ this ; }
The property to project.

Generated from protobuf field <code>.google.datastore.v1.PropertyReference property = 1;</code>
@param \Google\Cloud\Datastore\V1\PropertyReference $var
@return $this
The property to project .