Firestore/src/V1beta1/DocumentTransform.php
public function setFieldTransforms($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1beta1\DocumentTransform\FieldTransform::class);
        $this->field_transforms = $arr;

        return $this;
    }
public function setFieldTransforms($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Firestore\V1beta1\DocumentTransform\FieldTransform::class);
        $this->field_transforms = $arr;

        return $this;
    }
public function setFieldTransforms ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Firestore \ V1beta1 \ DocumentTransform \ FieldTransform :: class ) ; $ this -> field_transforms = $ arr ; return $ this ; }
The list of transformations to apply to the fields of the document, in
order.
This must not be empty.

Generated from protobuf field <code>repeated .google.firestore.v1beta1.DocumentTransform.FieldTransform field_transforms = 2;</code>
@param \Google\Cloud\Firestore\V1beta1\DocumentTransform\FieldTransform[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The list of transformations to apply to the fields of the document in order . This must not be empty .