public static Status forNumber(int value) {
        switch (value) {
          case 0:
            return STATUS_UNSPECIFIED;
          case 1:
            return IN_PROGRESS;
          case 2:
            return PAUSED;
          case 3:
            return SUCCESS;
          case 4:
            return FAILED;
          case 5:
            return ABORTED;
          case 6:
            return QUEUED;
          case 7:
            return SUSPENDING;
          default:
            return null;
        }
      }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java