21 lines
344 B
Protocol Buffer
21 lines
344 B
Protocol Buffer
syntax = "proto3";
|
|
package documentation;
|
|
|
|
// Documentation of message
|
|
message Test {
|
|
// Documentation of field
|
|
uint32 x = 1;
|
|
}
|
|
|
|
// Documentation of enum
|
|
enum Enum {
|
|
// Documentation of variant
|
|
Enum_Variant = 0;
|
|
}
|
|
|
|
// Documentation of service
|
|
service Service {
|
|
// Documentation of method
|
|
rpc get(Test) returns (Test);
|
|
}
|