VideoIntelligence/src/V1/VideoAnnotationResults.php
public function setTextAnnotations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\VideoIntelligence\V1\TextAnnotation::class);
        $this->text_annotations = $arr;

        return $this;
    }
public function setTextAnnotations($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\VideoIntelligence\V1\TextAnnotation::class);
        $this->text_annotations = $arr;

        return $this;
    }
public function setTextAnnotations ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ VideoIntelligence \ V1 \ TextAnnotation :: class ) ; $ this -> text_annotations = $ arr ; return $ this ; }
OCR text detection and tracking.
Annotations for list of detected text snippets. Each will have list of
frame information associated with it.

Generated from protobuf field <code>repeated .google.cloud.videointelligence.v1.TextAnnotation text_annotations = 12;</code>
@param \Google\Cloud\VideoIntelligence\V1\TextAnnotation[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
OCR text detection and tracking . Annotations for list of detected text snippets . Each will have list of frame information associated with it .