| OLD | NEW |
| (Empty) | |
| 1 syntax = "proto2"; |
| 2 option optimize_for = LITE_RUNTIME; |
| 3 |
| 4 package tracing; |
| 5 |
| 6 message EventArgsSimple { |
| 7 oneof arg_1_name { |
| 8 int64 arg_1_name_idx = 1; // This is for const char* strings. |
| 9 string arg_1_name_string = 2; // This is for *WithCopiedName() |
| 10 } |
| 11 |
| 12 oneof arg_1_value { |
| 13 bool arg_1_bool_value = 3; |
| 14 int64 arg_1_int_value = 4; |
| 15 double arg_1_real_value = 5; |
| 16 } |
| 17 |
| 18 oneof arg_2_name { |
| 19 int64 arg_2_name_idx = 11; // This is for const char* strings. |
| 20 string arg_2_name_string = 12; // This is for *WithCopiedName() |
| 21 } |
| 22 |
| 23 oneof arg_2_value { |
| 24 bool arg_2_bool_value = 13; |
| 25 int64 arg_2_int_value = 14; |
| 26 double arg_2_real_value = 15; |
| 27 } |
| 28 } |
| OLD | NEW |