Vision/src/V1/CreateProductSetRequest.php
public function setProductSet($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ProductSet::class);
        $this->product_set = $var;

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

        return $this;
    }
public function setProductSet ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Vision \ V1 \ ProductSet :: class ) ; $ this -> product_set = $ var ; return $ this ; }
The ProductSet to create.

Generated from protobuf field <code>.google.cloud.vision.v1.ProductSet product_set = 2;</code>
@param \Google\Cloud\Vision\V1\ProductSet $var
@return $this
The ProductSet to create .