public function setEntities($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType_Entity::class);
        $this->entities = $arr;

        return $this;
    }
public function setEntities($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\EntityType_Entity::class);
        $this->entities = $arr;

        return $this;
    }
public function setEntities ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Dialogflow \ V2 \ EntityType_Entity :: class ) ; $ this -> entities = $ arr ; return $ this ; }
Optional. The collection of entities associated with the entity type.

Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.EntityType.Entity entities = 6;</code>
@param \Google\Cloud\Dialogflow\V2\EntityType_Entity[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The collection of entities associated with the entity type .