superlint/.automation/test/protobuf/protobuf_good_1.proto
Lukas Gravley 5f5904883d
remove tap and tests (#1496)
* remove tap and tests

* fix proto

* remove dumb test
2021-04-30 12:46:24 -05:00

18 lines
496 B
Protocol Buffer

syntax = "proto3";
import public "other.proto";
option java_package = "com.example.foo";
enum EnumAllowingAlias {
option allow_alias = true;
ENUM_ALLOWING_ALIAS_ALLOWING_UNSPECIFIED = 0;
ENUM_ALLOWING_ALIAS_STARTED = 1;
ENUM_ALLOWING_ALIAS_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;
}