1 /** 2 * Autogenerated by Thrift 3 * 4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING 5 * @generated 6 */ 7 import java.util.List; 8 import java.util.ArrayList; 9 import java.util.Map; 10 import java.util.HashMap; 11 import java.util.Set; 12 import java.util.HashSet; 13 import java.util.Collections; 14 import java.util.BitSet; 15 import java.util.Arrays; 16 import com.facebook.thrift.*; 17 import com.facebook.thrift.annotations.*; 18 import com.facebook.thrift.async.*; 19 import com.facebook.thrift.meta_data.*; 20 import com.facebook.thrift.server.*; 21 import com.facebook.thrift.transport.*; 22 import com.facebook.thrift.protocol.*; 23 24 @SuppressWarnings({ "unused", "serial" }) 25 public class ComplexNestedStruct implements TBase, java.io.Serializable, Cloneable { 26 private static final TStruct STRUCT_DESC = new TStruct("ComplexNestedStruct"); 27 private static final TField SET_OF_SET_OF_INT_FIELD_DESC = new TField("setOfSetOfInt", TType.SET, (short)1); 28 private static final TField LISTOF_LIST_OF_LIST_OF_LIST_OF_ENUM_FIELD_DESC = new TField("listofListOfListOfListOfEnum", TType.LIST, (short)2); 29 private static final TField LIST_OF_LIST_OF_MY_STRUCT_FIELD_DESC = new TField("listOfListOfMyStruct", TType.LIST, (short)3); 30 private static final TField SET_OF_LIST_OF_LIST_OF_LONG_FIELD_DESC = new TField("setOfListOfListOfLong", TType.SET, (short)4); 31 private static final TField SET_OF_SET_OFSET_OF_LONG_FIELD_DESC = new TField("setOfSetOfsetOfLong", TType.SET, (short)5); 32 private static final TField MAP_STRUCT_LIST_OF_LIST_OF_LONG_FIELD_DESC = new TField("mapStructListOfListOfLong", TType.MAP, (short)6); 33 private static final TField M_KEY_STRUCT_VAL_INT_FIELD_DESC = new TField("mKeyStructValInt", TType.MAP, (short)7); 34 private static final TField LIST_OF_MAP_KEY_INT_VAL_INT_FIELD_DESC = new TField("listOfMapKeyIntValInt", TType.LIST, (short)8); 35 private static final TField LIST_OF_MAP_KEY_STR_VAL_LIST_FIELD_DESC = new TField("listOfMapKeyStrValList", TType.LIST, (short)9); 36 private static final TField MAP_KEY_SET_VAL_LONG_FIELD_DESC = new TField("mapKeySetValLong", TType.MAP, (short)10); 37 private static final TField MAP_KEY_LIST_VAL_LONG_FIELD_DESC = new TField("mapKeyListValLong", TType.MAP, (short)11); 38 private static final TField MAP_KEY_MAP_VAL_MAP_FIELD_DESC = new TField("mapKeyMapValMap", TType.MAP, (short)12); 39 private static final TField MAP_KEY_SET_VAL_MAP_FIELD_DESC = new TField("mapKeySetValMap", TType.MAP, (short)13); 40 private static final TField NESTED_MAPS_FIELD_DESC = new TField("NestedMaps", TType.MAP, (short)14); 41 private static final TField MAP_KEY_INT_VAL_LIST_FIELD_DESC = new TField("mapKeyIntValList", TType.MAP, (short)15); 42 private static final TField MAP_KEY_INT_VAL_SET_FIELD_DESC = new TField("mapKeyIntValSet", TType.MAP, (short)16); 43 private static final TField MAP_KEY_SET_VAL_INT_FIELD_DESC = new TField("mapKeySetValInt", TType.MAP, (short)17); 44 private static final TField MAP_KEY_LIST_VAL_SET_FIELD_DESC = new TField("mapKeyListValSet", TType.MAP, (short)18); 45 46 public Set<Set<Integer>> setOfSetOfInt; 47 public List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum; 48 public List<List<MyStruct>> listOfListOfMyStruct; 49 public Set<List<List<Long>>> setOfListOfListOfLong; 50 public Set<Set<Set<Long>>> setOfSetOfsetOfLong; 51 public Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong; 52 public Map<MyStruct,Integer> mKeyStructValInt; 53 public List<Map<Integer,Integer>> listOfMapKeyIntValInt; 54 public List<Map<String,List<MyStruct>>> listOfMapKeyStrValList; 55 public Map<Set<Integer>,Long> mapKeySetValLong; 56 public Map<List<String>,Integer> mapKeyListValLong; 57 public Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap; 58 public Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap; 59 public Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps; 60 public Map<Integer,List<MyStruct>> mapKeyIntValList; 61 public Map<Integer,Set<Boolean>> mapKeyIntValSet; 62 public Map<Set<Boolean>,MyEnum> mapKeySetValInt; 63 public Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet; 64 public static final int SETOFSETOFINT = 1; 65 public static final int LISTOFLISTOFLISTOFLISTOFENUM = 2; 66 public static final int LISTOFLISTOFMYSTRUCT = 3; 67 public static final int SETOFLISTOFLISTOFLONG = 4; 68 public static final int SETOFSETOFSETOFLONG = 5; 69 public static final int MAPSTRUCTLISTOFLISTOFLONG = 6; 70 public static final int MKEYSTRUCTVALINT = 7; 71 public static final int LISTOFMAPKEYINTVALINT = 8; 72 public static final int LISTOFMAPKEYSTRVALLIST = 9; 73 public static final int MAPKEYSETVALLONG = 10; 74 public static final int MAPKEYLISTVALLONG = 11; 75 public static final int MAPKEYMAPVALMAP = 12; 76 public static final int MAPKEYSETVALMAP = 13; 77 public static final int NESTEDMAPS = 14; 78 public static final int MAPKEYINTVALLIST = 15; 79 public static final int MAPKEYINTVALSET = 16; 80 public static final int MAPKEYSETVALINT = 17; 81 public static final int MAPKEYLISTVALSET = 18; 82 83 // isset id assignments 84 85 public static final Map<Integer, FieldMetaData> metaDataMap; 86 87 static { 88 Map<Integer, FieldMetaData> tmpMetaDataMap = new HashMap<Integer, FieldMetaData>(); tmpMetaDataMap.put(SETOFSETOFINT, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new SetMetaData(TType.SET, new SetMetaData(TType.SET, new FieldValueMetaData(TType.I32)))))89 tmpMetaDataMap.put(SETOFSETOFINT, new FieldMetaData("setOfSetOfInt", TFieldRequirementType.DEFAULT, 90 new SetMetaData(TType.SET, 91 new SetMetaData(TType.SET, 92 new FieldValueMetaData(TType.I32))))); tmpMetaDataMap.put(LISTOFLISTOFLISTOFLISTOFENUM, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.I32)))))))93 tmpMetaDataMap.put(LISTOFLISTOFLISTOFLISTOFENUM, new FieldMetaData("listofListOfListOfListOfEnum", TFieldRequirementType.DEFAULT, 94 new ListMetaData(TType.LIST, 95 new ListMetaData(TType.LIST, 96 new ListMetaData(TType.LIST, 97 new ListMetaData(TType.LIST, 98 new FieldValueMetaData(TType.I32))))))); tmpMetaDataMap.put(LISTOFLISTOFMYSTRUCT, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, MyStruct.class)))))99 tmpMetaDataMap.put(LISTOFLISTOFMYSTRUCT, new FieldMetaData("listOfListOfMyStruct", TFieldRequirementType.DEFAULT, 100 new ListMetaData(TType.LIST, 101 new ListMetaData(TType.LIST, 102 new StructMetaData(TType.STRUCT, MyStruct.class))))); tmpMetaDataMap.put(SETOFLISTOFLISTOFLONG, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new SetMetaData(TType.SET, new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.I64))))))103 tmpMetaDataMap.put(SETOFLISTOFLISTOFLONG, new FieldMetaData("setOfListOfListOfLong", TFieldRequirementType.DEFAULT, 104 new SetMetaData(TType.SET, 105 new ListMetaData(TType.LIST, 106 new ListMetaData(TType.LIST, 107 new FieldValueMetaData(TType.I64)))))); tmpMetaDataMap.put(SETOFSETOFSETOFLONG, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new SetMetaData(TType.SET, new SetMetaData(TType.SET, new SetMetaData(TType.SET, new FieldValueMetaData(TType.I64))))))108 tmpMetaDataMap.put(SETOFSETOFSETOFLONG, new FieldMetaData("setOfSetOfsetOfLong", TFieldRequirementType.DEFAULT, 109 new SetMetaData(TType.SET, 110 new SetMetaData(TType.SET, 111 new SetMetaData(TType.SET, 112 new FieldValueMetaData(TType.I64)))))); tmpMetaDataMap.put(MAPSTRUCTLISTOFLISTOFLONG, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new ListMetaData(TType.LIST, new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, MyStruct.class))))))113 tmpMetaDataMap.put(MAPSTRUCTLISTOFLISTOFLONG, new FieldMetaData("mapStructListOfListOfLong", TFieldRequirementType.DEFAULT, 114 new MapMetaData(TType.MAP, 115 new FieldValueMetaData(TType.I32), 116 new ListMetaData(TType.LIST, 117 new ListMetaData(TType.LIST, 118 new StructMetaData(TType.STRUCT, MyStruct.class)))))); tmpMetaDataMap.put(MKEYSTRUCTVALINT, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new StructMetaData(TType.STRUCT, MyStruct.class), new FieldValueMetaData(TType.I32))))119 tmpMetaDataMap.put(MKEYSTRUCTVALINT, new FieldMetaData("mKeyStructValInt", TFieldRequirementType.DEFAULT, 120 new MapMetaData(TType.MAP, 121 new StructMetaData(TType.STRUCT, MyStruct.class), 122 new FieldValueMetaData(TType.I32)))); tmpMetaDataMap.put(LISTOFMAPKEYINTVALINT, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new FieldValueMetaData(TType.I32)))))123 tmpMetaDataMap.put(LISTOFMAPKEYINTVALINT, new FieldMetaData("listOfMapKeyIntValInt", TFieldRequirementType.DEFAULT, 124 new ListMetaData(TType.LIST, 125 new MapMetaData(TType.MAP, 126 new FieldValueMetaData(TType.I32), 127 new FieldValueMetaData(TType.I32))))); tmpMetaDataMap.put(LISTOFMAPKEYSTRVALLIST, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new ListMetaData(TType.LIST, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.STRING), new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, MyStruct.class))))))128 tmpMetaDataMap.put(LISTOFMAPKEYSTRVALLIST, new FieldMetaData("listOfMapKeyStrValList", TFieldRequirementType.DEFAULT, 129 new ListMetaData(TType.LIST, 130 new MapMetaData(TType.MAP, 131 new FieldValueMetaData(TType.STRING), 132 new ListMetaData(TType.LIST, 133 new StructMetaData(TType.STRUCT, MyStruct.class)))))); tmpMetaDataMap.put(MAPKEYSETVALLONG, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new SetMetaData(TType.SET, new FieldValueMetaData(TType.I32)), new FieldValueMetaData(TType.I64))))134 tmpMetaDataMap.put(MAPKEYSETVALLONG, new FieldMetaData("mapKeySetValLong", TFieldRequirementType.DEFAULT, 135 new MapMetaData(TType.MAP, 136 new SetMetaData(TType.SET, 137 new FieldValueMetaData(TType.I32)), 138 new FieldValueMetaData(TType.I64)))); tmpMetaDataMap.put(MAPKEYLISTVALLONG, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.STRING)), new FieldValueMetaData(TType.I32))))139 tmpMetaDataMap.put(MAPKEYLISTVALLONG, new FieldMetaData("mapKeyListValLong", TFieldRequirementType.DEFAULT, 140 new MapMetaData(TType.MAP, 141 new ListMetaData(TType.LIST, 142 new FieldValueMetaData(TType.STRING)), 143 new FieldValueMetaData(TType.I32)))); tmpMetaDataMap.put(MAPKEYMAPVALMAP, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new FieldValueMetaData(TType.STRING)), new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new FieldValueMetaData(TType.STRING)))))144 tmpMetaDataMap.put(MAPKEYMAPVALMAP, new FieldMetaData("mapKeyMapValMap", TFieldRequirementType.DEFAULT, 145 new MapMetaData(TType.MAP, 146 new MapMetaData(TType.MAP, 147 new FieldValueMetaData(TType.I32), 148 new FieldValueMetaData(TType.STRING)), 149 new MapMetaData(TType.MAP, 150 new FieldValueMetaData(TType.I32), 151 new FieldValueMetaData(TType.STRING))))); tmpMetaDataMap.put(MAPKEYSETVALMAP, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new SetMetaData(TType.SET, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.I32))), new MapMetaData(TType.MAP, new ListMetaData(TType.LIST, new SetMetaData(TType.SET, new FieldValueMetaData(TType.STRING))), new FieldValueMetaData(TType.STRING)))))152 tmpMetaDataMap.put(MAPKEYSETVALMAP, new FieldMetaData("mapKeySetValMap", TFieldRequirementType.DEFAULT, 153 new MapMetaData(TType.MAP, 154 new SetMetaData(TType.SET, 155 new ListMetaData(TType.LIST, 156 new FieldValueMetaData(TType.I32))), 157 new MapMetaData(TType.MAP, 158 new ListMetaData(TType.LIST, 159 new SetMetaData(TType.SET, 160 new FieldValueMetaData(TType.STRING))), 161 new FieldValueMetaData(TType.STRING))))); tmpMetaDataMap.put(NESTEDMAPS, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new MapMetaData(TType.MAP, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new FieldValueMetaData(TType.STRING)), new FieldValueMetaData(TType.STRING)), new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new FieldValueMetaData(TType.STRING)))))162 tmpMetaDataMap.put(NESTEDMAPS, new FieldMetaData("NestedMaps", TFieldRequirementType.DEFAULT, 163 new MapMetaData(TType.MAP, 164 new MapMetaData(TType.MAP, 165 new MapMetaData(TType.MAP, 166 new FieldValueMetaData(TType.I32), 167 new FieldValueMetaData(TType.STRING)), 168 new FieldValueMetaData(TType.STRING)), 169 new MapMetaData(TType.MAP, 170 new FieldValueMetaData(TType.I32), 171 new FieldValueMetaData(TType.STRING))))); tmpMetaDataMap.put(MAPKEYINTVALLIST, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new ListMetaData(TType.LIST, new StructMetaData(TType.STRUCT, MyStruct.class)))))172 tmpMetaDataMap.put(MAPKEYINTVALLIST, new FieldMetaData("mapKeyIntValList", TFieldRequirementType.DEFAULT, 173 new MapMetaData(TType.MAP, 174 new FieldValueMetaData(TType.I32), 175 new ListMetaData(TType.LIST, 176 new StructMetaData(TType.STRUCT, MyStruct.class))))); tmpMetaDataMap.put(MAPKEYINTVALSET, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.I32), new SetMetaData(TType.SET, new FieldValueMetaData(TType.BOOL)))))177 tmpMetaDataMap.put(MAPKEYINTVALSET, new FieldMetaData("mapKeyIntValSet", TFieldRequirementType.DEFAULT, 178 new MapMetaData(TType.MAP, 179 new FieldValueMetaData(TType.I32), 180 new SetMetaData(TType.SET, 181 new FieldValueMetaData(TType.BOOL))))); tmpMetaDataMap.put(MAPKEYSETVALINT, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new SetMetaData(TType.SET, new FieldValueMetaData(TType.BOOL)), new FieldValueMetaData(TType.I32))))182 tmpMetaDataMap.put(MAPKEYSETVALINT, new FieldMetaData("mapKeySetValInt", TFieldRequirementType.DEFAULT, 183 new MapMetaData(TType.MAP, 184 new SetMetaData(TType.SET, 185 new FieldValueMetaData(TType.BOOL)), 186 new FieldValueMetaData(TType.I32)))); tmpMetaDataMap.put(MAPKEYLISTVALSET, new FieldMetaData(R, TFieldRequirementType.DEFAULT, new MapMetaData(TType.MAP, new ListMetaData(TType.LIST, new FieldValueMetaData(TType.I32)), new SetMetaData(TType.SET, new MapMetaData(TType.MAP, new FieldValueMetaData(TType.DOUBLE), new FieldValueMetaData(TType.STRING))))))187 tmpMetaDataMap.put(MAPKEYLISTVALSET, new FieldMetaData("mapKeyListValSet", TFieldRequirementType.DEFAULT, 188 new MapMetaData(TType.MAP, 189 new ListMetaData(TType.LIST, 190 new FieldValueMetaData(TType.I32)), 191 new SetMetaData(TType.SET, 192 new MapMetaData(TType.MAP, 193 new FieldValueMetaData(TType.DOUBLE), 194 new FieldValueMetaData(TType.STRING)))))); 195 metaDataMap = Collections.unmodifiableMap(tmpMetaDataMap); 196 } 197 198 static { FieldMetaData.addStructMetaDataMap(ComplexNestedStruct.class, metaDataMap)199 FieldMetaData.addStructMetaDataMap(ComplexNestedStruct.class, metaDataMap); 200 } 201 ComplexNestedStruct()202 public ComplexNestedStruct() { 203 } 204 ComplexNestedStruct( Set<Set<Integer>> setOfSetOfInt, List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum, List<List<MyStruct>> listOfListOfMyStruct, Set<List<List<Long>>> setOfListOfListOfLong, Set<Set<Set<Long>>> setOfSetOfsetOfLong, Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong, Map<MyStruct,Integer> mKeyStructValInt, List<Map<Integer,Integer>> listOfMapKeyIntValInt, List<Map<String,List<MyStruct>>> listOfMapKeyStrValList, Map<Set<Integer>,Long> mapKeySetValLong, Map<List<String>,Integer> mapKeyListValLong, Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap, Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap, Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps, Map<Integer,List<MyStruct>> mapKeyIntValList, Map<Integer,Set<Boolean>> mapKeyIntValSet, Map<Set<Boolean>,MyEnum> mapKeySetValInt, Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet)205 public ComplexNestedStruct( 206 Set<Set<Integer>> setOfSetOfInt, 207 List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum, 208 List<List<MyStruct>> listOfListOfMyStruct, 209 Set<List<List<Long>>> setOfListOfListOfLong, 210 Set<Set<Set<Long>>> setOfSetOfsetOfLong, 211 Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong, 212 Map<MyStruct,Integer> mKeyStructValInt, 213 List<Map<Integer,Integer>> listOfMapKeyIntValInt, 214 List<Map<String,List<MyStruct>>> listOfMapKeyStrValList, 215 Map<Set<Integer>,Long> mapKeySetValLong, 216 Map<List<String>,Integer> mapKeyListValLong, 217 Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap, 218 Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap, 219 Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps, 220 Map<Integer,List<MyStruct>> mapKeyIntValList, 221 Map<Integer,Set<Boolean>> mapKeyIntValSet, 222 Map<Set<Boolean>,MyEnum> mapKeySetValInt, 223 Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet) { 224 this(); 225 this.setOfSetOfInt = setOfSetOfInt; 226 this.listofListOfListOfListOfEnum = listofListOfListOfListOfEnum; 227 this.listOfListOfMyStruct = listOfListOfMyStruct; 228 this.setOfListOfListOfLong = setOfListOfListOfLong; 229 this.setOfSetOfsetOfLong = setOfSetOfsetOfLong; 230 this.mapStructListOfListOfLong = mapStructListOfListOfLong; 231 this.mKeyStructValInt = mKeyStructValInt; 232 this.listOfMapKeyIntValInt = listOfMapKeyIntValInt; 233 this.listOfMapKeyStrValList = listOfMapKeyStrValList; 234 this.mapKeySetValLong = mapKeySetValLong; 235 this.mapKeyListValLong = mapKeyListValLong; 236 this.mapKeyMapValMap = mapKeyMapValMap; 237 this.mapKeySetValMap = mapKeySetValMap; 238 this.NestedMaps = NestedMaps; 239 this.mapKeyIntValList = mapKeyIntValList; 240 this.mapKeyIntValSet = mapKeyIntValSet; 241 this.mapKeySetValInt = mapKeySetValInt; 242 this.mapKeyListValSet = mapKeyListValSet; 243 } 244 245 public static class Builder { 246 private Set<Set<Integer>> setOfSetOfInt; 247 private List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum; 248 private List<List<MyStruct>> listOfListOfMyStruct; 249 private Set<List<List<Long>>> setOfListOfListOfLong; 250 private Set<Set<Set<Long>>> setOfSetOfsetOfLong; 251 private Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong; 252 private Map<MyStruct,Integer> mKeyStructValInt; 253 private List<Map<Integer,Integer>> listOfMapKeyIntValInt; 254 private List<Map<String,List<MyStruct>>> listOfMapKeyStrValList; 255 private Map<Set<Integer>,Long> mapKeySetValLong; 256 private Map<List<String>,Integer> mapKeyListValLong; 257 private Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap; 258 private Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap; 259 private Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps; 260 private Map<Integer,List<MyStruct>> mapKeyIntValList; 261 private Map<Integer,Set<Boolean>> mapKeyIntValSet; 262 private Map<Set<Boolean>,MyEnum> mapKeySetValInt; 263 private Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet; 264 Builder()265 public Builder() { 266 } 267 setSetOfSetOfInt(final Set<Set<Integer>> setOfSetOfInt)268 public Builder setSetOfSetOfInt(final Set<Set<Integer>> setOfSetOfInt) { 269 this.setOfSetOfInt = setOfSetOfInt; 270 return this; 271 } 272 setListofListOfListOfListOfEnum(final List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum)273 public Builder setListofListOfListOfListOfEnum(final List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum) { 274 this.listofListOfListOfListOfEnum = listofListOfListOfListOfEnum; 275 return this; 276 } 277 setListOfListOfMyStruct(final List<List<MyStruct>> listOfListOfMyStruct)278 public Builder setListOfListOfMyStruct(final List<List<MyStruct>> listOfListOfMyStruct) { 279 this.listOfListOfMyStruct = listOfListOfMyStruct; 280 return this; 281 } 282 setSetOfListOfListOfLong(final Set<List<List<Long>>> setOfListOfListOfLong)283 public Builder setSetOfListOfListOfLong(final Set<List<List<Long>>> setOfListOfListOfLong) { 284 this.setOfListOfListOfLong = setOfListOfListOfLong; 285 return this; 286 } 287 setSetOfSetOfsetOfLong(final Set<Set<Set<Long>>> setOfSetOfsetOfLong)288 public Builder setSetOfSetOfsetOfLong(final Set<Set<Set<Long>>> setOfSetOfsetOfLong) { 289 this.setOfSetOfsetOfLong = setOfSetOfsetOfLong; 290 return this; 291 } 292 setMapStructListOfListOfLong(final Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong)293 public Builder setMapStructListOfListOfLong(final Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong) { 294 this.mapStructListOfListOfLong = mapStructListOfListOfLong; 295 return this; 296 } 297 setMKeyStructValInt(final Map<MyStruct,Integer> mKeyStructValInt)298 public Builder setMKeyStructValInt(final Map<MyStruct,Integer> mKeyStructValInt) { 299 this.mKeyStructValInt = mKeyStructValInt; 300 return this; 301 } 302 setListOfMapKeyIntValInt(final List<Map<Integer,Integer>> listOfMapKeyIntValInt)303 public Builder setListOfMapKeyIntValInt(final List<Map<Integer,Integer>> listOfMapKeyIntValInt) { 304 this.listOfMapKeyIntValInt = listOfMapKeyIntValInt; 305 return this; 306 } 307 setListOfMapKeyStrValList(final List<Map<String,List<MyStruct>>> listOfMapKeyStrValList)308 public Builder setListOfMapKeyStrValList(final List<Map<String,List<MyStruct>>> listOfMapKeyStrValList) { 309 this.listOfMapKeyStrValList = listOfMapKeyStrValList; 310 return this; 311 } 312 setMapKeySetValLong(final Map<Set<Integer>,Long> mapKeySetValLong)313 public Builder setMapKeySetValLong(final Map<Set<Integer>,Long> mapKeySetValLong) { 314 this.mapKeySetValLong = mapKeySetValLong; 315 return this; 316 } 317 setMapKeyListValLong(final Map<List<String>,Integer> mapKeyListValLong)318 public Builder setMapKeyListValLong(final Map<List<String>,Integer> mapKeyListValLong) { 319 this.mapKeyListValLong = mapKeyListValLong; 320 return this; 321 } 322 setMapKeyMapValMap(final Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap)323 public Builder setMapKeyMapValMap(final Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap) { 324 this.mapKeyMapValMap = mapKeyMapValMap; 325 return this; 326 } 327 setMapKeySetValMap(final Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap)328 public Builder setMapKeySetValMap(final Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap) { 329 this.mapKeySetValMap = mapKeySetValMap; 330 return this; 331 } 332 setNestedMaps(final Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps)333 public Builder setNestedMaps(final Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps) { 334 this.NestedMaps = NestedMaps; 335 return this; 336 } 337 setMapKeyIntValList(final Map<Integer,List<MyStruct>> mapKeyIntValList)338 public Builder setMapKeyIntValList(final Map<Integer,List<MyStruct>> mapKeyIntValList) { 339 this.mapKeyIntValList = mapKeyIntValList; 340 return this; 341 } 342 setMapKeyIntValSet(final Map<Integer,Set<Boolean>> mapKeyIntValSet)343 public Builder setMapKeyIntValSet(final Map<Integer,Set<Boolean>> mapKeyIntValSet) { 344 this.mapKeyIntValSet = mapKeyIntValSet; 345 return this; 346 } 347 setMapKeySetValInt(final Map<Set<Boolean>,MyEnum> mapKeySetValInt)348 public Builder setMapKeySetValInt(final Map<Set<Boolean>,MyEnum> mapKeySetValInt) { 349 this.mapKeySetValInt = mapKeySetValInt; 350 return this; 351 } 352 setMapKeyListValSet(final Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet)353 public Builder setMapKeyListValSet(final Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet) { 354 this.mapKeyListValSet = mapKeyListValSet; 355 return this; 356 } 357 build()358 public ComplexNestedStruct build() { 359 ComplexNestedStruct result = new ComplexNestedStruct(); 360 result.setSetOfSetOfInt(this.setOfSetOfInt); 361 result.setListofListOfListOfListOfEnum(this.listofListOfListOfListOfEnum); 362 result.setListOfListOfMyStruct(this.listOfListOfMyStruct); 363 result.setSetOfListOfListOfLong(this.setOfListOfListOfLong); 364 result.setSetOfSetOfsetOfLong(this.setOfSetOfsetOfLong); 365 result.setMapStructListOfListOfLong(this.mapStructListOfListOfLong); 366 result.setMKeyStructValInt(this.mKeyStructValInt); 367 result.setListOfMapKeyIntValInt(this.listOfMapKeyIntValInt); 368 result.setListOfMapKeyStrValList(this.listOfMapKeyStrValList); 369 result.setMapKeySetValLong(this.mapKeySetValLong); 370 result.setMapKeyListValLong(this.mapKeyListValLong); 371 result.setMapKeyMapValMap(this.mapKeyMapValMap); 372 result.setMapKeySetValMap(this.mapKeySetValMap); 373 result.setNestedMaps(this.NestedMaps); 374 result.setMapKeyIntValList(this.mapKeyIntValList); 375 result.setMapKeyIntValSet(this.mapKeyIntValSet); 376 result.setMapKeySetValInt(this.mapKeySetValInt); 377 result.setMapKeyListValSet(this.mapKeyListValSet); 378 return result; 379 } 380 } 381 builder()382 public static Builder builder() { 383 return new Builder(); 384 } 385 386 /** 387 * Performs a deep copy on <i>other</i>. 388 */ ComplexNestedStruct(ComplexNestedStruct other)389 public ComplexNestedStruct(ComplexNestedStruct other) { 390 if (other.isSetSetOfSetOfInt()) { 391 this.setOfSetOfInt = TBaseHelper.deepCopy(other.setOfSetOfInt); 392 } 393 if (other.isSetListofListOfListOfListOfEnum()) { 394 this.listofListOfListOfListOfEnum = TBaseHelper.deepCopy(other.listofListOfListOfListOfEnum); 395 } 396 if (other.isSetListOfListOfMyStruct()) { 397 this.listOfListOfMyStruct = TBaseHelper.deepCopy(other.listOfListOfMyStruct); 398 } 399 if (other.isSetSetOfListOfListOfLong()) { 400 this.setOfListOfListOfLong = TBaseHelper.deepCopy(other.setOfListOfListOfLong); 401 } 402 if (other.isSetSetOfSetOfsetOfLong()) { 403 this.setOfSetOfsetOfLong = TBaseHelper.deepCopy(other.setOfSetOfsetOfLong); 404 } 405 if (other.isSetMapStructListOfListOfLong()) { 406 this.mapStructListOfListOfLong = TBaseHelper.deepCopy(other.mapStructListOfListOfLong); 407 } 408 if (other.isSetMKeyStructValInt()) { 409 this.mKeyStructValInt = TBaseHelper.deepCopy(other.mKeyStructValInt); 410 } 411 if (other.isSetListOfMapKeyIntValInt()) { 412 this.listOfMapKeyIntValInt = TBaseHelper.deepCopy(other.listOfMapKeyIntValInt); 413 } 414 if (other.isSetListOfMapKeyStrValList()) { 415 this.listOfMapKeyStrValList = TBaseHelper.deepCopy(other.listOfMapKeyStrValList); 416 } 417 if (other.isSetMapKeySetValLong()) { 418 this.mapKeySetValLong = TBaseHelper.deepCopy(other.mapKeySetValLong); 419 } 420 if (other.isSetMapKeyListValLong()) { 421 this.mapKeyListValLong = TBaseHelper.deepCopy(other.mapKeyListValLong); 422 } 423 if (other.isSetMapKeyMapValMap()) { 424 this.mapKeyMapValMap = TBaseHelper.deepCopy(other.mapKeyMapValMap); 425 } 426 if (other.isSetMapKeySetValMap()) { 427 this.mapKeySetValMap = TBaseHelper.deepCopy(other.mapKeySetValMap); 428 } 429 if (other.isSetNestedMaps()) { 430 this.NestedMaps = TBaseHelper.deepCopy(other.NestedMaps); 431 } 432 if (other.isSetMapKeyIntValList()) { 433 this.mapKeyIntValList = TBaseHelper.deepCopy(other.mapKeyIntValList); 434 } 435 if (other.isSetMapKeyIntValSet()) { 436 this.mapKeyIntValSet = TBaseHelper.deepCopy(other.mapKeyIntValSet); 437 } 438 if (other.isSetMapKeySetValInt()) { 439 this.mapKeySetValInt = TBaseHelper.deepCopy(other.mapKeySetValInt); 440 } 441 if (other.isSetMapKeyListValSet()) { 442 this.mapKeyListValSet = TBaseHelper.deepCopy(other.mapKeyListValSet); 443 } 444 } 445 deepCopy()446 public ComplexNestedStruct deepCopy() { 447 return new ComplexNestedStruct(this); 448 } 449 getSetOfSetOfInt()450 public Set<Set<Integer>> getSetOfSetOfInt() { 451 return this.setOfSetOfInt; 452 } 453 setSetOfSetOfInt(Set<Set<Integer>> setOfSetOfInt)454 public ComplexNestedStruct setSetOfSetOfInt(Set<Set<Integer>> setOfSetOfInt) { 455 this.setOfSetOfInt = setOfSetOfInt; 456 return this; 457 } 458 unsetSetOfSetOfInt()459 public void unsetSetOfSetOfInt() { 460 this.setOfSetOfInt = null; 461 } 462 463 // Returns true if field setOfSetOfInt is set (has been assigned a value) and false otherwise isSetSetOfSetOfInt()464 public boolean isSetSetOfSetOfInt() { 465 return this.setOfSetOfInt != null; 466 } 467 setSetOfSetOfIntIsSet(boolean __value)468 public void setSetOfSetOfIntIsSet(boolean __value) { 469 if (!__value) { 470 this.setOfSetOfInt = null; 471 } 472 } 473 getListofListOfListOfListOfEnum()474 public List<List<List<List<MyEnum>>>> getListofListOfListOfListOfEnum() { 475 return this.listofListOfListOfListOfEnum; 476 } 477 setListofListOfListOfListOfEnum(List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum)478 public ComplexNestedStruct setListofListOfListOfListOfEnum(List<List<List<List<MyEnum>>>> listofListOfListOfListOfEnum) { 479 this.listofListOfListOfListOfEnum = listofListOfListOfListOfEnum; 480 return this; 481 } 482 unsetListofListOfListOfListOfEnum()483 public void unsetListofListOfListOfListOfEnum() { 484 this.listofListOfListOfListOfEnum = null; 485 } 486 487 // Returns true if field listofListOfListOfListOfEnum is set (has been assigned a value) and false otherwise isSetListofListOfListOfListOfEnum()488 public boolean isSetListofListOfListOfListOfEnum() { 489 return this.listofListOfListOfListOfEnum != null; 490 } 491 setListofListOfListOfListOfEnumIsSet(boolean __value)492 public void setListofListOfListOfListOfEnumIsSet(boolean __value) { 493 if (!__value) { 494 this.listofListOfListOfListOfEnum = null; 495 } 496 } 497 getListOfListOfMyStruct()498 public List<List<MyStruct>> getListOfListOfMyStruct() { 499 return this.listOfListOfMyStruct; 500 } 501 setListOfListOfMyStruct(List<List<MyStruct>> listOfListOfMyStruct)502 public ComplexNestedStruct setListOfListOfMyStruct(List<List<MyStruct>> listOfListOfMyStruct) { 503 this.listOfListOfMyStruct = listOfListOfMyStruct; 504 return this; 505 } 506 unsetListOfListOfMyStruct()507 public void unsetListOfListOfMyStruct() { 508 this.listOfListOfMyStruct = null; 509 } 510 511 // Returns true if field listOfListOfMyStruct is set (has been assigned a value) and false otherwise isSetListOfListOfMyStruct()512 public boolean isSetListOfListOfMyStruct() { 513 return this.listOfListOfMyStruct != null; 514 } 515 setListOfListOfMyStructIsSet(boolean __value)516 public void setListOfListOfMyStructIsSet(boolean __value) { 517 if (!__value) { 518 this.listOfListOfMyStruct = null; 519 } 520 } 521 getSetOfListOfListOfLong()522 public Set<List<List<Long>>> getSetOfListOfListOfLong() { 523 return this.setOfListOfListOfLong; 524 } 525 setSetOfListOfListOfLong(Set<List<List<Long>>> setOfListOfListOfLong)526 public ComplexNestedStruct setSetOfListOfListOfLong(Set<List<List<Long>>> setOfListOfListOfLong) { 527 this.setOfListOfListOfLong = setOfListOfListOfLong; 528 return this; 529 } 530 unsetSetOfListOfListOfLong()531 public void unsetSetOfListOfListOfLong() { 532 this.setOfListOfListOfLong = null; 533 } 534 535 // Returns true if field setOfListOfListOfLong is set (has been assigned a value) and false otherwise isSetSetOfListOfListOfLong()536 public boolean isSetSetOfListOfListOfLong() { 537 return this.setOfListOfListOfLong != null; 538 } 539 setSetOfListOfListOfLongIsSet(boolean __value)540 public void setSetOfListOfListOfLongIsSet(boolean __value) { 541 if (!__value) { 542 this.setOfListOfListOfLong = null; 543 } 544 } 545 getSetOfSetOfsetOfLong()546 public Set<Set<Set<Long>>> getSetOfSetOfsetOfLong() { 547 return this.setOfSetOfsetOfLong; 548 } 549 setSetOfSetOfsetOfLong(Set<Set<Set<Long>>> setOfSetOfsetOfLong)550 public ComplexNestedStruct setSetOfSetOfsetOfLong(Set<Set<Set<Long>>> setOfSetOfsetOfLong) { 551 this.setOfSetOfsetOfLong = setOfSetOfsetOfLong; 552 return this; 553 } 554 unsetSetOfSetOfsetOfLong()555 public void unsetSetOfSetOfsetOfLong() { 556 this.setOfSetOfsetOfLong = null; 557 } 558 559 // Returns true if field setOfSetOfsetOfLong is set (has been assigned a value) and false otherwise isSetSetOfSetOfsetOfLong()560 public boolean isSetSetOfSetOfsetOfLong() { 561 return this.setOfSetOfsetOfLong != null; 562 } 563 setSetOfSetOfsetOfLongIsSet(boolean __value)564 public void setSetOfSetOfsetOfLongIsSet(boolean __value) { 565 if (!__value) { 566 this.setOfSetOfsetOfLong = null; 567 } 568 } 569 getMapStructListOfListOfLong()570 public Map<Integer,List<List<MyStruct>>> getMapStructListOfListOfLong() { 571 return this.mapStructListOfListOfLong; 572 } 573 setMapStructListOfListOfLong(Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong)574 public ComplexNestedStruct setMapStructListOfListOfLong(Map<Integer,List<List<MyStruct>>> mapStructListOfListOfLong) { 575 this.mapStructListOfListOfLong = mapStructListOfListOfLong; 576 return this; 577 } 578 unsetMapStructListOfListOfLong()579 public void unsetMapStructListOfListOfLong() { 580 this.mapStructListOfListOfLong = null; 581 } 582 583 // Returns true if field mapStructListOfListOfLong is set (has been assigned a value) and false otherwise isSetMapStructListOfListOfLong()584 public boolean isSetMapStructListOfListOfLong() { 585 return this.mapStructListOfListOfLong != null; 586 } 587 setMapStructListOfListOfLongIsSet(boolean __value)588 public void setMapStructListOfListOfLongIsSet(boolean __value) { 589 if (!__value) { 590 this.mapStructListOfListOfLong = null; 591 } 592 } 593 getMKeyStructValInt()594 public Map<MyStruct,Integer> getMKeyStructValInt() { 595 return this.mKeyStructValInt; 596 } 597 setMKeyStructValInt(Map<MyStruct,Integer> mKeyStructValInt)598 public ComplexNestedStruct setMKeyStructValInt(Map<MyStruct,Integer> mKeyStructValInt) { 599 this.mKeyStructValInt = mKeyStructValInt; 600 return this; 601 } 602 unsetMKeyStructValInt()603 public void unsetMKeyStructValInt() { 604 this.mKeyStructValInt = null; 605 } 606 607 // Returns true if field mKeyStructValInt is set (has been assigned a value) and false otherwise isSetMKeyStructValInt()608 public boolean isSetMKeyStructValInt() { 609 return this.mKeyStructValInt != null; 610 } 611 setMKeyStructValIntIsSet(boolean __value)612 public void setMKeyStructValIntIsSet(boolean __value) { 613 if (!__value) { 614 this.mKeyStructValInt = null; 615 } 616 } 617 getListOfMapKeyIntValInt()618 public List<Map<Integer,Integer>> getListOfMapKeyIntValInt() { 619 return this.listOfMapKeyIntValInt; 620 } 621 setListOfMapKeyIntValInt(List<Map<Integer,Integer>> listOfMapKeyIntValInt)622 public ComplexNestedStruct setListOfMapKeyIntValInt(List<Map<Integer,Integer>> listOfMapKeyIntValInt) { 623 this.listOfMapKeyIntValInt = listOfMapKeyIntValInt; 624 return this; 625 } 626 unsetListOfMapKeyIntValInt()627 public void unsetListOfMapKeyIntValInt() { 628 this.listOfMapKeyIntValInt = null; 629 } 630 631 // Returns true if field listOfMapKeyIntValInt is set (has been assigned a value) and false otherwise isSetListOfMapKeyIntValInt()632 public boolean isSetListOfMapKeyIntValInt() { 633 return this.listOfMapKeyIntValInt != null; 634 } 635 setListOfMapKeyIntValIntIsSet(boolean __value)636 public void setListOfMapKeyIntValIntIsSet(boolean __value) { 637 if (!__value) { 638 this.listOfMapKeyIntValInt = null; 639 } 640 } 641 getListOfMapKeyStrValList()642 public List<Map<String,List<MyStruct>>> getListOfMapKeyStrValList() { 643 return this.listOfMapKeyStrValList; 644 } 645 setListOfMapKeyStrValList(List<Map<String,List<MyStruct>>> listOfMapKeyStrValList)646 public ComplexNestedStruct setListOfMapKeyStrValList(List<Map<String,List<MyStruct>>> listOfMapKeyStrValList) { 647 this.listOfMapKeyStrValList = listOfMapKeyStrValList; 648 return this; 649 } 650 unsetListOfMapKeyStrValList()651 public void unsetListOfMapKeyStrValList() { 652 this.listOfMapKeyStrValList = null; 653 } 654 655 // Returns true if field listOfMapKeyStrValList is set (has been assigned a value) and false otherwise isSetListOfMapKeyStrValList()656 public boolean isSetListOfMapKeyStrValList() { 657 return this.listOfMapKeyStrValList != null; 658 } 659 setListOfMapKeyStrValListIsSet(boolean __value)660 public void setListOfMapKeyStrValListIsSet(boolean __value) { 661 if (!__value) { 662 this.listOfMapKeyStrValList = null; 663 } 664 } 665 getMapKeySetValLong()666 public Map<Set<Integer>,Long> getMapKeySetValLong() { 667 return this.mapKeySetValLong; 668 } 669 setMapKeySetValLong(Map<Set<Integer>,Long> mapKeySetValLong)670 public ComplexNestedStruct setMapKeySetValLong(Map<Set<Integer>,Long> mapKeySetValLong) { 671 this.mapKeySetValLong = mapKeySetValLong; 672 return this; 673 } 674 unsetMapKeySetValLong()675 public void unsetMapKeySetValLong() { 676 this.mapKeySetValLong = null; 677 } 678 679 // Returns true if field mapKeySetValLong is set (has been assigned a value) and false otherwise isSetMapKeySetValLong()680 public boolean isSetMapKeySetValLong() { 681 return this.mapKeySetValLong != null; 682 } 683 setMapKeySetValLongIsSet(boolean __value)684 public void setMapKeySetValLongIsSet(boolean __value) { 685 if (!__value) { 686 this.mapKeySetValLong = null; 687 } 688 } 689 getMapKeyListValLong()690 public Map<List<String>,Integer> getMapKeyListValLong() { 691 return this.mapKeyListValLong; 692 } 693 setMapKeyListValLong(Map<List<String>,Integer> mapKeyListValLong)694 public ComplexNestedStruct setMapKeyListValLong(Map<List<String>,Integer> mapKeyListValLong) { 695 this.mapKeyListValLong = mapKeyListValLong; 696 return this; 697 } 698 unsetMapKeyListValLong()699 public void unsetMapKeyListValLong() { 700 this.mapKeyListValLong = null; 701 } 702 703 // Returns true if field mapKeyListValLong is set (has been assigned a value) and false otherwise isSetMapKeyListValLong()704 public boolean isSetMapKeyListValLong() { 705 return this.mapKeyListValLong != null; 706 } 707 setMapKeyListValLongIsSet(boolean __value)708 public void setMapKeyListValLongIsSet(boolean __value) { 709 if (!__value) { 710 this.mapKeyListValLong = null; 711 } 712 } 713 getMapKeyMapValMap()714 public Map<Map<Integer,String>,Map<Integer,String>> getMapKeyMapValMap() { 715 return this.mapKeyMapValMap; 716 } 717 setMapKeyMapValMap(Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap)718 public ComplexNestedStruct setMapKeyMapValMap(Map<Map<Integer,String>,Map<Integer,String>> mapKeyMapValMap) { 719 this.mapKeyMapValMap = mapKeyMapValMap; 720 return this; 721 } 722 unsetMapKeyMapValMap()723 public void unsetMapKeyMapValMap() { 724 this.mapKeyMapValMap = null; 725 } 726 727 // Returns true if field mapKeyMapValMap is set (has been assigned a value) and false otherwise isSetMapKeyMapValMap()728 public boolean isSetMapKeyMapValMap() { 729 return this.mapKeyMapValMap != null; 730 } 731 setMapKeyMapValMapIsSet(boolean __value)732 public void setMapKeyMapValMapIsSet(boolean __value) { 733 if (!__value) { 734 this.mapKeyMapValMap = null; 735 } 736 } 737 getMapKeySetValMap()738 public Map<Set<List<Integer>>,Map<List<Set<String>>,String>> getMapKeySetValMap() { 739 return this.mapKeySetValMap; 740 } 741 setMapKeySetValMap(Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap)742 public ComplexNestedStruct setMapKeySetValMap(Map<Set<List<Integer>>,Map<List<Set<String>>,String>> mapKeySetValMap) { 743 this.mapKeySetValMap = mapKeySetValMap; 744 return this; 745 } 746 unsetMapKeySetValMap()747 public void unsetMapKeySetValMap() { 748 this.mapKeySetValMap = null; 749 } 750 751 // Returns true if field mapKeySetValMap is set (has been assigned a value) and false otherwise isSetMapKeySetValMap()752 public boolean isSetMapKeySetValMap() { 753 return this.mapKeySetValMap != null; 754 } 755 setMapKeySetValMapIsSet(boolean __value)756 public void setMapKeySetValMapIsSet(boolean __value) { 757 if (!__value) { 758 this.mapKeySetValMap = null; 759 } 760 } 761 getNestedMaps()762 public Map<Map<Map<Integer,String>,String>,Map<Integer,String>> getNestedMaps() { 763 return this.NestedMaps; 764 } 765 setNestedMaps(Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps)766 public ComplexNestedStruct setNestedMaps(Map<Map<Map<Integer,String>,String>,Map<Integer,String>> NestedMaps) { 767 this.NestedMaps = NestedMaps; 768 return this; 769 } 770 unsetNestedMaps()771 public void unsetNestedMaps() { 772 this.NestedMaps = null; 773 } 774 775 // Returns true if field NestedMaps is set (has been assigned a value) and false otherwise isSetNestedMaps()776 public boolean isSetNestedMaps() { 777 return this.NestedMaps != null; 778 } 779 setNestedMapsIsSet(boolean __value)780 public void setNestedMapsIsSet(boolean __value) { 781 if (!__value) { 782 this.NestedMaps = null; 783 } 784 } 785 getMapKeyIntValList()786 public Map<Integer,List<MyStruct>> getMapKeyIntValList() { 787 return this.mapKeyIntValList; 788 } 789 setMapKeyIntValList(Map<Integer,List<MyStruct>> mapKeyIntValList)790 public ComplexNestedStruct setMapKeyIntValList(Map<Integer,List<MyStruct>> mapKeyIntValList) { 791 this.mapKeyIntValList = mapKeyIntValList; 792 return this; 793 } 794 unsetMapKeyIntValList()795 public void unsetMapKeyIntValList() { 796 this.mapKeyIntValList = null; 797 } 798 799 // Returns true if field mapKeyIntValList is set (has been assigned a value) and false otherwise isSetMapKeyIntValList()800 public boolean isSetMapKeyIntValList() { 801 return this.mapKeyIntValList != null; 802 } 803 setMapKeyIntValListIsSet(boolean __value)804 public void setMapKeyIntValListIsSet(boolean __value) { 805 if (!__value) { 806 this.mapKeyIntValList = null; 807 } 808 } 809 getMapKeyIntValSet()810 public Map<Integer,Set<Boolean>> getMapKeyIntValSet() { 811 return this.mapKeyIntValSet; 812 } 813 setMapKeyIntValSet(Map<Integer,Set<Boolean>> mapKeyIntValSet)814 public ComplexNestedStruct setMapKeyIntValSet(Map<Integer,Set<Boolean>> mapKeyIntValSet) { 815 this.mapKeyIntValSet = mapKeyIntValSet; 816 return this; 817 } 818 unsetMapKeyIntValSet()819 public void unsetMapKeyIntValSet() { 820 this.mapKeyIntValSet = null; 821 } 822 823 // Returns true if field mapKeyIntValSet is set (has been assigned a value) and false otherwise isSetMapKeyIntValSet()824 public boolean isSetMapKeyIntValSet() { 825 return this.mapKeyIntValSet != null; 826 } 827 setMapKeyIntValSetIsSet(boolean __value)828 public void setMapKeyIntValSetIsSet(boolean __value) { 829 if (!__value) { 830 this.mapKeyIntValSet = null; 831 } 832 } 833 getMapKeySetValInt()834 public Map<Set<Boolean>,MyEnum> getMapKeySetValInt() { 835 return this.mapKeySetValInt; 836 } 837 setMapKeySetValInt(Map<Set<Boolean>,MyEnum> mapKeySetValInt)838 public ComplexNestedStruct setMapKeySetValInt(Map<Set<Boolean>,MyEnum> mapKeySetValInt) { 839 this.mapKeySetValInt = mapKeySetValInt; 840 return this; 841 } 842 unsetMapKeySetValInt()843 public void unsetMapKeySetValInt() { 844 this.mapKeySetValInt = null; 845 } 846 847 // Returns true if field mapKeySetValInt is set (has been assigned a value) and false otherwise isSetMapKeySetValInt()848 public boolean isSetMapKeySetValInt() { 849 return this.mapKeySetValInt != null; 850 } 851 setMapKeySetValIntIsSet(boolean __value)852 public void setMapKeySetValIntIsSet(boolean __value) { 853 if (!__value) { 854 this.mapKeySetValInt = null; 855 } 856 } 857 getMapKeyListValSet()858 public Map<List<Integer>,Set<Map<Double,String>>> getMapKeyListValSet() { 859 return this.mapKeyListValSet; 860 } 861 setMapKeyListValSet(Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet)862 public ComplexNestedStruct setMapKeyListValSet(Map<List<Integer>,Set<Map<Double,String>>> mapKeyListValSet) { 863 this.mapKeyListValSet = mapKeyListValSet; 864 return this; 865 } 866 unsetMapKeyListValSet()867 public void unsetMapKeyListValSet() { 868 this.mapKeyListValSet = null; 869 } 870 871 // Returns true if field mapKeyListValSet is set (has been assigned a value) and false otherwise isSetMapKeyListValSet()872 public boolean isSetMapKeyListValSet() { 873 return this.mapKeyListValSet != null; 874 } 875 setMapKeyListValSetIsSet(boolean __value)876 public void setMapKeyListValSetIsSet(boolean __value) { 877 if (!__value) { 878 this.mapKeyListValSet = null; 879 } 880 } 881 882 @SuppressWarnings("unchecked") setFieldValue(int fieldID, Object __value)883 public void setFieldValue(int fieldID, Object __value) { 884 switch (fieldID) { 885 case SETOFSETOFINT: 886 if (__value == null) { 887 unsetSetOfSetOfInt(); 888 } else { 889 setSetOfSetOfInt((Set<Set<Integer>>)__value); 890 } 891 break; 892 893 case LISTOFLISTOFLISTOFLISTOFENUM: 894 if (__value == null) { 895 unsetListofListOfListOfListOfEnum(); 896 } else { 897 setListofListOfListOfListOfEnum((List<List<List<List<MyEnum>>>>)__value); 898 } 899 break; 900 901 case LISTOFLISTOFMYSTRUCT: 902 if (__value == null) { 903 unsetListOfListOfMyStruct(); 904 } else { 905 setListOfListOfMyStruct((List<List<MyStruct>>)__value); 906 } 907 break; 908 909 case SETOFLISTOFLISTOFLONG: 910 if (__value == null) { 911 unsetSetOfListOfListOfLong(); 912 } else { 913 setSetOfListOfListOfLong((Set<List<List<Long>>>)__value); 914 } 915 break; 916 917 case SETOFSETOFSETOFLONG: 918 if (__value == null) { 919 unsetSetOfSetOfsetOfLong(); 920 } else { 921 setSetOfSetOfsetOfLong((Set<Set<Set<Long>>>)__value); 922 } 923 break; 924 925 case MAPSTRUCTLISTOFLISTOFLONG: 926 if (__value == null) { 927 unsetMapStructListOfListOfLong(); 928 } else { 929 setMapStructListOfListOfLong((Map<Integer,List<List<MyStruct>>>)__value); 930 } 931 break; 932 933 case MKEYSTRUCTVALINT: 934 if (__value == null) { 935 unsetMKeyStructValInt(); 936 } else { 937 setMKeyStructValInt((Map<MyStruct,Integer>)__value); 938 } 939 break; 940 941 case LISTOFMAPKEYINTVALINT: 942 if (__value == null) { 943 unsetListOfMapKeyIntValInt(); 944 } else { 945 setListOfMapKeyIntValInt((List<Map<Integer,Integer>>)__value); 946 } 947 break; 948 949 case LISTOFMAPKEYSTRVALLIST: 950 if (__value == null) { 951 unsetListOfMapKeyStrValList(); 952 } else { 953 setListOfMapKeyStrValList((List<Map<String,List<MyStruct>>>)__value); 954 } 955 break; 956 957 case MAPKEYSETVALLONG: 958 if (__value == null) { 959 unsetMapKeySetValLong(); 960 } else { 961 setMapKeySetValLong((Map<Set<Integer>,Long>)__value); 962 } 963 break; 964 965 case MAPKEYLISTVALLONG: 966 if (__value == null) { 967 unsetMapKeyListValLong(); 968 } else { 969 setMapKeyListValLong((Map<List<String>,Integer>)__value); 970 } 971 break; 972 973 case MAPKEYMAPVALMAP: 974 if (__value == null) { 975 unsetMapKeyMapValMap(); 976 } else { 977 setMapKeyMapValMap((Map<Map<Integer,String>,Map<Integer,String>>)__value); 978 } 979 break; 980 981 case MAPKEYSETVALMAP: 982 if (__value == null) { 983 unsetMapKeySetValMap(); 984 } else { 985 setMapKeySetValMap((Map<Set<List<Integer>>,Map<List<Set<String>>,String>>)__value); 986 } 987 break; 988 989 case NESTEDMAPS: 990 if (__value == null) { 991 unsetNestedMaps(); 992 } else { 993 setNestedMaps((Map<Map<Map<Integer,String>,String>,Map<Integer,String>>)__value); 994 } 995 break; 996 997 case MAPKEYINTVALLIST: 998 if (__value == null) { 999 unsetMapKeyIntValList(); 1000 } else { 1001 setMapKeyIntValList((Map<Integer,List<MyStruct>>)__value); 1002 } 1003 break; 1004 1005 case MAPKEYINTVALSET: 1006 if (__value == null) { 1007 unsetMapKeyIntValSet(); 1008 } else { 1009 setMapKeyIntValSet((Map<Integer,Set<Boolean>>)__value); 1010 } 1011 break; 1012 1013 case MAPKEYSETVALINT: 1014 if (__value == null) { 1015 unsetMapKeySetValInt(); 1016 } else { 1017 setMapKeySetValInt((Map<Set<Boolean>,MyEnum>)__value); 1018 } 1019 break; 1020 1021 case MAPKEYLISTVALSET: 1022 if (__value == null) { 1023 unsetMapKeyListValSet(); 1024 } else { 1025 setMapKeyListValSet((Map<List<Integer>,Set<Map<Double,String>>>)__value); 1026 } 1027 break; 1028 1029 default: 1030 throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); 1031 } 1032 } 1033 getFieldValue(int fieldID)1034 public Object getFieldValue(int fieldID) { 1035 switch (fieldID) { 1036 case SETOFSETOFINT: 1037 return getSetOfSetOfInt(); 1038 1039 case LISTOFLISTOFLISTOFLISTOFENUM: 1040 return getListofListOfListOfListOfEnum(); 1041 1042 case LISTOFLISTOFMYSTRUCT: 1043 return getListOfListOfMyStruct(); 1044 1045 case SETOFLISTOFLISTOFLONG: 1046 return getSetOfListOfListOfLong(); 1047 1048 case SETOFSETOFSETOFLONG: 1049 return getSetOfSetOfsetOfLong(); 1050 1051 case MAPSTRUCTLISTOFLISTOFLONG: 1052 return getMapStructListOfListOfLong(); 1053 1054 case MKEYSTRUCTVALINT: 1055 return getMKeyStructValInt(); 1056 1057 case LISTOFMAPKEYINTVALINT: 1058 return getListOfMapKeyIntValInt(); 1059 1060 case LISTOFMAPKEYSTRVALLIST: 1061 return getListOfMapKeyStrValList(); 1062 1063 case MAPKEYSETVALLONG: 1064 return getMapKeySetValLong(); 1065 1066 case MAPKEYLISTVALLONG: 1067 return getMapKeyListValLong(); 1068 1069 case MAPKEYMAPVALMAP: 1070 return getMapKeyMapValMap(); 1071 1072 case MAPKEYSETVALMAP: 1073 return getMapKeySetValMap(); 1074 1075 case NESTEDMAPS: 1076 return getNestedMaps(); 1077 1078 case MAPKEYINTVALLIST: 1079 return getMapKeyIntValList(); 1080 1081 case MAPKEYINTVALSET: 1082 return getMapKeyIntValSet(); 1083 1084 case MAPKEYSETVALINT: 1085 return getMapKeySetValInt(); 1086 1087 case MAPKEYLISTVALSET: 1088 return getMapKeyListValSet(); 1089 1090 default: 1091 throw new IllegalArgumentException("Field " + fieldID + " doesn't exist!"); 1092 } 1093 } 1094 1095 @Override equals(Object _that)1096 public boolean equals(Object _that) { 1097 if (_that == null) 1098 return false; 1099 if (this == _that) 1100 return true; 1101 if (!(_that instanceof ComplexNestedStruct)) 1102 return false; 1103 ComplexNestedStruct that = (ComplexNestedStruct)_that; 1104 1105 if (!TBaseHelper.equalsNobinary(this.isSetSetOfSetOfInt(), that.isSetSetOfSetOfInt(), this.setOfSetOfInt, that.setOfSetOfInt)) { return false; } 1106 1107 if (!TBaseHelper.equalsNobinary(this.isSetListofListOfListOfListOfEnum(), that.isSetListofListOfListOfListOfEnum(), this.listofListOfListOfListOfEnum, that.listofListOfListOfListOfEnum)) { return false; } 1108 1109 if (!TBaseHelper.equalsNobinary(this.isSetListOfListOfMyStruct(), that.isSetListOfListOfMyStruct(), this.listOfListOfMyStruct, that.listOfListOfMyStruct)) { return false; } 1110 1111 if (!TBaseHelper.equalsNobinary(this.isSetSetOfListOfListOfLong(), that.isSetSetOfListOfListOfLong(), this.setOfListOfListOfLong, that.setOfListOfListOfLong)) { return false; } 1112 1113 if (!TBaseHelper.equalsNobinary(this.isSetSetOfSetOfsetOfLong(), that.isSetSetOfSetOfsetOfLong(), this.setOfSetOfsetOfLong, that.setOfSetOfsetOfLong)) { return false; } 1114 1115 if (!TBaseHelper.equalsNobinary(this.isSetMapStructListOfListOfLong(), that.isSetMapStructListOfListOfLong(), this.mapStructListOfListOfLong, that.mapStructListOfListOfLong)) { return false; } 1116 1117 if (!TBaseHelper.equalsNobinary(this.isSetMKeyStructValInt(), that.isSetMKeyStructValInt(), this.mKeyStructValInt, that.mKeyStructValInt)) { return false; } 1118 1119 if (!TBaseHelper.equalsNobinary(this.isSetListOfMapKeyIntValInt(), that.isSetListOfMapKeyIntValInt(), this.listOfMapKeyIntValInt, that.listOfMapKeyIntValInt)) { return false; } 1120 1121 if (!TBaseHelper.equalsNobinary(this.isSetListOfMapKeyStrValList(), that.isSetListOfMapKeyStrValList(), this.listOfMapKeyStrValList, that.listOfMapKeyStrValList)) { return false; } 1122 1123 if (!TBaseHelper.equalsNobinary(this.isSetMapKeySetValLong(), that.isSetMapKeySetValLong(), this.mapKeySetValLong, that.mapKeySetValLong)) { return false; } 1124 1125 if (!TBaseHelper.equalsNobinary(this.isSetMapKeyListValLong(), that.isSetMapKeyListValLong(), this.mapKeyListValLong, that.mapKeyListValLong)) { return false; } 1126 1127 if (!TBaseHelper.equalsNobinary(this.isSetMapKeyMapValMap(), that.isSetMapKeyMapValMap(), this.mapKeyMapValMap, that.mapKeyMapValMap)) { return false; } 1128 1129 if (!TBaseHelper.equalsNobinary(this.isSetMapKeySetValMap(), that.isSetMapKeySetValMap(), this.mapKeySetValMap, that.mapKeySetValMap)) { return false; } 1130 1131 if (!TBaseHelper.equalsNobinary(this.isSetNestedMaps(), that.isSetNestedMaps(), this.NestedMaps, that.NestedMaps)) { return false; } 1132 1133 if (!TBaseHelper.equalsNobinary(this.isSetMapKeyIntValList(), that.isSetMapKeyIntValList(), this.mapKeyIntValList, that.mapKeyIntValList)) { return false; } 1134 1135 if (!TBaseHelper.equalsNobinary(this.isSetMapKeyIntValSet(), that.isSetMapKeyIntValSet(), this.mapKeyIntValSet, that.mapKeyIntValSet)) { return false; } 1136 1137 if (!TBaseHelper.equalsNobinary(this.isSetMapKeySetValInt(), that.isSetMapKeySetValInt(), this.mapKeySetValInt, that.mapKeySetValInt)) { return false; } 1138 1139 if (!TBaseHelper.equalsNobinary(this.isSetMapKeyListValSet(), that.isSetMapKeyListValSet(), this.mapKeyListValSet, that.mapKeyListValSet)) { return false; } 1140 1141 return true; 1142 } 1143 1144 @Override hashCode()1145 public int hashCode() { 1146 return Arrays.deepHashCode(new Object[] {setOfSetOfInt, listofListOfListOfListOfEnum, listOfListOfMyStruct, setOfListOfListOfLong, setOfSetOfsetOfLong, mapStructListOfListOfLong, mKeyStructValInt, listOfMapKeyIntValInt, listOfMapKeyStrValList, mapKeySetValLong, mapKeyListValLong, mapKeyMapValMap, mapKeySetValMap, NestedMaps, mapKeyIntValList, mapKeyIntValSet, mapKeySetValInt, mapKeyListValSet}); 1147 } 1148 read(TProtocol iprot)1149 public void read(TProtocol iprot) throws TException { 1150 TField __field; 1151 iprot.readStructBegin(metaDataMap); 1152 while (true) 1153 { 1154 __field = iprot.readFieldBegin(); 1155 if (__field.type == TType.STOP) { 1156 break; 1157 } 1158 switch (__field.id) 1159 { 1160 case SETOFSETOFINT: 1161 if (__field.type == TType.SET) { 1162 { 1163 TSet _set209 = iprot.readSetBegin(); 1164 this.setOfSetOfInt = new HashSet<Set<Integer>>(Math.max(0, 2*_set209.size)); 1165 for (int _i210 = 0; 1166 (_set209.size < 0) ? iprot.peekSet() : (_i210 < _set209.size); 1167 ++_i210) 1168 { 1169 Set<Integer> _elem211; 1170 { 1171 TSet _set212 = iprot.readSetBegin(); 1172 _elem211 = new HashSet<Integer>(Math.max(0, 2*_set212.size)); 1173 for (int _i213 = 0; 1174 (_set212.size < 0) ? iprot.peekSet() : (_i213 < _set212.size); 1175 ++_i213) 1176 { 1177 int _elem214; 1178 _elem214 = iprot.readI32(); 1179 _elem211.add(_elem214); 1180 } 1181 iprot.readSetEnd(); 1182 } 1183 this.setOfSetOfInt.add(_elem211); 1184 } 1185 iprot.readSetEnd(); 1186 } 1187 } else { 1188 TProtocolUtil.skip(iprot, __field.type); 1189 } 1190 break; 1191 case LISTOFLISTOFLISTOFLISTOFENUM: 1192 if (__field.type == TType.LIST) { 1193 { 1194 TList _list215 = iprot.readListBegin(); 1195 this.listofListOfListOfListOfEnum = new ArrayList<List<List<List<MyEnum>>>>(Math.max(0, _list215.size)); 1196 for (int _i216 = 0; 1197 (_list215.size < 0) ? iprot.peekList() : (_i216 < _list215.size); 1198 ++_i216) 1199 { 1200 List<List<List<MyEnum>>> _elem217; 1201 { 1202 TList _list218 = iprot.readListBegin(); 1203 _elem217 = new ArrayList<List<List<MyEnum>>>(Math.max(0, _list218.size)); 1204 for (int _i219 = 0; 1205 (_list218.size < 0) ? iprot.peekList() : (_i219 < _list218.size); 1206 ++_i219) 1207 { 1208 List<List<MyEnum>> _elem220; 1209 { 1210 TList _list221 = iprot.readListBegin(); 1211 _elem220 = new ArrayList<List<MyEnum>>(Math.max(0, _list221.size)); 1212 for (int _i222 = 0; 1213 (_list221.size < 0) ? iprot.peekList() : (_i222 < _list221.size); 1214 ++_i222) 1215 { 1216 List<MyEnum> _elem223; 1217 { 1218 TList _list224 = iprot.readListBegin(); 1219 _elem223 = new ArrayList<MyEnum>(Math.max(0, _list224.size)); 1220 for (int _i225 = 0; 1221 (_list224.size < 0) ? iprot.peekList() : (_i225 < _list224.size); 1222 ++_i225) 1223 { 1224 MyEnum _elem226; 1225 _elem226 = MyEnum.findByValue(iprot.readI32()); 1226 _elem223.add(_elem226); 1227 } 1228 iprot.readListEnd(); 1229 } 1230 _elem220.add(_elem223); 1231 } 1232 iprot.readListEnd(); 1233 } 1234 _elem217.add(_elem220); 1235 } 1236 iprot.readListEnd(); 1237 } 1238 this.listofListOfListOfListOfEnum.add(_elem217); 1239 } 1240 iprot.readListEnd(); 1241 } 1242 } else { 1243 TProtocolUtil.skip(iprot, __field.type); 1244 } 1245 break; 1246 case LISTOFLISTOFMYSTRUCT: 1247 if (__field.type == TType.LIST) { 1248 { 1249 TList _list227 = iprot.readListBegin(); 1250 this.listOfListOfMyStruct = new ArrayList<List<MyStruct>>(Math.max(0, _list227.size)); 1251 for (int _i228 = 0; 1252 (_list227.size < 0) ? iprot.peekList() : (_i228 < _list227.size); 1253 ++_i228) 1254 { 1255 List<MyStruct> _elem229; 1256 { 1257 TList _list230 = iprot.readListBegin(); 1258 _elem229 = new ArrayList<MyStruct>(Math.max(0, _list230.size)); 1259 for (int _i231 = 0; 1260 (_list230.size < 0) ? iprot.peekList() : (_i231 < _list230.size); 1261 ++_i231) 1262 { 1263 MyStruct _elem232; 1264 _elem232 = new MyStruct(); 1265 _elem232.read(iprot); 1266 _elem229.add(_elem232); 1267 } 1268 iprot.readListEnd(); 1269 } 1270 this.listOfListOfMyStruct.add(_elem229); 1271 } 1272 iprot.readListEnd(); 1273 } 1274 } else { 1275 TProtocolUtil.skip(iprot, __field.type); 1276 } 1277 break; 1278 case SETOFLISTOFLISTOFLONG: 1279 if (__field.type == TType.SET) { 1280 { 1281 TSet _set233 = iprot.readSetBegin(); 1282 this.setOfListOfListOfLong = new HashSet<List<List<Long>>>(Math.max(0, 2*_set233.size)); 1283 for (int _i234 = 0; 1284 (_set233.size < 0) ? iprot.peekSet() : (_i234 < _set233.size); 1285 ++_i234) 1286 { 1287 List<List<Long>> _elem235; 1288 { 1289 TList _list236 = iprot.readListBegin(); 1290 _elem235 = new ArrayList<List<Long>>(Math.max(0, _list236.size)); 1291 for (int _i237 = 0; 1292 (_list236.size < 0) ? iprot.peekList() : (_i237 < _list236.size); 1293 ++_i237) 1294 { 1295 List<Long> _elem238; 1296 { 1297 TList _list239 = iprot.readListBegin(); 1298 _elem238 = new ArrayList<Long>(Math.max(0, _list239.size)); 1299 for (int _i240 = 0; 1300 (_list239.size < 0) ? iprot.peekList() : (_i240 < _list239.size); 1301 ++_i240) 1302 { 1303 long _elem241; 1304 _elem241 = iprot.readI64(); 1305 _elem238.add(_elem241); 1306 } 1307 iprot.readListEnd(); 1308 } 1309 _elem235.add(_elem238); 1310 } 1311 iprot.readListEnd(); 1312 } 1313 this.setOfListOfListOfLong.add(_elem235); 1314 } 1315 iprot.readSetEnd(); 1316 } 1317 } else { 1318 TProtocolUtil.skip(iprot, __field.type); 1319 } 1320 break; 1321 case SETOFSETOFSETOFLONG: 1322 if (__field.type == TType.SET) { 1323 { 1324 TSet _set242 = iprot.readSetBegin(); 1325 this.setOfSetOfsetOfLong = new HashSet<Set<Set<Long>>>(Math.max(0, 2*_set242.size)); 1326 for (int _i243 = 0; 1327 (_set242.size < 0) ? iprot.peekSet() : (_i243 < _set242.size); 1328 ++_i243) 1329 { 1330 Set<Set<Long>> _elem244; 1331 { 1332 TSet _set245 = iprot.readSetBegin(); 1333 _elem244 = new HashSet<Set<Long>>(Math.max(0, 2*_set245.size)); 1334 for (int _i246 = 0; 1335 (_set245.size < 0) ? iprot.peekSet() : (_i246 < _set245.size); 1336 ++_i246) 1337 { 1338 Set<Long> _elem247; 1339 { 1340 TSet _set248 = iprot.readSetBegin(); 1341 _elem247 = new HashSet<Long>(Math.max(0, 2*_set248.size)); 1342 for (int _i249 = 0; 1343 (_set248.size < 0) ? iprot.peekSet() : (_i249 < _set248.size); 1344 ++_i249) 1345 { 1346 long _elem250; 1347 _elem250 = iprot.readI64(); 1348 _elem247.add(_elem250); 1349 } 1350 iprot.readSetEnd(); 1351 } 1352 _elem244.add(_elem247); 1353 } 1354 iprot.readSetEnd(); 1355 } 1356 this.setOfSetOfsetOfLong.add(_elem244); 1357 } 1358 iprot.readSetEnd(); 1359 } 1360 } else { 1361 TProtocolUtil.skip(iprot, __field.type); 1362 } 1363 break; 1364 case MAPSTRUCTLISTOFLISTOFLONG: 1365 if (__field.type == TType.MAP) { 1366 { 1367 TMap _map251 = iprot.readMapBegin(); 1368 this.mapStructListOfListOfLong = new HashMap<Integer,List<List<MyStruct>>>(Math.max(0, 2*_map251.size)); 1369 for (int _i252 = 0; 1370 (_map251.size < 0) ? iprot.peekMap() : (_i252 < _map251.size); 1371 ++_i252) 1372 { 1373 int _key253; 1374 List<List<MyStruct>> _val254; 1375 _key253 = iprot.readI32(); 1376 { 1377 TList _list255 = iprot.readListBegin(); 1378 _val254 = new ArrayList<List<MyStruct>>(Math.max(0, _list255.size)); 1379 for (int _i256 = 0; 1380 (_list255.size < 0) ? iprot.peekList() : (_i256 < _list255.size); 1381 ++_i256) 1382 { 1383 List<MyStruct> _elem257; 1384 { 1385 TList _list258 = iprot.readListBegin(); 1386 _elem257 = new ArrayList<MyStruct>(Math.max(0, _list258.size)); 1387 for (int _i259 = 0; 1388 (_list258.size < 0) ? iprot.peekList() : (_i259 < _list258.size); 1389 ++_i259) 1390 { 1391 MyStruct _elem260; 1392 _elem260 = new MyStruct(); 1393 _elem260.read(iprot); 1394 _elem257.add(_elem260); 1395 } 1396 iprot.readListEnd(); 1397 } 1398 _val254.add(_elem257); 1399 } 1400 iprot.readListEnd(); 1401 } 1402 this.mapStructListOfListOfLong.put(_key253, _val254); 1403 } 1404 iprot.readMapEnd(); 1405 } 1406 } else { 1407 TProtocolUtil.skip(iprot, __field.type); 1408 } 1409 break; 1410 case MKEYSTRUCTVALINT: 1411 if (__field.type == TType.MAP) { 1412 { 1413 TMap _map261 = iprot.readMapBegin(); 1414 this.mKeyStructValInt = new HashMap<MyStruct,Integer>(Math.max(0, 2*_map261.size)); 1415 for (int _i262 = 0; 1416 (_map261.size < 0) ? iprot.peekMap() : (_i262 < _map261.size); 1417 ++_i262) 1418 { 1419 MyStruct _key263; 1420 int _val264; 1421 _key263 = new MyStruct(); 1422 _key263.read(iprot); 1423 _val264 = iprot.readI32(); 1424 this.mKeyStructValInt.put(_key263, _val264); 1425 } 1426 iprot.readMapEnd(); 1427 } 1428 } else { 1429 TProtocolUtil.skip(iprot, __field.type); 1430 } 1431 break; 1432 case LISTOFMAPKEYINTVALINT: 1433 if (__field.type == TType.LIST) { 1434 { 1435 TList _list265 = iprot.readListBegin(); 1436 this.listOfMapKeyIntValInt = new ArrayList<Map<Integer,Integer>>(Math.max(0, _list265.size)); 1437 for (int _i266 = 0; 1438 (_list265.size < 0) ? iprot.peekList() : (_i266 < _list265.size); 1439 ++_i266) 1440 { 1441 Map<Integer,Integer> _elem267; 1442 { 1443 TMap _map268 = iprot.readMapBegin(); 1444 _elem267 = new HashMap<Integer,Integer>(Math.max(0, 2*_map268.size)); 1445 for (int _i269 = 0; 1446 (_map268.size < 0) ? iprot.peekMap() : (_i269 < _map268.size); 1447 ++_i269) 1448 { 1449 int _key270; 1450 int _val271; 1451 _key270 = iprot.readI32(); 1452 _val271 = iprot.readI32(); 1453 _elem267.put(_key270, _val271); 1454 } 1455 iprot.readMapEnd(); 1456 } 1457 this.listOfMapKeyIntValInt.add(_elem267); 1458 } 1459 iprot.readListEnd(); 1460 } 1461 } else { 1462 TProtocolUtil.skip(iprot, __field.type); 1463 } 1464 break; 1465 case LISTOFMAPKEYSTRVALLIST: 1466 if (__field.type == TType.LIST) { 1467 { 1468 TList _list272 = iprot.readListBegin(); 1469 this.listOfMapKeyStrValList = new ArrayList<Map<String,List<MyStruct>>>(Math.max(0, _list272.size)); 1470 for (int _i273 = 0; 1471 (_list272.size < 0) ? iprot.peekList() : (_i273 < _list272.size); 1472 ++_i273) 1473 { 1474 Map<String,List<MyStruct>> _elem274; 1475 { 1476 TMap _map275 = iprot.readMapBegin(); 1477 _elem274 = new HashMap<String,List<MyStruct>>(Math.max(0, 2*_map275.size)); 1478 for (int _i276 = 0; 1479 (_map275.size < 0) ? iprot.peekMap() : (_i276 < _map275.size); 1480 ++_i276) 1481 { 1482 String _key277; 1483 List<MyStruct> _val278; 1484 _key277 = iprot.readString(); 1485 { 1486 TList _list279 = iprot.readListBegin(); 1487 _val278 = new ArrayList<MyStruct>(Math.max(0, _list279.size)); 1488 for (int _i280 = 0; 1489 (_list279.size < 0) ? iprot.peekList() : (_i280 < _list279.size); 1490 ++_i280) 1491 { 1492 MyStruct _elem281; 1493 _elem281 = new MyStruct(); 1494 _elem281.read(iprot); 1495 _val278.add(_elem281); 1496 } 1497 iprot.readListEnd(); 1498 } 1499 _elem274.put(_key277, _val278); 1500 } 1501 iprot.readMapEnd(); 1502 } 1503 this.listOfMapKeyStrValList.add(_elem274); 1504 } 1505 iprot.readListEnd(); 1506 } 1507 } else { 1508 TProtocolUtil.skip(iprot, __field.type); 1509 } 1510 break; 1511 case MAPKEYSETVALLONG: 1512 if (__field.type == TType.MAP) { 1513 { 1514 TMap _map282 = iprot.readMapBegin(); 1515 this.mapKeySetValLong = new HashMap<Set<Integer>,Long>(Math.max(0, 2*_map282.size)); 1516 for (int _i283 = 0; 1517 (_map282.size < 0) ? iprot.peekMap() : (_i283 < _map282.size); 1518 ++_i283) 1519 { 1520 Set<Integer> _key284; 1521 long _val285; 1522 { 1523 TSet _set286 = iprot.readSetBegin(); 1524 _key284 = new HashSet<Integer>(Math.max(0, 2*_set286.size)); 1525 for (int _i287 = 0; 1526 (_set286.size < 0) ? iprot.peekSet() : (_i287 < _set286.size); 1527 ++_i287) 1528 { 1529 int _elem288; 1530 _elem288 = iprot.readI32(); 1531 _key284.add(_elem288); 1532 } 1533 iprot.readSetEnd(); 1534 } 1535 _val285 = iprot.readI64(); 1536 this.mapKeySetValLong.put(_key284, _val285); 1537 } 1538 iprot.readMapEnd(); 1539 } 1540 } else { 1541 TProtocolUtil.skip(iprot, __field.type); 1542 } 1543 break; 1544 case MAPKEYLISTVALLONG: 1545 if (__field.type == TType.MAP) { 1546 { 1547 TMap _map289 = iprot.readMapBegin(); 1548 this.mapKeyListValLong = new HashMap<List<String>,Integer>(Math.max(0, 2*_map289.size)); 1549 for (int _i290 = 0; 1550 (_map289.size < 0) ? iprot.peekMap() : (_i290 < _map289.size); 1551 ++_i290) 1552 { 1553 List<String> _key291; 1554 int _val292; 1555 { 1556 TList _list293 = iprot.readListBegin(); 1557 _key291 = new ArrayList<String>(Math.max(0, _list293.size)); 1558 for (int _i294 = 0; 1559 (_list293.size < 0) ? iprot.peekList() : (_i294 < _list293.size); 1560 ++_i294) 1561 { 1562 String _elem295; 1563 _elem295 = iprot.readString(); 1564 _key291.add(_elem295); 1565 } 1566 iprot.readListEnd(); 1567 } 1568 _val292 = iprot.readI32(); 1569 this.mapKeyListValLong.put(_key291, _val292); 1570 } 1571 iprot.readMapEnd(); 1572 } 1573 } else { 1574 TProtocolUtil.skip(iprot, __field.type); 1575 } 1576 break; 1577 case MAPKEYMAPVALMAP: 1578 if (__field.type == TType.MAP) { 1579 { 1580 TMap _map296 = iprot.readMapBegin(); 1581 this.mapKeyMapValMap = new HashMap<Map<Integer,String>,Map<Integer,String>>(Math.max(0, 2*_map296.size)); 1582 for (int _i297 = 0; 1583 (_map296.size < 0) ? iprot.peekMap() : (_i297 < _map296.size); 1584 ++_i297) 1585 { 1586 Map<Integer,String> _key298; 1587 Map<Integer,String> _val299; 1588 { 1589 TMap _map300 = iprot.readMapBegin(); 1590 _key298 = new HashMap<Integer,String>(Math.max(0, 2*_map300.size)); 1591 for (int _i301 = 0; 1592 (_map300.size < 0) ? iprot.peekMap() : (_i301 < _map300.size); 1593 ++_i301) 1594 { 1595 int _key302; 1596 String _val303; 1597 _key302 = iprot.readI32(); 1598 _val303 = iprot.readString(); 1599 _key298.put(_key302, _val303); 1600 } 1601 iprot.readMapEnd(); 1602 } 1603 { 1604 TMap _map304 = iprot.readMapBegin(); 1605 _val299 = new HashMap<Integer,String>(Math.max(0, 2*_map304.size)); 1606 for (int _i305 = 0; 1607 (_map304.size < 0) ? iprot.peekMap() : (_i305 < _map304.size); 1608 ++_i305) 1609 { 1610 int _key306; 1611 String _val307; 1612 _key306 = iprot.readI32(); 1613 _val307 = iprot.readString(); 1614 _val299.put(_key306, _val307); 1615 } 1616 iprot.readMapEnd(); 1617 } 1618 this.mapKeyMapValMap.put(_key298, _val299); 1619 } 1620 iprot.readMapEnd(); 1621 } 1622 } else { 1623 TProtocolUtil.skip(iprot, __field.type); 1624 } 1625 break; 1626 case MAPKEYSETVALMAP: 1627 if (__field.type == TType.MAP) { 1628 { 1629 TMap _map308 = iprot.readMapBegin(); 1630 this.mapKeySetValMap = new HashMap<Set<List<Integer>>,Map<List<Set<String>>,String>>(Math.max(0, 2*_map308.size)); 1631 for (int _i309 = 0; 1632 (_map308.size < 0) ? iprot.peekMap() : (_i309 < _map308.size); 1633 ++_i309) 1634 { 1635 Set<List<Integer>> _key310; 1636 Map<List<Set<String>>,String> _val311; 1637 { 1638 TSet _set312 = iprot.readSetBegin(); 1639 _key310 = new HashSet<List<Integer>>(Math.max(0, 2*_set312.size)); 1640 for (int _i313 = 0; 1641 (_set312.size < 0) ? iprot.peekSet() : (_i313 < _set312.size); 1642 ++_i313) 1643 { 1644 List<Integer> _elem314; 1645 { 1646 TList _list315 = iprot.readListBegin(); 1647 _elem314 = new ArrayList<Integer>(Math.max(0, _list315.size)); 1648 for (int _i316 = 0; 1649 (_list315.size < 0) ? iprot.peekList() : (_i316 < _list315.size); 1650 ++_i316) 1651 { 1652 int _elem317; 1653 _elem317 = iprot.readI32(); 1654 _elem314.add(_elem317); 1655 } 1656 iprot.readListEnd(); 1657 } 1658 _key310.add(_elem314); 1659 } 1660 iprot.readSetEnd(); 1661 } 1662 { 1663 TMap _map318 = iprot.readMapBegin(); 1664 _val311 = new HashMap<List<Set<String>>,String>(Math.max(0, 2*_map318.size)); 1665 for (int _i319 = 0; 1666 (_map318.size < 0) ? iprot.peekMap() : (_i319 < _map318.size); 1667 ++_i319) 1668 { 1669 List<Set<String>> _key320; 1670 String _val321; 1671 { 1672 TList _list322 = iprot.readListBegin(); 1673 _key320 = new ArrayList<Set<String>>(Math.max(0, _list322.size)); 1674 for (int _i323 = 0; 1675 (_list322.size < 0) ? iprot.peekList() : (_i323 < _list322.size); 1676 ++_i323) 1677 { 1678 Set<String> _elem324; 1679 { 1680 TSet _set325 = iprot.readSetBegin(); 1681 _elem324 = new HashSet<String>(Math.max(0, 2*_set325.size)); 1682 for (int _i326 = 0; 1683 (_set325.size < 0) ? iprot.peekSet() : (_i326 < _set325.size); 1684 ++_i326) 1685 { 1686 String _elem327; 1687 _elem327 = iprot.readString(); 1688 _elem324.add(_elem327); 1689 } 1690 iprot.readSetEnd(); 1691 } 1692 _key320.add(_elem324); 1693 } 1694 iprot.readListEnd(); 1695 } 1696 _val321 = iprot.readString(); 1697 _val311.put(_key320, _val321); 1698 } 1699 iprot.readMapEnd(); 1700 } 1701 this.mapKeySetValMap.put(_key310, _val311); 1702 } 1703 iprot.readMapEnd(); 1704 } 1705 } else { 1706 TProtocolUtil.skip(iprot, __field.type); 1707 } 1708 break; 1709 case NESTEDMAPS: 1710 if (__field.type == TType.MAP) { 1711 { 1712 TMap _map328 = iprot.readMapBegin(); 1713 this.NestedMaps = new HashMap<Map<Map<Integer,String>,String>,Map<Integer,String>>(Math.max(0, 2*_map328.size)); 1714 for (int _i329 = 0; 1715 (_map328.size < 0) ? iprot.peekMap() : (_i329 < _map328.size); 1716 ++_i329) 1717 { 1718 Map<Map<Integer,String>,String> _key330; 1719 Map<Integer,String> _val331; 1720 { 1721 TMap _map332 = iprot.readMapBegin(); 1722 _key330 = new HashMap<Map<Integer,String>,String>(Math.max(0, 2*_map332.size)); 1723 for (int _i333 = 0; 1724 (_map332.size < 0) ? iprot.peekMap() : (_i333 < _map332.size); 1725 ++_i333) 1726 { 1727 Map<Integer,String> _key334; 1728 String _val335; 1729 { 1730 TMap _map336 = iprot.readMapBegin(); 1731 _key334 = new HashMap<Integer,String>(Math.max(0, 2*_map336.size)); 1732 for (int _i337 = 0; 1733 (_map336.size < 0) ? iprot.peekMap() : (_i337 < _map336.size); 1734 ++_i337) 1735 { 1736 int _key338; 1737 String _val339; 1738 _key338 = iprot.readI32(); 1739 _val339 = iprot.readString(); 1740 _key334.put(_key338, _val339); 1741 } 1742 iprot.readMapEnd(); 1743 } 1744 _val335 = iprot.readString(); 1745 _key330.put(_key334, _val335); 1746 } 1747 iprot.readMapEnd(); 1748 } 1749 { 1750 TMap _map340 = iprot.readMapBegin(); 1751 _val331 = new HashMap<Integer,String>(Math.max(0, 2*_map340.size)); 1752 for (int _i341 = 0; 1753 (_map340.size < 0) ? iprot.peekMap() : (_i341 < _map340.size); 1754 ++_i341) 1755 { 1756 int _key342; 1757 String _val343; 1758 _key342 = iprot.readI32(); 1759 _val343 = iprot.readString(); 1760 _val331.put(_key342, _val343); 1761 } 1762 iprot.readMapEnd(); 1763 } 1764 this.NestedMaps.put(_key330, _val331); 1765 } 1766 iprot.readMapEnd(); 1767 } 1768 } else { 1769 TProtocolUtil.skip(iprot, __field.type); 1770 } 1771 break; 1772 case MAPKEYINTVALLIST: 1773 if (__field.type == TType.MAP) { 1774 { 1775 TMap _map344 = iprot.readMapBegin(); 1776 this.mapKeyIntValList = new HashMap<Integer,List<MyStruct>>(Math.max(0, 2*_map344.size)); 1777 for (int _i345 = 0; 1778 (_map344.size < 0) ? iprot.peekMap() : (_i345 < _map344.size); 1779 ++_i345) 1780 { 1781 int _key346; 1782 List<MyStruct> _val347; 1783 _key346 = iprot.readI32(); 1784 { 1785 TList _list348 = iprot.readListBegin(); 1786 _val347 = new ArrayList<MyStruct>(Math.max(0, _list348.size)); 1787 for (int _i349 = 0; 1788 (_list348.size < 0) ? iprot.peekList() : (_i349 < _list348.size); 1789 ++_i349) 1790 { 1791 MyStruct _elem350; 1792 _elem350 = new MyStruct(); 1793 _elem350.read(iprot); 1794 _val347.add(_elem350); 1795 } 1796 iprot.readListEnd(); 1797 } 1798 this.mapKeyIntValList.put(_key346, _val347); 1799 } 1800 iprot.readMapEnd(); 1801 } 1802 } else { 1803 TProtocolUtil.skip(iprot, __field.type); 1804 } 1805 break; 1806 case MAPKEYINTVALSET: 1807 if (__field.type == TType.MAP) { 1808 { 1809 TMap _map351 = iprot.readMapBegin(); 1810 this.mapKeyIntValSet = new HashMap<Integer,Set<Boolean>>(Math.max(0, 2*_map351.size)); 1811 for (int _i352 = 0; 1812 (_map351.size < 0) ? iprot.peekMap() : (_i352 < _map351.size); 1813 ++_i352) 1814 { 1815 int _key353; 1816 Set<Boolean> _val354; 1817 _key353 = iprot.readI32(); 1818 { 1819 TSet _set355 = iprot.readSetBegin(); 1820 _val354 = new HashSet<Boolean>(Math.max(0, 2*_set355.size)); 1821 for (int _i356 = 0; 1822 (_set355.size < 0) ? iprot.peekSet() : (_i356 < _set355.size); 1823 ++_i356) 1824 { 1825 boolean _elem357; 1826 _elem357 = iprot.readBool(); 1827 _val354.add(_elem357); 1828 } 1829 iprot.readSetEnd(); 1830 } 1831 this.mapKeyIntValSet.put(_key353, _val354); 1832 } 1833 iprot.readMapEnd(); 1834 } 1835 } else { 1836 TProtocolUtil.skip(iprot, __field.type); 1837 } 1838 break; 1839 case MAPKEYSETVALINT: 1840 if (__field.type == TType.MAP) { 1841 { 1842 TMap _map358 = iprot.readMapBegin(); 1843 this.mapKeySetValInt = new HashMap<Set<Boolean>,MyEnum>(Math.max(0, 2*_map358.size)); 1844 for (int _i359 = 0; 1845 (_map358.size < 0) ? iprot.peekMap() : (_i359 < _map358.size); 1846 ++_i359) 1847 { 1848 Set<Boolean> _key360; 1849 MyEnum _val361; 1850 { 1851 TSet _set362 = iprot.readSetBegin(); 1852 _key360 = new HashSet<Boolean>(Math.max(0, 2*_set362.size)); 1853 for (int _i363 = 0; 1854 (_set362.size < 0) ? iprot.peekSet() : (_i363 < _set362.size); 1855 ++_i363) 1856 { 1857 boolean _elem364; 1858 _elem364 = iprot.readBool(); 1859 _key360.add(_elem364); 1860 } 1861 iprot.readSetEnd(); 1862 } 1863 _val361 = MyEnum.findByValue(iprot.readI32()); 1864 this.mapKeySetValInt.put(_key360, _val361); 1865 } 1866 iprot.readMapEnd(); 1867 } 1868 } else { 1869 TProtocolUtil.skip(iprot, __field.type); 1870 } 1871 break; 1872 case MAPKEYLISTVALSET: 1873 if (__field.type == TType.MAP) { 1874 { 1875 TMap _map365 = iprot.readMapBegin(); 1876 this.mapKeyListValSet = new HashMap<List<Integer>,Set<Map<Double,String>>>(Math.max(0, 2*_map365.size)); 1877 for (int _i366 = 0; 1878 (_map365.size < 0) ? iprot.peekMap() : (_i366 < _map365.size); 1879 ++_i366) 1880 { 1881 List<Integer> _key367; 1882 Set<Map<Double,String>> _val368; 1883 { 1884 TList _list369 = iprot.readListBegin(); 1885 _key367 = new ArrayList<Integer>(Math.max(0, _list369.size)); 1886 for (int _i370 = 0; 1887 (_list369.size < 0) ? iprot.peekList() : (_i370 < _list369.size); 1888 ++_i370) 1889 { 1890 int _elem371; 1891 _elem371 = iprot.readI32(); 1892 _key367.add(_elem371); 1893 } 1894 iprot.readListEnd(); 1895 } 1896 { 1897 TSet _set372 = iprot.readSetBegin(); 1898 _val368 = new HashSet<Map<Double,String>>(Math.max(0, 2*_set372.size)); 1899 for (int _i373 = 0; 1900 (_set372.size < 0) ? iprot.peekSet() : (_i373 < _set372.size); 1901 ++_i373) 1902 { 1903 Map<Double,String> _elem374; 1904 { 1905 TMap _map375 = iprot.readMapBegin(); 1906 _elem374 = new HashMap<Double,String>(Math.max(0, 2*_map375.size)); 1907 for (int _i376 = 0; 1908 (_map375.size < 0) ? iprot.peekMap() : (_i376 < _map375.size); 1909 ++_i376) 1910 { 1911 double _key377; 1912 String _val378; 1913 _key377 = iprot.readDouble(); 1914 _val378 = iprot.readString(); 1915 _elem374.put(_key377, _val378); 1916 } 1917 iprot.readMapEnd(); 1918 } 1919 _val368.add(_elem374); 1920 } 1921 iprot.readSetEnd(); 1922 } 1923 this.mapKeyListValSet.put(_key367, _val368); 1924 } 1925 iprot.readMapEnd(); 1926 } 1927 } else { 1928 TProtocolUtil.skip(iprot, __field.type); 1929 } 1930 break; 1931 default: 1932 TProtocolUtil.skip(iprot, __field.type); 1933 break; 1934 } 1935 iprot.readFieldEnd(); 1936 } 1937 iprot.readStructEnd(); 1938 1939 1940 // check for required fields of primitive type, which can't be checked in the validate method 1941 validate(); 1942 } 1943 write(TProtocol oprot)1944 public void write(TProtocol oprot) throws TException { 1945 validate(); 1946 1947 oprot.writeStructBegin(STRUCT_DESC); 1948 if (this.setOfSetOfInt != null) { 1949 oprot.writeFieldBegin(SET_OF_SET_OF_INT_FIELD_DESC); 1950 { 1951 oprot.writeSetBegin(new TSet(TType.SET, this.setOfSetOfInt.size())); 1952 for (Set<Integer> _iter379 : this.setOfSetOfInt) { 1953 { 1954 oprot.writeSetBegin(new TSet(TType.I32, _iter379.size())); 1955 for (int _iter380 : _iter379) { 1956 oprot.writeI32(_iter380); 1957 } 1958 oprot.writeSetEnd(); 1959 } 1960 } 1961 oprot.writeSetEnd(); 1962 } 1963 oprot.writeFieldEnd(); 1964 } 1965 if (this.listofListOfListOfListOfEnum != null) { 1966 oprot.writeFieldBegin(LISTOF_LIST_OF_LIST_OF_LIST_OF_ENUM_FIELD_DESC); 1967 { 1968 oprot.writeListBegin(new TList(TType.LIST, this.listofListOfListOfListOfEnum.size())); 1969 for (List<List<List<MyEnum>>> _iter381 : this.listofListOfListOfListOfEnum) { 1970 { 1971 oprot.writeListBegin(new TList(TType.LIST, _iter381.size())); 1972 for (List<List<MyEnum>> _iter382 : _iter381) { 1973 { 1974 oprot.writeListBegin(new TList(TType.LIST, _iter382.size())); 1975 for (List<MyEnum> _iter383 : _iter382) { 1976 { 1977 oprot.writeListBegin(new TList(TType.I32, _iter383.size())); 1978 for (MyEnum _iter384 : _iter383) { 1979 oprot.writeI32(_iter384 == null ? 0 : _iter384.getValue()); 1980 } 1981 oprot.writeListEnd(); 1982 } 1983 } 1984 oprot.writeListEnd(); 1985 } 1986 } 1987 oprot.writeListEnd(); 1988 } 1989 } 1990 oprot.writeListEnd(); 1991 } 1992 oprot.writeFieldEnd(); 1993 } 1994 if (this.listOfListOfMyStruct != null) { 1995 oprot.writeFieldBegin(LIST_OF_LIST_OF_MY_STRUCT_FIELD_DESC); 1996 { 1997 oprot.writeListBegin(new TList(TType.LIST, this.listOfListOfMyStruct.size())); 1998 for (List<MyStruct> _iter385 : this.listOfListOfMyStruct) { 1999 { 2000 oprot.writeListBegin(new TList(TType.STRUCT, _iter385.size())); 2001 for (MyStruct _iter386 : _iter385) { 2002 _iter386.write(oprot); 2003 } 2004 oprot.writeListEnd(); 2005 } 2006 } 2007 oprot.writeListEnd(); 2008 } 2009 oprot.writeFieldEnd(); 2010 } 2011 if (this.setOfListOfListOfLong != null) { 2012 oprot.writeFieldBegin(SET_OF_LIST_OF_LIST_OF_LONG_FIELD_DESC); 2013 { 2014 oprot.writeSetBegin(new TSet(TType.LIST, this.setOfListOfListOfLong.size())); 2015 for (List<List<Long>> _iter387 : this.setOfListOfListOfLong) { 2016 { 2017 oprot.writeListBegin(new TList(TType.LIST, _iter387.size())); 2018 for (List<Long> _iter388 : _iter387) { 2019 { 2020 oprot.writeListBegin(new TList(TType.I64, _iter388.size())); 2021 for (long _iter389 : _iter388) { 2022 oprot.writeI64(_iter389); 2023 } 2024 oprot.writeListEnd(); 2025 } 2026 } 2027 oprot.writeListEnd(); 2028 } 2029 } 2030 oprot.writeSetEnd(); 2031 } 2032 oprot.writeFieldEnd(); 2033 } 2034 if (this.setOfSetOfsetOfLong != null) { 2035 oprot.writeFieldBegin(SET_OF_SET_OFSET_OF_LONG_FIELD_DESC); 2036 { 2037 oprot.writeSetBegin(new TSet(TType.SET, this.setOfSetOfsetOfLong.size())); 2038 for (Set<Set<Long>> _iter390 : this.setOfSetOfsetOfLong) { 2039 { 2040 oprot.writeSetBegin(new TSet(TType.SET, _iter390.size())); 2041 for (Set<Long> _iter391 : _iter390) { 2042 { 2043 oprot.writeSetBegin(new TSet(TType.I64, _iter391.size())); 2044 for (long _iter392 : _iter391) { 2045 oprot.writeI64(_iter392); 2046 } 2047 oprot.writeSetEnd(); 2048 } 2049 } 2050 oprot.writeSetEnd(); 2051 } 2052 } 2053 oprot.writeSetEnd(); 2054 } 2055 oprot.writeFieldEnd(); 2056 } 2057 if (this.mapStructListOfListOfLong != null) { 2058 oprot.writeFieldBegin(MAP_STRUCT_LIST_OF_LIST_OF_LONG_FIELD_DESC); 2059 { 2060 oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.mapStructListOfListOfLong.size())); 2061 for (Map.Entry<Integer, List<List<MyStruct>>> _iter393 : this.mapStructListOfListOfLong.entrySet()) { 2062 oprot.writeI32(_iter393.getKey()); 2063 { 2064 oprot.writeListBegin(new TList(TType.LIST, _iter393.getValue().size())); 2065 for (List<MyStruct> _iter394 : _iter393.getValue()) { 2066 { 2067 oprot.writeListBegin(new TList(TType.STRUCT, _iter394.size())); 2068 for (MyStruct _iter395 : _iter394) { 2069 _iter395.write(oprot); 2070 } 2071 oprot.writeListEnd(); 2072 } 2073 } 2074 oprot.writeListEnd(); 2075 } 2076 } 2077 oprot.writeMapEnd(); 2078 } 2079 oprot.writeFieldEnd(); 2080 } 2081 if (this.mKeyStructValInt != null) { 2082 oprot.writeFieldBegin(M_KEY_STRUCT_VAL_INT_FIELD_DESC); 2083 { 2084 oprot.writeMapBegin(new TMap(TType.STRUCT, TType.I32, this.mKeyStructValInt.size())); 2085 for (Map.Entry<MyStruct, Integer> _iter396 : this.mKeyStructValInt.entrySet()) { 2086 _iter396.getKey().write(oprot); 2087 oprot.writeI32(_iter396.getValue()); 2088 } 2089 oprot.writeMapEnd(); 2090 } 2091 oprot.writeFieldEnd(); 2092 } 2093 if (this.listOfMapKeyIntValInt != null) { 2094 oprot.writeFieldBegin(LIST_OF_MAP_KEY_INT_VAL_INT_FIELD_DESC); 2095 { 2096 oprot.writeListBegin(new TList(TType.MAP, this.listOfMapKeyIntValInt.size())); 2097 for (Map<Integer,Integer> _iter397 : this.listOfMapKeyIntValInt) { 2098 { 2099 oprot.writeMapBegin(new TMap(TType.I32, TType.I32, _iter397.size())); 2100 for (Map.Entry<Integer, Integer> _iter398 : _iter397.entrySet()) { 2101 oprot.writeI32(_iter398.getKey()); 2102 oprot.writeI32(_iter398.getValue()); 2103 } 2104 oprot.writeMapEnd(); 2105 } 2106 } 2107 oprot.writeListEnd(); 2108 } 2109 oprot.writeFieldEnd(); 2110 } 2111 if (this.listOfMapKeyStrValList != null) { 2112 oprot.writeFieldBegin(LIST_OF_MAP_KEY_STR_VAL_LIST_FIELD_DESC); 2113 { 2114 oprot.writeListBegin(new TList(TType.MAP, this.listOfMapKeyStrValList.size())); 2115 for (Map<String,List<MyStruct>> _iter399 : this.listOfMapKeyStrValList) { 2116 { 2117 oprot.writeMapBegin(new TMap(TType.STRING, TType.LIST, _iter399.size())); 2118 for (Map.Entry<String, List<MyStruct>> _iter400 : _iter399.entrySet()) { 2119 oprot.writeString(_iter400.getKey()); 2120 { 2121 oprot.writeListBegin(new TList(TType.STRUCT, _iter400.getValue().size())); 2122 for (MyStruct _iter401 : _iter400.getValue()) { 2123 _iter401.write(oprot); 2124 } 2125 oprot.writeListEnd(); 2126 } 2127 } 2128 oprot.writeMapEnd(); 2129 } 2130 } 2131 oprot.writeListEnd(); 2132 } 2133 oprot.writeFieldEnd(); 2134 } 2135 if (this.mapKeySetValLong != null) { 2136 oprot.writeFieldBegin(MAP_KEY_SET_VAL_LONG_FIELD_DESC); 2137 { 2138 oprot.writeMapBegin(new TMap(TType.SET, TType.I64, this.mapKeySetValLong.size())); 2139 for (Map.Entry<Set<Integer>, Long> _iter402 : this.mapKeySetValLong.entrySet()) { 2140 { 2141 oprot.writeSetBegin(new TSet(TType.I32, _iter402.getKey().size())); 2142 for (int _iter403 : _iter402.getKey()) { 2143 oprot.writeI32(_iter403); 2144 } 2145 oprot.writeSetEnd(); 2146 } 2147 oprot.writeI64(_iter402.getValue()); 2148 } 2149 oprot.writeMapEnd(); 2150 } 2151 oprot.writeFieldEnd(); 2152 } 2153 if (this.mapKeyListValLong != null) { 2154 oprot.writeFieldBegin(MAP_KEY_LIST_VAL_LONG_FIELD_DESC); 2155 { 2156 oprot.writeMapBegin(new TMap(TType.LIST, TType.I32, this.mapKeyListValLong.size())); 2157 for (Map.Entry<List<String>, Integer> _iter404 : this.mapKeyListValLong.entrySet()) { 2158 { 2159 oprot.writeListBegin(new TList(TType.STRING, _iter404.getKey().size())); 2160 for (String _iter405 : _iter404.getKey()) { 2161 oprot.writeString(_iter405); 2162 } 2163 oprot.writeListEnd(); 2164 } 2165 oprot.writeI32(_iter404.getValue()); 2166 } 2167 oprot.writeMapEnd(); 2168 } 2169 oprot.writeFieldEnd(); 2170 } 2171 if (this.mapKeyMapValMap != null) { 2172 oprot.writeFieldBegin(MAP_KEY_MAP_VAL_MAP_FIELD_DESC); 2173 { 2174 oprot.writeMapBegin(new TMap(TType.MAP, TType.MAP, this.mapKeyMapValMap.size())); 2175 for (Map.Entry<Map<Integer,String>, Map<Integer,String>> _iter406 : this.mapKeyMapValMap.entrySet()) { 2176 { 2177 oprot.writeMapBegin(new TMap(TType.I32, TType.STRING, _iter406.getKey().size())); 2178 for (Map.Entry<Integer, String> _iter407 : _iter406.getKey().entrySet()) { 2179 oprot.writeI32(_iter407.getKey()); 2180 oprot.writeString(_iter407.getValue()); 2181 } 2182 oprot.writeMapEnd(); 2183 } 2184 { 2185 oprot.writeMapBegin(new TMap(TType.I32, TType.STRING, _iter406.getValue().size())); 2186 for (Map.Entry<Integer, String> _iter408 : _iter406.getValue().entrySet()) { 2187 oprot.writeI32(_iter408.getKey()); 2188 oprot.writeString(_iter408.getValue()); 2189 } 2190 oprot.writeMapEnd(); 2191 } 2192 } 2193 oprot.writeMapEnd(); 2194 } 2195 oprot.writeFieldEnd(); 2196 } 2197 if (this.mapKeySetValMap != null) { 2198 oprot.writeFieldBegin(MAP_KEY_SET_VAL_MAP_FIELD_DESC); 2199 { 2200 oprot.writeMapBegin(new TMap(TType.SET, TType.MAP, this.mapKeySetValMap.size())); 2201 for (Map.Entry<Set<List<Integer>>, Map<List<Set<String>>,String>> _iter409 : this.mapKeySetValMap.entrySet()) { 2202 { 2203 oprot.writeSetBegin(new TSet(TType.LIST, _iter409.getKey().size())); 2204 for (List<Integer> _iter410 : _iter409.getKey()) { 2205 { 2206 oprot.writeListBegin(new TList(TType.I32, _iter410.size())); 2207 for (int _iter411 : _iter410) { 2208 oprot.writeI32(_iter411); 2209 } 2210 oprot.writeListEnd(); 2211 } 2212 } 2213 oprot.writeSetEnd(); 2214 } 2215 { 2216 oprot.writeMapBegin(new TMap(TType.LIST, TType.STRING, _iter409.getValue().size())); 2217 for (Map.Entry<List<Set<String>>, String> _iter412 : _iter409.getValue().entrySet()) { 2218 { 2219 oprot.writeListBegin(new TList(TType.SET, _iter412.getKey().size())); 2220 for (Set<String> _iter413 : _iter412.getKey()) { 2221 { 2222 oprot.writeSetBegin(new TSet(TType.STRING, _iter413.size())); 2223 for (String _iter414 : _iter413) { 2224 oprot.writeString(_iter414); 2225 } 2226 oprot.writeSetEnd(); 2227 } 2228 } 2229 oprot.writeListEnd(); 2230 } 2231 oprot.writeString(_iter412.getValue()); 2232 } 2233 oprot.writeMapEnd(); 2234 } 2235 } 2236 oprot.writeMapEnd(); 2237 } 2238 oprot.writeFieldEnd(); 2239 } 2240 if (this.NestedMaps != null) { 2241 oprot.writeFieldBegin(NESTED_MAPS_FIELD_DESC); 2242 { 2243 oprot.writeMapBegin(new TMap(TType.MAP, TType.MAP, this.NestedMaps.size())); 2244 for (Map.Entry<Map<Map<Integer,String>,String>, Map<Integer,String>> _iter415 : this.NestedMaps.entrySet()) { 2245 { 2246 oprot.writeMapBegin(new TMap(TType.MAP, TType.STRING, _iter415.getKey().size())); 2247 for (Map.Entry<Map<Integer,String>, String> _iter416 : _iter415.getKey().entrySet()) { 2248 { 2249 oprot.writeMapBegin(new TMap(TType.I32, TType.STRING, _iter416.getKey().size())); 2250 for (Map.Entry<Integer, String> _iter417 : _iter416.getKey().entrySet()) { 2251 oprot.writeI32(_iter417.getKey()); 2252 oprot.writeString(_iter417.getValue()); 2253 } 2254 oprot.writeMapEnd(); 2255 } 2256 oprot.writeString(_iter416.getValue()); 2257 } 2258 oprot.writeMapEnd(); 2259 } 2260 { 2261 oprot.writeMapBegin(new TMap(TType.I32, TType.STRING, _iter415.getValue().size())); 2262 for (Map.Entry<Integer, String> _iter418 : _iter415.getValue().entrySet()) { 2263 oprot.writeI32(_iter418.getKey()); 2264 oprot.writeString(_iter418.getValue()); 2265 } 2266 oprot.writeMapEnd(); 2267 } 2268 } 2269 oprot.writeMapEnd(); 2270 } 2271 oprot.writeFieldEnd(); 2272 } 2273 if (this.mapKeyIntValList != null) { 2274 oprot.writeFieldBegin(MAP_KEY_INT_VAL_LIST_FIELD_DESC); 2275 { 2276 oprot.writeMapBegin(new TMap(TType.I32, TType.LIST, this.mapKeyIntValList.size())); 2277 for (Map.Entry<Integer, List<MyStruct>> _iter419 : this.mapKeyIntValList.entrySet()) { 2278 oprot.writeI32(_iter419.getKey()); 2279 { 2280 oprot.writeListBegin(new TList(TType.STRUCT, _iter419.getValue().size())); 2281 for (MyStruct _iter420 : _iter419.getValue()) { 2282 _iter420.write(oprot); 2283 } 2284 oprot.writeListEnd(); 2285 } 2286 } 2287 oprot.writeMapEnd(); 2288 } 2289 oprot.writeFieldEnd(); 2290 } 2291 if (this.mapKeyIntValSet != null) { 2292 oprot.writeFieldBegin(MAP_KEY_INT_VAL_SET_FIELD_DESC); 2293 { 2294 oprot.writeMapBegin(new TMap(TType.I32, TType.SET, this.mapKeyIntValSet.size())); 2295 for (Map.Entry<Integer, Set<Boolean>> _iter421 : this.mapKeyIntValSet.entrySet()) { 2296 oprot.writeI32(_iter421.getKey()); 2297 { 2298 oprot.writeSetBegin(new TSet(TType.BOOL, _iter421.getValue().size())); 2299 for (boolean _iter422 : _iter421.getValue()) { 2300 oprot.writeBool(_iter422); 2301 } 2302 oprot.writeSetEnd(); 2303 } 2304 } 2305 oprot.writeMapEnd(); 2306 } 2307 oprot.writeFieldEnd(); 2308 } 2309 if (this.mapKeySetValInt != null) { 2310 oprot.writeFieldBegin(MAP_KEY_SET_VAL_INT_FIELD_DESC); 2311 { 2312 oprot.writeMapBegin(new TMap(TType.SET, TType.I32, this.mapKeySetValInt.size())); 2313 for (Map.Entry<Set<Boolean>, MyEnum> _iter423 : this.mapKeySetValInt.entrySet()) { 2314 { 2315 oprot.writeSetBegin(new TSet(TType.BOOL, _iter423.getKey().size())); 2316 for (boolean _iter424 : _iter423.getKey()) { 2317 oprot.writeBool(_iter424); 2318 } 2319 oprot.writeSetEnd(); 2320 } 2321 oprot.writeI32(_iter423.getValue() == null ? 0 : _iter423.getValue().getValue()); 2322 } 2323 oprot.writeMapEnd(); 2324 } 2325 oprot.writeFieldEnd(); 2326 } 2327 if (this.mapKeyListValSet != null) { 2328 oprot.writeFieldBegin(MAP_KEY_LIST_VAL_SET_FIELD_DESC); 2329 { 2330 oprot.writeMapBegin(new TMap(TType.LIST, TType.SET, this.mapKeyListValSet.size())); 2331 for (Map.Entry<List<Integer>, Set<Map<Double,String>>> _iter425 : this.mapKeyListValSet.entrySet()) { 2332 { 2333 oprot.writeListBegin(new TList(TType.I32, _iter425.getKey().size())); 2334 for (int _iter426 : _iter425.getKey()) { 2335 oprot.writeI32(_iter426); 2336 } 2337 oprot.writeListEnd(); 2338 } 2339 { 2340 oprot.writeSetBegin(new TSet(TType.MAP, _iter425.getValue().size())); 2341 for (Map<Double,String> _iter427 : _iter425.getValue()) { 2342 { 2343 oprot.writeMapBegin(new TMap(TType.DOUBLE, TType.STRING, _iter427.size())); 2344 for (Map.Entry<Double, String> _iter428 : _iter427.entrySet()) { 2345 oprot.writeDouble(_iter428.getKey()); 2346 oprot.writeString(_iter428.getValue()); 2347 } 2348 oprot.writeMapEnd(); 2349 } 2350 } 2351 oprot.writeSetEnd(); 2352 } 2353 } 2354 oprot.writeMapEnd(); 2355 } 2356 oprot.writeFieldEnd(); 2357 } 2358 oprot.writeFieldStop(); 2359 oprot.writeStructEnd(); 2360 } 2361 2362 @Override toString()2363 public String toString() { 2364 return toString(1, true); 2365 } 2366 2367 @Override toString(int indent, boolean prettyPrint)2368 public String toString(int indent, boolean prettyPrint) { 2369 String indentStr = prettyPrint ? TBaseHelper.getIndentedString(indent) : ""; 2370 String newLine = prettyPrint ? "\n" : ""; 2371 String space = prettyPrint ? " " : ""; 2372 StringBuilder sb = new StringBuilder("ComplexNestedStruct"); 2373 sb.append(space); 2374 sb.append("("); 2375 sb.append(newLine); 2376 boolean first = true; 2377 2378 sb.append(indentStr); 2379 sb.append("setOfSetOfInt"); 2380 sb.append(space); 2381 sb.append(":").append(space); 2382 if (this.getSetOfSetOfInt() == null) { 2383 sb.append("null"); 2384 } else { 2385 sb.append(TBaseHelper.toString(this.getSetOfSetOfInt(), indent + 1, prettyPrint)); 2386 } 2387 first = false; 2388 if (!first) sb.append("," + newLine); 2389 sb.append(indentStr); 2390 sb.append("listofListOfListOfListOfEnum"); 2391 sb.append(space); 2392 sb.append(":").append(space); 2393 if (this.getListofListOfListOfListOfEnum() == null) { 2394 sb.append("null"); 2395 } else { 2396 sb.append(TBaseHelper.toString(this.getListofListOfListOfListOfEnum(), indent + 1, prettyPrint)); 2397 } 2398 first = false; 2399 if (!first) sb.append("," + newLine); 2400 sb.append(indentStr); 2401 sb.append("listOfListOfMyStruct"); 2402 sb.append(space); 2403 sb.append(":").append(space); 2404 if (this.getListOfListOfMyStruct() == null) { 2405 sb.append("null"); 2406 } else { 2407 sb.append(TBaseHelper.toString(this.getListOfListOfMyStruct(), indent + 1, prettyPrint)); 2408 } 2409 first = false; 2410 if (!first) sb.append("," + newLine); 2411 sb.append(indentStr); 2412 sb.append("setOfListOfListOfLong"); 2413 sb.append(space); 2414 sb.append(":").append(space); 2415 if (this.getSetOfListOfListOfLong() == null) { 2416 sb.append("null"); 2417 } else { 2418 sb.append(TBaseHelper.toString(this.getSetOfListOfListOfLong(), indent + 1, prettyPrint)); 2419 } 2420 first = false; 2421 if (!first) sb.append("," + newLine); 2422 sb.append(indentStr); 2423 sb.append("setOfSetOfsetOfLong"); 2424 sb.append(space); 2425 sb.append(":").append(space); 2426 if (this.getSetOfSetOfsetOfLong() == null) { 2427 sb.append("null"); 2428 } else { 2429 sb.append(TBaseHelper.toString(this.getSetOfSetOfsetOfLong(), indent + 1, prettyPrint)); 2430 } 2431 first = false; 2432 if (!first) sb.append("," + newLine); 2433 sb.append(indentStr); 2434 sb.append("mapStructListOfListOfLong"); 2435 sb.append(space); 2436 sb.append(":").append(space); 2437 if (this.getMapStructListOfListOfLong() == null) { 2438 sb.append("null"); 2439 } else { 2440 sb.append(TBaseHelper.toString(this.getMapStructListOfListOfLong(), indent + 1, prettyPrint)); 2441 } 2442 first = false; 2443 if (!first) sb.append("," + newLine); 2444 sb.append(indentStr); 2445 sb.append("mKeyStructValInt"); 2446 sb.append(space); 2447 sb.append(":").append(space); 2448 if (this.getMKeyStructValInt() == null) { 2449 sb.append("null"); 2450 } else { 2451 sb.append(TBaseHelper.toString(this.getMKeyStructValInt(), indent + 1, prettyPrint)); 2452 } 2453 first = false; 2454 if (!first) sb.append("," + newLine); 2455 sb.append(indentStr); 2456 sb.append("listOfMapKeyIntValInt"); 2457 sb.append(space); 2458 sb.append(":").append(space); 2459 if (this.getListOfMapKeyIntValInt() == null) { 2460 sb.append("null"); 2461 } else { 2462 sb.append(TBaseHelper.toString(this.getListOfMapKeyIntValInt(), indent + 1, prettyPrint)); 2463 } 2464 first = false; 2465 if (!first) sb.append("," + newLine); 2466 sb.append(indentStr); 2467 sb.append("listOfMapKeyStrValList"); 2468 sb.append(space); 2469 sb.append(":").append(space); 2470 if (this.getListOfMapKeyStrValList() == null) { 2471 sb.append("null"); 2472 } else { 2473 sb.append(TBaseHelper.toString(this.getListOfMapKeyStrValList(), indent + 1, prettyPrint)); 2474 } 2475 first = false; 2476 if (!first) sb.append("," + newLine); 2477 sb.append(indentStr); 2478 sb.append("mapKeySetValLong"); 2479 sb.append(space); 2480 sb.append(":").append(space); 2481 if (this.getMapKeySetValLong() == null) { 2482 sb.append("null"); 2483 } else { 2484 sb.append(TBaseHelper.toString(this.getMapKeySetValLong(), indent + 1, prettyPrint)); 2485 } 2486 first = false; 2487 if (!first) sb.append("," + newLine); 2488 sb.append(indentStr); 2489 sb.append("mapKeyListValLong"); 2490 sb.append(space); 2491 sb.append(":").append(space); 2492 if (this.getMapKeyListValLong() == null) { 2493 sb.append("null"); 2494 } else { 2495 sb.append(TBaseHelper.toString(this.getMapKeyListValLong(), indent + 1, prettyPrint)); 2496 } 2497 first = false; 2498 if (!first) sb.append("," + newLine); 2499 sb.append(indentStr); 2500 sb.append("mapKeyMapValMap"); 2501 sb.append(space); 2502 sb.append(":").append(space); 2503 if (this.getMapKeyMapValMap() == null) { 2504 sb.append("null"); 2505 } else { 2506 sb.append(TBaseHelper.toString(this.getMapKeyMapValMap(), indent + 1, prettyPrint)); 2507 } 2508 first = false; 2509 if (!first) sb.append("," + newLine); 2510 sb.append(indentStr); 2511 sb.append("mapKeySetValMap"); 2512 sb.append(space); 2513 sb.append(":").append(space); 2514 if (this.getMapKeySetValMap() == null) { 2515 sb.append("null"); 2516 } else { 2517 sb.append(TBaseHelper.toString(this.getMapKeySetValMap(), indent + 1, prettyPrint)); 2518 } 2519 first = false; 2520 if (!first) sb.append("," + newLine); 2521 sb.append(indentStr); 2522 sb.append("NestedMaps"); 2523 sb.append(space); 2524 sb.append(":").append(space); 2525 if (this.getNestedMaps() == null) { 2526 sb.append("null"); 2527 } else { 2528 sb.append(TBaseHelper.toString(this.getNestedMaps(), indent + 1, prettyPrint)); 2529 } 2530 first = false; 2531 if (!first) sb.append("," + newLine); 2532 sb.append(indentStr); 2533 sb.append("mapKeyIntValList"); 2534 sb.append(space); 2535 sb.append(":").append(space); 2536 if (this.getMapKeyIntValList() == null) { 2537 sb.append("null"); 2538 } else { 2539 sb.append(TBaseHelper.toString(this.getMapKeyIntValList(), indent + 1, prettyPrint)); 2540 } 2541 first = false; 2542 if (!first) sb.append("," + newLine); 2543 sb.append(indentStr); 2544 sb.append("mapKeyIntValSet"); 2545 sb.append(space); 2546 sb.append(":").append(space); 2547 if (this.getMapKeyIntValSet() == null) { 2548 sb.append("null"); 2549 } else { 2550 sb.append(TBaseHelper.toString(this.getMapKeyIntValSet(), indent + 1, prettyPrint)); 2551 } 2552 first = false; 2553 if (!first) sb.append("," + newLine); 2554 sb.append(indentStr); 2555 sb.append("mapKeySetValInt"); 2556 sb.append(space); 2557 sb.append(":").append(space); 2558 if (this.getMapKeySetValInt() == null) { 2559 sb.append("null"); 2560 } else { 2561 sb.append(TBaseHelper.toString(this.getMapKeySetValInt(), indent + 1, prettyPrint)); 2562 } 2563 first = false; 2564 if (!first) sb.append("," + newLine); 2565 sb.append(indentStr); 2566 sb.append("mapKeyListValSet"); 2567 sb.append(space); 2568 sb.append(":").append(space); 2569 if (this.getMapKeyListValSet() == null) { 2570 sb.append("null"); 2571 } else { 2572 sb.append(TBaseHelper.toString(this.getMapKeyListValSet(), indent + 1, prettyPrint)); 2573 } 2574 first = false; 2575 sb.append(newLine + TBaseHelper.reduceIndent(indentStr)); 2576 sb.append(")"); 2577 return sb.toString(); 2578 } 2579 validate()2580 public void validate() throws TException { 2581 // check for required fields 2582 } 2583 2584 } 2585 2586