File: name_resolution.proto

package info (click to toggle)
rust-protox 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 468 kB
  • sloc: makefile: 2
file content (36 lines) | stat: -rw-r--r-- 657 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
syntax = "proto3";

import "include/package.proto";
import "include/no_package.proto";

package foo.bar;

message FooBar {}

message Names {
    .foo.bar.FooBar field1 = 1;
    foo.bar.FooBar field2 = 2;
    bar.FooBar field3 = 3;
    FooBar field4 = 4;

    .foo.Foo field5 = 5;
    foo.Foo field6 = 6;
    Foo field7 = 7;

    .Bar field8 = 8;
    Bar field9 = 9;

    message Nested {
        .foo.bar.FooBar field1 = 1;
        foo.bar.FooBar field2 = 2;
        bar.FooBar field3 = 3;
        FooBar field4 = 4;

        .foo.Foo field5 = 5;
        foo.Foo field6 = 6;
        Foo field7 = 7;

        .Bar field8 = 8;
        Bar field9 = 9;
    }
}