Datastore/src/V1/RunQueryRequest.php
public function setPartitionId($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Datastore\V1\PartitionId::class);
        $this->partition_id = $var;

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

        return $this;
    }
public function setPartitionId ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Datastore \ V1 \ PartitionId :: class ) ; $ this -> partition_id = $ var ; return $ this ; }
Entities are partitioned into subsets, identified by a partition ID.
Queries are scoped to a single partition.
This partition ID is normalized with the standard default context
partition ID.

Generated from protobuf field <code>.google.datastore.v1.PartitionId partition_id = 2;</code>
@param \Google\Cloud\Datastore\V1\PartitionId $var
@return $this
Entities are partitioned into subsets identified by a partition ID . Queries are scoped to a single partition . This partition ID is normalized with the standard default context partition ID .