syntax = "proto2";

package a;

message One {
  extensions 4 to 5, 100 to 200;
  extensions 300, 301, 1000 to max;
  extensions 10 to 20, 50 to 75;
  optional int32 one = 1;
  optional int32 two = 2;
  optional int32 three = 3;
}

message Two {
  extensions 4 to 5, 100 to 200;
  extensions 300, 301, 1000 to max;
  optional int32 one = 1;
  optional int32 two = 2;
  optional int32 three = 3;
}

message Three {
  message Four {
    message Five {
      extensions 4 to 5, 100 to 200;
      extensions 300, 301, 1000 to max;
      optional int32 one = 1;
      optional int32 two = 2;
      optional int32 three = 3;
    }
    message Six {
      extensions 4 to 5, 100 to 200;
      extensions 300, 301, 1000 to max;
      optional int32 one = 1;
      optional int32 two = 2;
      optional int32 three = 3;
    }
  }
  message Seven {
    extensions 4 to 5, 100 to 200;
    extensions 300, 301, 1000 to max;
    optional int32 one = 1;
    optional int32 two = 2;
    optional int32 three = 3;
  }
  message Eight {
    extensions 4 to 5, 100 to 200;
    extensions 300, 301, 1000 to max;
    optional int32 one = 1;
    optional int32 two = 2;
    optional int32 three = 3;
  }
  optional int32 one = 1;
  optional int32 two = 2;
  optional int32 three = 3;
}

message Nine {
  extensions 4 to 5, 100 to 200;
  extensions 300, 301, 1000 to max;
  optional int32 one = 1;
  optional int32 two = 2;
  optional int32 three = 3;
}

message Ten {
  extensions 1 to max;
}
