public static PredictionResourcesCase forNumber(int value) {
      switch (value) {
        case 7:
          return DEDICATED_RESOURCES;
        case 8:
          return AUTOMATIC_RESOURCES;
        case 17:
          return SHARED_RESOURCES;
        case 0:
          return PREDICTIONRESOURCES_NOT_SET;
        default:
          return null;
      }
    }
@param value The number of the enum to look for.
@return The enum associated with the given number.
@deprecated Use {@link #forNumber(int)} instead.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DeployedModel.java