thrift generation configuration