github.com/yoheimuta/protolint@v0.49.8-0.20240515023657-4ecaebb7575d/_testdata/rules/indentrule/message.proto (about)

     1  syntax = "proto3";
     2  
     3  message outer {
     4    option (my_option).a = true;
     5    message inner {   // Level 2
     6      int64 ival = 1;
     7    }
     8    repeated inner inner_message = 2;
     9    EnumAllowingAlias enum_field =3;
    10    map<int32, string> my_map = 4;
    11  
    12    enum enumAllowingAlias {
    13      option allow_alias = true;
    14      UNKNOWN = 0;
    15      STARTED = 1;
    16      RUNNING = 2 [(custom_option) = "hello world"];
    17    }
    18  }