MessageType function ( StructType arg0 ) { MessageType loc0 = ThriftSchemaConvertVisitor . convert ( arg0 , fieldProjectionFilter , true ) ; fieldProjectionFilter . assertNoUnmatchedPatterns ( ) ; return loc0 ; }
struct is assumed to contain valid structoruniontype metadata when used with this method . this method may throw if structoruniontype is unknown . use convertwithoutprojection below to convert a structtype to messagetype concode_field_sep FieldProjectionFilter fieldProjectionFilter concode_field_sep ThriftField toThriftField concode_elem_sep StructOrUnionType structOrUnionType concode_elem_sep MessageType convertWithoutProjection concode_elem_sep ThriftType.StructType toStructType concode_elem_sep StructType toStructType