示例#1
0
 });
 \obiba\mica\QueryResultDto::extension(function () {
     // OPTIONAL MESSAGE obiba.mica.StudySummariesResultDto.result = 1009
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1009;
     $f->name = "obiba.mica.StudySummariesResultDto.result";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->reference = '\\obiba\\mica\\StudySummariesResultDto';
     return $f;
 });
 \obiba\mica\StudySummaryDto::extension(function () {
     // OPTIONAL MESSAGE obiba.mica.CountStatsDto.studyCountStats = 1001
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1001;
     $f->name = "obiba.mica.CountStatsDto.studyCountStats";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->reference = '\\obiba\\mica\\CountStatsDto';
     return $f;
 });
 \obiba\mica\DatasetDto::extension(function () {
     // OPTIONAL MESSAGE obiba.mica.CountStatsDto.datasetCountStats = 1003
     $f = new \DrSlump\Protobuf\Field();
     $f->number = 1003;
     $f->name = "obiba.mica.CountStatsDto.datasetCountStats";
     $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
     $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
     $f->reference = '\\obiba\\mica\\CountStatsDto';
     return $f;
 });
 \obiba\mica\NetworkDto::extension(function () {
示例#2
0
         *
         * @param \obiba\mica\DatasetVariableHarmonizationDto $value
         * @return \obiba\mica\DatasetVariablesHarmonizationsDto
         */
        public function addVariableHarmonizations(\obiba\mica\DatasetVariableHarmonizationDto $value)
        {
            return $this->_add(4, $value);
        }
    }
}
namespace {
    \obiba\mica\StudySummaryDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.StudyStateDto.state = 1000
        $f = new \StudyDrSlump\Protobuf\Field();
        $f->number = 1000;
        $f->name = "obiba.mica.StudyStateDto.state";
        $f->type = \StudyDrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \StudyDrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\StudyStateDto';
        return $f;
    });
    \obiba\mica\DocumentDigestDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.NetworkDigestDto.studies = 1000
        $f = new \StudyDrSlump\Protobuf\Field();
        $f->number = 1000;
        $f->name = "obiba.mica.NetworkDigestDto.studies";
        $f->type = \StudyDrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \StudyDrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\NetworkDigestDto';
        return $f;
    });
    \obiba\mica\DatasetDto::extension(function () {