AutoMl/src/V1beta1/TextClassificationDatasetMetadata.php
public function setClassificationType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1beta1\ClassificationType::class);
        $this->classification_type = $var;

        return $this;
    }
public function setClassificationType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1beta1\ClassificationType::class);
        $this->classification_type = $var;

        return $this;
    }
public function setClassificationType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ ClassificationType :: class ) ; $ this -> classification_type = $ var ; return $ this ; }
Required.
Type of the classification problem.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.ClassificationType classification_type = 1;</code>
@param int $var
@return $this
Required . Type of the classification problem .