mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-29 20:20:57 -05:00
ab8780a58f
Co-authored-by: Gabo <gabo.fdc@gmail.com> Co-authored-by: Matt Desmond <beardofedu@github.com> Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
18 lines
436 B
Protocol Buffer
18 lines
436 B
Protocol Buffer
syntax = "proto3";
|
|
import public "other.proto";
|
|
option java_package = "com.example.foo";
|
|
enum EnumAllowingAlias {
|
|
option allow_alias = true;
|
|
ALLOWING_UNSPECIFIED = 0;
|
|
STARTED = 1;
|
|
RUNNING = 2 [(custom_option) = "hello world"];
|
|
}
|
|
message Outer {
|
|
option (my_option).a = true;
|
|
message Inner { // Level 2
|
|
int64 ival = 1;
|
|
}
|
|
inner inner_message = 2;
|
|
EnumAllowingAlias enum_field =3;
|
|
map<int32, string> my_map = 4;
|
|
}
|