Implementation
@$core.Deprecated('Use testOneof2Descriptor instead')
const TestOneof2$json = const {
'1': 'TestOneof2',
'2': const [
const {'1': 'foo_int', '3': 1, '4': 1, '5': 5, '9': 0, '10': 'fooInt'},
const {'1': 'foo_string', '3': 2, '4': 1, '5': 9, '9': 0, '10': 'fooString'},
const {
'1': 'foo_cord',
'3': 3,
'4': 1,
'5': 9,
'8': const {'1': 1},
'9': 0,
'10': 'fooCord',
},
const {
'1': 'foo_string_piece',
'3': 4,
'4': 1,
'5': 9,
'8': const {'1': 2},
'9': 0,
'10': 'fooStringPiece',
},
const {'1': 'foo_bytes', '3': 5, '4': 1, '5': 12, '9': 0, '10': 'fooBytes'},
const {'1': 'foo_enum', '3': 6, '4': 1, '5': 14, '6': '.protobuf_unittest.TestOneof2.NestedEnum', '9': 0, '10': 'fooEnum'},
const {'1': 'foo_message', '3': 7, '4': 1, '5': 11, '6': '.protobuf_unittest.TestOneof2.NestedMessage', '9': 0, '10': 'fooMessage'},
const {'1': 'foogroup', '3': 8, '4': 1, '5': 10, '6': '.protobuf_unittest.TestOneof2.FooGroup', '9': 0, '10': 'foogroup'},
const {
'1': 'foo_lazy_message',
'3': 11,
'4': 1,
'5': 11,
'6': '.protobuf_unittest.TestOneof2.NestedMessage',
'8': const {'5': true},
'9': 0,
'10': 'fooLazyMessage',
},
const {'1': 'bar_int', '3': 12, '4': 1, '5': 5, '7': '5', '9': 1, '10': 'barInt'},
const {'1': 'bar_string', '3': 13, '4': 1, '5': 9, '7': 'STRING', '9': 1, '10': 'barString'},
const {
'1': 'bar_cord',
'3': 14,
'4': 1,
'5': 9,
'7': 'CORD',
'8': const {'1': 1},
'9': 1,
'10': 'barCord',
},
const {
'1': 'bar_string_piece',
'3': 15,
'4': 1,
'5': 9,
'7': 'SPIECE',
'8': const {'1': 2},
'9': 1,
'10': 'barStringPiece',
},
const {'1': 'bar_bytes', '3': 16, '4': 1, '5': 12, '7': 'BYTES', '9': 1, '10': 'barBytes'},
const {'1': 'bar_enum', '3': 17, '4': 1, '5': 14, '6': '.protobuf_unittest.TestOneof2.NestedEnum', '7': 'BAR', '9': 1, '10': 'barEnum'},
const {'1': 'bar_string_with_empty_default', '3': 20, '4': 1, '5': 9, '7': '', '9': 1, '10': 'barStringWithEmptyDefault'},
const {
'1': 'bar_cord_with_empty_default',
'3': 21,
'4': 1,
'5': 9,
'7': '',
'8': const {'1': 1},
'9': 1,
'10': 'barCordWithEmptyDefault',
},
const {
'1': 'bar_string_piece_with_empty_default',
'3': 22,
'4': 1,
'5': 9,
'7': '',
'8': const {'1': 2},
'9': 1,
'10': 'barStringPieceWithEmptyDefault',
},
const {'1': 'bar_bytes_with_empty_default', '3': 23, '4': 1, '5': 12, '7': '', '9': 1, '10': 'barBytesWithEmptyDefault'},
const {'1': 'baz_int', '3': 18, '4': 1, '5': 5, '10': 'bazInt'},
const {'1': 'baz_string', '3': 19, '4': 1, '5': 9, '7': 'BAZ', '10': 'bazString'},
],
'3': const [TestOneof2_FooGroup$json, TestOneof2_NestedMessage$json],
'4': const [TestOneof2_NestedEnum$json],
'8': const [
const {'1': 'foo'},
const {'1': 'bar'},
],
};