public static CompactionState
    createCompactionStateForRegionLoad(RegionLoad.CompactionState state) {
    return CompactionState.valueOf(state.toString());
  }
Creates {@link CompactionState} from {@link RegionLoad.CompactionState} state
@param state the protobuf CompactionState
hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java