public static ValueCase forNumber(int value) {
      switch (value) {
        case 1:
          return STRING_VALUE;
        case 2:
          return INTEGER_VALUE;
        case 3:
          return DATETIME_VALUE;
        case 0:
          return VALUE_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-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetValue.java