Firestore/src/Admin/V1/CreateIndexRequest.php
public function setIndex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
        $this->index = $var;

        return $this;
    }
public function setIndex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\Admin\V1\Index::class);
        $this->index = $var;

        return $this;
    }
public function setIndex ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Firestore \ Admin \ V1 \ Index :: class ) ; $ this -> index = $ var ; return $ this ; }
The composite index to create.

Generated from protobuf field <code>.google.firestore.admin.v1.Index index = 2;</code>
@param \Google\Cloud\Firestore\Admin\V1\Index $var
@return $this
The composite index to create .