public static ConformanceConfig loadGlobalConformance ( Class < ? > clazz ) { ConformanceConfig . Builder builder = ConformanceConfig . newBuilder ( ) ; if ( resourceExists ( clazz , "global_conformance.binarypb" ) ) { try { builder . mergeFrom ( clazz . getResourceAsStream ( "global_conformance.binarypb" ) ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } } return builder . build ( ) ; }
Load the global ConformanceConfig