<commit_before><commit_msg>Create model class for storing upload progress info<commit_after>package com.google.android.gnd.persistence.remote;

public class UploadProgress {

  private final UploadState state;
  private final int total;
  private final int progress;

  public UploadProgress(UploadState state) {
    this(state, 0, 0);
  }

  public UploadProgress(UploadState state, int total, int progress) {
    this.state = state;
    this.total = total;
    this.progress = progress;
  }

  public int getProgress() {
    return progress;
  }

  public int getTotal() {
    return total;
  }

  public UploadState getState() {
    return state;
  }

  public enum UploadState {
    STARTING,
    IN_PROGRESS,
    PAUSED,
    FAILED,
    COMPLETED
  }
}

{'fraction_non_alphanumeric': 0.08179419525065963, 'fraction_numerical': 0.002638522427440633, 'mean_word_length': 3.264044943820225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1893877', 'n_tokens_mistral': 241, 'n_tokens_neox': 231, 'n_words': 66}