Spanner/src/V1/PartitionResponse.php
public function setPartitions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\V1\Partition::class);
        $this->partitions = $arr;

        return $this;
    }
public function setPartitions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\V1\Partition::class);
        $this->partitions = $arr;

        return $this;
    }
public function setPartitions ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Spanner \ V1 \ Partition :: class ) ; $ this -> partitions = $ arr ; return $ this ; }
Partitions created by this request.

Generated from protobuf field <code>repeated .google.spanner.v1.Partition partitions = 1;</code>
@param \Google\Cloud\Spanner\V1\Partition[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Partitions created by this request .