File: documentation.proto

package info (click to toggle)
python-aristaproto 1.2%2Breally0.1.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,600 kB
  • sloc: python: 6,521; java: 106; xml: 84; makefile: 6
file content (44 lines) | stat: -rw-r--r-- 938 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
syntax = "proto3";
package documentation;

// Documentation of message 1
// other line 1

// Documentation of message 2
// other line 2
message Test { // Documentation of message 3
    // Documentation of field 1
    // other line 1

    // Documentation of field 2
    // other line 2
    uint32 x = 1; // Documentation of field 3
}

// Documentation of enum 1
// other line 1

// Documentation of enum 2
// other line 2
enum Enum { // Documentation of enum 3
    // Documentation of variant 1
    // other line 1

    // Documentation of variant 2
    // other line 2
    Enum_Variant = 0; // Documentation of variant 3
}

// Documentation of service 1
// other line 1

// Documentation of service 2
// other line 2
service Service { // Documentation of service 3
    // Documentation of method 1
    // other line 1

    // Documentation of method 2
    // other line 2
    rpc get(Test) returns (Test); // Documentation of method 3
}