linx-simulator2/node_modules/protobufjs/tests/camelcase.proto

15 lines
369 B
Protocol Buffer
Raw Normal View History

2019-09-18 08:11:16 +00:00
message Test {
// Case 1: Revert 1st
required int32 some_field = 1; // -> someField, reverted
required int32 someField = 2; // kept
// Case 2: Revert 2nd
required int32 aField = 3; // kept
required int32 a_field = 4; // -> aField, reverted
// No revert
required int32 its_a_field = 5; // -> itsAField
}