def METHOD_NAME(self, cmake_target):
    short_name = cmake_target
    prefix = "google_"
    suffix = "_proto"
    if cmake_target.startswith(prefix):
        short_name = short_name[len(prefix):]
    if short_name.endswith(suffix):
        short_name = short_name[:-len(suffix)]
    return short_name