public function setTranslatedContent($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1beta1\TextSnippet::class);
        $this->translated_content = $var;

        return $this;
    }