public static OnHostMaintenance forNumber(int value) {
      switch (value) {
        case 0:
          return ON_HOST_MAINTENANCE_UNSPECIFIED;
        case 1:
          return TERMINATE;
        case 2:
          return MIGRATE;
        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-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java