AutoMl/src/V1beta1/AnnotationPayload.php
public function setClassification($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\ClassificationAnnotation::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setClassification($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\ClassificationAnnotation::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setClassification ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ ClassificationAnnotation :: class ) ; $ this -> writeOneof ( 3 , $ var ) ; return $ this ; }
Annotation details for content or image classification.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.ClassificationAnnotation classification = 3;</code>
@param \Google\Cloud\AutoMl\V1beta1\ClassificationAnnotation $var
@return $this
Annotation details for content or image classification .