public static JobBenefit forNumber(int value) {
    switch (value) {
      case 0:
        return JOB_BENEFIT_UNSPECIFIED;
      case 1:
        return CHILD_CARE;
      case 2:
        return DENTAL;
      case 3:
        return DOMESTIC_PARTNER;
      case 4:
        return FLEXIBLE_HOURS;
      case 5:
        return MEDICAL;
      case 6:
        return LIFE_INSURANCE;
      case 7:
        return PARENTAL_LEAVE;
      case 8:
        return RETIREMENT_PLAN;
      case 9:
        return SICK_DAYS;
      case 10:
        return VACATION;
      case 11:
        return VISION;
      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/JobBenefit.java