/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ enum Enum { ENUM = 1, } struct A { 1: string a; } struct B { 1: A just_an_A; 2: set set_of_i32; 3: list list_of_i32; 4: list list_of_string; 5: map map_of_string_to_i32; 6: map map_of_string_to_A; 7: map> map_of_string_to_list_of_i32; 8: map> map_of_string_to_list_of_A; 9: map> map_of_string_to_set_of_i32; 10: map> map_of_string_to_map_of_string_to_i32; 11: map> map_of_string_to_map_of_string_to_A; 12: list> list_of_set_of_i32; 13: list>> list_of_map_of_string_to_list_of_A; 14: list> list_of_map_of_string_to_A; 17: Enum just_an_enum; 51: optional A optional_just_an_A; 52: optional set optional_set_of_i32; 53: optional list optional_list_of_i32; 54: optional list optional_list_of_string; 55: optional map optional_map_of_string_to_i32; 56: optional map optional_map_of_string_to_A; 57: optional map> optional_map_of_string_to_list_of_i32; 58: optional map> optional_map_of_string_to_list_of_A; 59: optional map> optional_map_of_string_to_set_of_i32; 60: optional Enum optional_enum; }