Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Side by Side Diff: common/proto/google/descriptor/util_test.proto

Issue 2219023003: Update APIs to use new Google cloud paths. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 syntax = "proto3";
2
3 package pkg;
4
5
6 // Enum comment.
7 // next line.
8 enum E1 {
9 // V0
10 // next line.
11 V0 = 0;
12 // V1
13 // next line.
14 V1 = 1;
15 }
16
17 // M1
18 // next line.
19 message M1 {
20 // f1
21 // next line.
22 string f1 = 1;
23 }
24
25 // M2
26 // next line.
27 message M2 {
28 // f1
29 // next line.
30 repeated M1 f1 = 1;
31 // f2
32 // next line.
33 E1 f2 = 2;
34 }
35
36 // M3
37 message M3 {
38 // O1
39 oneof O1 {
40 // f1
41 int32 f1 = 1;
42 // f2
43 int32 f2 = 2;
44 }
45 // O2
46 oneof O2 {
47 // f3
48 int32 f3 = 3;
49 // f4
50 int32 f4 = 4;
51 }
52 // f5
53 string f5 = 5;
54 // f6
55 int32 f6 = 6;
56 }
57
58
59 // S1
60 service S1 {
61 // R1
62 rpc R1(M1) returns (M2) {};
63 }
64
65 // S2
66 service S2 {
67 // R1
68 rpc R1(M1) returns (M2) {};
69 // R2
70 rpc R2(M1) returns (M2) {};
71 }
72
73 message NestedMessageParent {
74 message NestedMessage {
75 int32 f1 = 1;
76 int32 f2 = 2;
77 }
78 enum NestedEnum {
79 V0 = 0;
80 V1 = 1;
81 }
82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698