Firestore/src/V1beta1/StructuredQuery/UnaryFilter.php
public function setField($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Firestore\V1beta1\StructuredQuery_FieldReference::class);
        $this->writeOneof(2, $var);

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

        return $this;
    }
public function setField ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Firestore \ V1beta1 \ StructuredQuery_FieldReference :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
The field to which to apply the operator.

Generated from protobuf field <code>.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;</code>
@param \Google\Cloud\Firestore\V1beta1\StructuredQuery\FieldReference $var
@return $this
The field to which to apply the operator .