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

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

        return $this;
    }
public function setShotAnnotations ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ VideoIntelligence \ V1 \ VideoSegment :: class ) ; $ this -> shot_annotations = $ arr ; return $ this ; }
Shot annotations. Each shot is represented as a video segment.

Generated from protobuf field <code>repeated .google.cloud.videointelligence.v1.VideoSegment shot_annotations = 6;</code>
@param \Google\Cloud\VideoIntelligence\V1\VideoSegment[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Shot annotations . Each shot is represented as a video segment .