List < TProtocol > function ( StructType arg0 ) { Iterator < TProtocol > loc0 = rootEvents . iterator ( ) ; checkStruct ( loc0 , arg0 ) ; return fixedEvents ; }
given a thrift definition , protocols events , it checks all the required fields , and create default value if a required field is missing concode_field_sep List<TProtocol> fixedEvents concode_elem_sep List<TProtocol> rootEvents concode_field_sep void checkSet concode_elem_sep boolean isRequired concode_elem_sep void checkField concode_elem_sep void checkList concode_elem_sep TProtocol acceptProtocol concode_elem_sep void checkPrimitiveField concode_elem_sep void checkStruct concode_elem_sep void checkMap concode_elem_sep boolean isStopField