public static JobCategory forNumber(int value) {
    switch (value) {
      case 0:
        return JOB_CATEGORY_UNSPECIFIED;
      case 1:
        return ACCOUNTING_AND_FINANCE;
      case 2:
        return ADMINISTRATIVE_AND_OFFICE;
      case 3:
        return ADVERTISING_AND_MARKETING;
      case 4:
        return ANIMAL_CARE;
      case 5:
        return ART_FASHION_AND_DESIGN;
      case 6:
        return BUSINESS_OPERATIONS;
      case 7:
        return CLEANING_AND_FACILITIES;
      case 8:
        return COMPUTER_AND_IT;
      case 9:
        return CONSTRUCTION;
      case 10:
        return CUSTOMER_SERVICE;
      case 11:
        return EDUCATION;
      case 12:
        return ENTERTAINMENT_AND_TRAVEL;
      case 13:
        return FARMING_AND_OUTDOORS;
      case 14:
        return HEALTHCARE;
      case 15:
        return HUMAN_RESOURCES;
      case 16:
        return INSTALLATION_MAINTENANCE_AND_REPAIR;
      case 17:
        return LEGAL;
      case 18:
        return MANAGEMENT;
      case 19:
        return MANUFACTURING_AND_WAREHOUSE;
      case 20:
        return MEDIA_COMMUNICATIONS_AND_WRITING;
      case 21:
        return OIL_GAS_AND_MINING;
      case 22:
        return PERSONAL_CARE_AND_SERVICES;
      case 23:
        return PROTECTIVE_SERVICES;
      case 24:
        return REAL_ESTATE;
      case 25:
        return RESTAURANT_AND_HOSPITALITY;
      case 26:
        return SALES_AND_RETAIL;
      case 27:
        return SCIENCE_AND_ENGINEERING;
      case 28:
        return SOCIAL_SERVICES_AND_NON_PROFIT;
      case 29:
        return SPORTS_FITNESS_AND_RECREATION;
      case 30:
        return TRANSPORTATION_AND_LOGISTICS;
      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-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/JobCategory.java