public static ApiVersion forNumber(int value) {
      switch (value) {
        case 0:
          return API_VERSION_UNSPECIFIED;
        case 1:
          return V1_ALPHA1;
        case 2:
          return V1;
        case 3:
          return V2_ALPHA1;
        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-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Node.java