public static DataSourceCase forNumber(int value) {
        switch (value) {
          case 1:
            return GCS_DATA_SOURCE;
          case 0:
            return DATASOURCE_NOT_SET;
          default:
            return null;
        }
      }
@param value The number of the enum to look for.
@return The enum associated with the given number.
@deprecated Use {@link #forNumber(int)} instead.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java