public boolean isSet(_Fields field) {
            if (field == null) {
                throw new IllegalArgumentException();
            }

            switch (field) {
                case KEY:
                    return isSetKey();
                case VALUE:
                    return isSetValue();
            }
            throw new IllegalStateException();
        }