code: public static SyncPointInfo fromProto(alluxio.grpc.SyncPointInfo syncPointInfo) {
      SyncStatus syncStatus;
      switch (syncPointInfo.getSyncStatus()) {
        case Not_Initially_Synced:
          syncStatus = SyncStatus.NOT_INITIALLY_SYNCED;
          break;
        case Syncing:
          syncStatus = SyncStatus.SYNCING;
          break;
        case Initially_Synced:
          syncStatus = SyncStatus.INITIALLY_SYNCED;
          break;
        default:
          syncStatus = SyncStatus.NOT_INITIALLY_SYNCED;
      }
      return new SyncPointInfo(new AlluxioURI(syncPointInfo.getSyncPointUri()), syncStatus);
    }
docs: Generate sync point information from the proto representation.
  @param syncPointInfo the proto representation
  @return sync point info object