VideoIntelligence/src/V1/LabelAnnotation.php
public function setEntity($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\VideoIntelligence\V1\Entity::class);
        $this->entity = $var;

        return $this;
    }
public function setEntity($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\VideoIntelligence\V1\Entity::class);
        $this->entity = $var;

        return $this;
    }
public function setEntity ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ VideoIntelligence \ V1 \ Entity :: class ) ; $ this -> entity = $ var ; return $ this ; }
Detected entity.

Generated from protobuf field <code>.google.cloud.videointelligence.v1.Entity entity = 1;</code>
@param \Google\Cloud\VideoIntelligence\V1\Entity $var
@return $this
Detected entity .