public static NameStrategyCase forNumber(int value) {
          switch (value) {
            case 2:
              return NODE_ID;
            case 3:
              return MULTISLICE_PARAMS;
            case 0:
              return NAMESTRATEGY_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-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResource.java