Given a line of a proto file, replace the line with one that is
        appropriate for the hierarchy that we want to compile

def _doLineReplacements(self, line):
        """
        Given a line of a proto file, replace the line with one that is
        appropriate for the hierarchy that we want to compile
        """
        # ga4gh packages
        packageString = 'package ga4gh;'
        if packageString in line:
            return line.replace(
                packageString,
                'package ga4gh.schemas.ga4gh;')
        importString = 'import "ga4gh/'
        if importString in line:
            return line.replace(
                importString,
                'import "ga4gh/schemas/ga4gh/')
        # google packages
        googlePackageString = 'package google.api;'
        if googlePackageString in line:
            return line.replace(
                googlePackageString,
                'package ga4gh.schemas.google.api;')
        googleImportString = 'import "google/api/'
        if googleImportString in line:
            return line.replace(
                googleImportString,
                'import "ga4gh/schemas/google/api/')
        optionString = 'option (google.api.http)'
        if optionString in line:
            return line.replace(
                optionString,
                'option (.ga4gh.schemas.google.api.http)')
        return line