public function setTranslationDatasetMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\TranslationDatasetMetadata::class);
        $this->writeOneof(23, $var);

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

        return $this;
    }
public function setTranslationDatasetMetadata ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ AutoMl \ V1beta1 \ TranslationDatasetMetadata :: class ) ; $ this -> writeOneof ( 23 , $ var ) ; return $ this ; }
Metadata for a dataset used for translation.

Generated from protobuf field <code>.google.cloud.automl.v1beta1.TranslationDatasetMetadata translation_dataset_metadata = 23;</code>
@param \Google\Cloud\AutoMl\V1beta1\TranslationDatasetMetadata $var
@return $this
Metadata for a dataset used for translation .