Hi, just wanted to check my declaration with you guys, is it possible to
reuse the `Study` declaration in the `Denormalised`
package mypackage;
message Dataset {
required string accession = 1;
required string url_self = 2;
optional string title = 3;
optional string description = 4;
repeated TechnologyType technology = 5;
optional int32 samples = 6;
optional string type = 7;
repeated StudyId studies = 8;
message StudyId {
required string accession = 1;
}
message TechnologyType {
required string type = 1;
}
}
message Study {
required string accession = 1;
required string url_self = 2;
optional string title = 3;
optional string description = 4;
optional string alternative_stable_id = 5;
repeated StudyType type = 6;
repeated DatasetId datasets = 7;
message DatasetId {
required string accession = 1;
}
message StudyType {
required string type = 1;
}
}
message Denormalised {
required string accession = 1;
required string url_self = 2;
required string title = 3;
required string description = 4;
repeated TechnologyType technology = 5;
optional int32 samples = 6;
optional string type = 7;
repeated Study studies = 8; // do I have to redeclare Study
message TechnologyType {
required string type = 1;
}
}
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.