Firestore/src/V1beta1/Write.php
public function setTransform($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\DocumentTransform::class);
        $this->writeOneof(6, $var);

        return $this;
    }
public function setTransform($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\DocumentTransform::class);
        $this->writeOneof(6, $var);

        return $this;
    }
public function setTransform ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Firestore \ V1beta1 \ DocumentTransform :: class ) ; $ this -> writeOneof ( 6 , $ var ) ; return $ this ; }
Applies a transformation to a document.
At most one `transform` per document is allowed in a given request.
An `update` cannot follow a `transform` on the same document in a given
request.

Generated from protobuf field <code>.google.firestore.v1beta1.DocumentTransform transform = 6;</code>
@param \Google\Cloud\Firestore\V1beta1\DocumentTransform $var
@return $this
Applies a transformation to a document . At most one transform per document is allowed in a given request . An update cannot follow a transform on the same document in a given request .