Vision/src/V1/CreateReferenceImageRequest.php
public function setReferenceImage($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ReferenceImage::class);
        $this->reference_image = $var;

        return $this;
    }
public function setReferenceImage($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ReferenceImage::class);
        $this->reference_image = $var;

        return $this;
    }
public function setReferenceImage ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Vision \ V1 \ ReferenceImage :: class ) ; $ this -> reference_image = $ var ; return $ this ; }
The reference image to create.
If an image ID is specified, it is ignored.

Generated from protobuf field <code>.google.cloud.vision.v1.ReferenceImage reference_image = 2;</code>
@param \Google\Cloud\Vision\V1\ReferenceImage $var
@return $this
The reference image to create . If an image ID is specified it is ignored .