AutoMl/src/V1beta1/ModelEvaluation.php
public function setTranslationEvaluationMetrics($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\TranslationEvaluationMetrics::class);
        $this->writeOneof(9, $var);

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

        return $this;
    }
public function setTranslationEvaluationMetrics ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ TranslationEvaluationMetrics :: class ) ; $ this -> writeOneof ( 9 , $ var ) ; return $ this ; }
Evaluation metrics for models on translation models.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;</code>
@param \Google\Cloud\AutoMl\V1beta1\TranslationEvaluationMetrics $var
@return $this
Evaluation metrics for models on translation models .