예제 #1
0
 });
 \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 () {
     // 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 () {
예제 #2
0
         *
         * @param \obiba\mica\AttachmentDto $value
         * @return \obiba\mica\AttachmentStateDto
         */
        public function addRevisions(\obiba\mica\AttachmentDto $value)
        {
            return $this->_add(9, $value);
        }
    }
}
namespace {
    \obiba\mica\NetworkDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.EntityStateDto.state = 1000
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1000;
        $f->name = "obiba.mica.EntityStateDto.state";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\EntityStateDto';
        return $f;
    });
    \obiba\mica\DatasetDto::extension(function () {
        // OPTIONAL MESSAGE obiba.mica.EntityStateDto.datasetState = 1002
        $f = new \DrSlump\Protobuf\Field();
        $f->number = 1002;
        $f->name = "obiba.mica.EntityStateDto.datasetState";
        $f->type = \DrSlump\Protobuf::TYPE_MESSAGE;
        $f->rule = \DrSlump\Protobuf::RULE_OPTIONAL;
        $f->reference = '\\obiba\\mica\\EntityStateDto';
        return $f;
    });
    \obiba\mica\DatasetDto::extension(function () {