Dzielenie definicji bufora protokołu na wiele plików .proto

Chciałbym dołączyć plik definicji protokołu do innego pliku protokołu. Na przykład:

// base.proto:
message P_EndPoint {
  required int32 id = 1;
  required string host = 2;
  required int32 port = 3;
}

Następnie w innym pliku:

communication.proto:
// somehow include `base.proto'
// ...
message P_CommunicationProtocol {
  required CP_MessageType type = 1;
  optional int32 id = 2;
  optional P_EndPoint identity = 3;
  repeated P_EndPoint others = 4;
}
// ...

(Uwaga: program developers.google.com nie jest dostępny w moich lokalizacjach)

questionAnswers(1)

yourAnswerToTheQuestion