Config for TEXT_DETECTION.

Generated from protobuf field <code>.google.cloud.videointelligence.v1.TextDetectionConfig text_detection_config = 8;</code>
@param \Google\Cloud\VideoIntelligence\V1\TextDetectionConfig $var
@return $this
507118
public function setTextDetectionConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\VideoIntelligence\V1\TextDetectionConfig::class);
        $this->text_detection_config = $var;

        return $this;
    }
104926
public function setReplaceWithInfoTypeConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ReplaceWithInfoTypeConfig::class);
        $this->writeOneof(7, $var);

        return $this;
    }
1206523
public function setRedactConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\RedactConfig::class);
        $this->writeOneof(2, $var);

        return $this;
    }
26510
public function setFeatures($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\VideoIntelligence\V1\Feature::class);
        $this->features = $arr;

        return $this;
    }
881003
public function setPornographyLikelihood($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\VideoIntelligence\V1\Likelihood::class);
        $this->pornography_likelihood = $var;

        return $this;
    }
443548
public function setNumber($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Number::class);
        $this->number = $var;

        return $this;
    }
114073
public function setRecognitionResult($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\StreamingRecognitionResult::class);
        $this->recognition_result = $var;

        return $this;
    }
175411
public function setKAnonymityConfig($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\PrivacyMetric_KAnonymityConfig::class);
        $this->writeOneof(3, $var);

        return $this;
    }
1366376
public function setQueryTextSentiment($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\V2\Sentiment::class);
        $this->query_text_sentiment = $var;

        return $this;
    }
437111
public function setRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\RegexValidation::class);
        $this->writeOneof(1, $var);

        return $this;
    }
898850
public function setText($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Language\V1\TextSpan::class);
        $this->text = $var;

        return $this;
    }
1086431
public function setFeatures($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Feature::class);
        $this->features = $arr;

        return $this;
    }
1052995
public function setMessageType($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\DescriptorProto::class);
        $this->message_type = $arr;
        $this->has_message_type = true;

        return $this;
    }
84183
public function setGroup($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Monitoring\V3\Group::class);
        $this->group = $arr;

        return $this;
    }
366460
public function setBoundingBox($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\VideoIntelligence\V1beta1\BoundingBox::class);
        $this->bounding_box = $var;

        return $this;
    }
417049
public function setImageContext($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\ImageContext::class);
        $this->image_context = $var;

        return $this;
    }
437915
public function setAudioEncoding($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\TextToSpeech\V1\AudioEncoding::class);
        $this->audio_encoding = $var;

        return $this;
    }