1/*
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17struct Old {
18  1: string unqualified_to_unqualified;
19  2: string unqualified_to_optional;
20  3: string unqualified_to_required;
21  4: string unqualified_old;
22  5: string unqualified_removed;
23
24  11: optional string optional_to_unqualified;
25  12: optional string optional_to_optional;
26  13: optional string optional_to_required;
27  14: optional string optional_old;
28  15: optional string optional_removed;
29
30  21: required string required_to_unqualified;
31  22: required string required_to_optional;
32  23: required string required_to_required;
33  24: required string required_old;
34  25: required string required_removed;
35}
36
37struct New {
38  1: string unqualified_to_unqualified;
39  2: optional string unqualified_to_optional;
40  3: required string unqualified_to_required;
41  4: string unqualified_new;
42  // 5: string unqualified_removed
43  6: string unqualified_added;
44
45  11: string optional_to_unqualified;
46  12: optional string optional_to_optional;
47  13: required string optional_to_required;
48  14: optional string optional_new;
49  // 15: optional string optional_removed
50  16: optional string optional_added;
51
52  21: string required_to_unqualified;
53  22: optional string required_to_optional;
54  23: required string required_to_required;
55  24: required string required_new;
56  // 25: required string required_removed
57  26: required string required_added;
58}
59