public static EmploymentType forNumber(int value) {
    switch (value) {
      case 0:
        return EMPLOYMENT_TYPE_UNSPECIFIED;
      case 1:
        return FULL_TIME;
      case 2:
        return PART_TIME;
      case 3:
        return CONTRACTOR;
      case 4:
        return CONTRACT_TO_HIRE;
      case 5:
        return TEMPORARY;
      case 6:
        return INTERN;
      case 7:
        return VOLUNTEER;
      case 8:
        return PER_DIEM;
      case 9:
        return FLY_IN_FLY_OUT;
      case 10:
        return OTHER_EMPLOYMENT_TYPE;
      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/EmploymentType.java