\obiba\mica\NetworkDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.CountStatsDto.networkCountStats = 1001
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1001;
        $f->name = "obiba.mica.CountStatsDto.networkCountStats";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\CountStatsDto';
        return $f;
    });
    \obiba\mica\AggregationResultDto::extension(function () {
        // REPEATED MESSAGE obiba.mica.TermsAggregationResultDto.terms = 1000
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1000;
        $f->name = "obiba.mica.TermsAggregationResultDto.terms";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
        $f->reference = '\\obiba\\mica\\TermsAggregationResultDto';
        return $f;
    });
    \obiba\mica\AggregationResultDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.StatsAggregationResultDto.stats = 1001
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1001;
        $f->name = "obiba.mica.StatsAggregationResultDto.stats";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\StatsAggregationResultDto';
        return $f;
    });
}
    \obiba\mica\AggregationResultDto::extension(function () {
        // REPEATED MESSAGE obiba.mica.TermsAggregationResultDto.terms = 1000
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1000;
        $f->name = "obiba.mica.TermsAggregationResultDto.terms";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
        $f->reference = '\\obiba\\mica\\TermsAggregationResultDto';
        return $f;
    });
    \obiba\mica\AggregationResultDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.StatsAggregationResultDto.stats = 1001
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1001;
        $f->name = "obiba.mica.StatsAggregationResultDto.stats";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\StatsAggregationResultDto';
        return $f;
    });
    \obiba\mica\AggregationResultDto::extension(function () {
        // REPEATED MESSAGE obiba.mica.RangeAggregationResultDto.ranges = 1002
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1002;
        $f->name = "obiba.mica.RangeAggregationResultDto.ranges";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_REPEATED;
        $f->reference = '\\obiba\\mica\\RangeAggregationResultDto';
        return $f;
    });
}