File: generate_synthetic_oneof_ordering.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 (13 lines) | stat: -rw-r--r-- 148 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
syntax = 'proto3';

message Foo {
    oneof o1 {
        float a = 1;
    }

    optional bool o3 = 2;

    oneof o2 {
        string b = 3;
    }
}