package com.knecon.fforesight.service.layoutparser.internal.api.data.redaction;

import java.util.Locale;
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: NodeType.proto
// Protobuf Java Version: 4.27.1
@SuppressWarnings("all")
public final class NodeTypeProto {

    private NodeTypeProto() {}


    static {
        com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
                /* major= */ 4,
                /* minor= */ 27,
                /* patch= */ 1,
                /* suffix= */ "", NodeTypeProto.class.getName());
    }

    public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {

    }


    public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {

        registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
    }


    /**
     * Protobuf enum {@code NodeType}
     */
    public enum NodeType implements com.google.protobuf.ProtocolMessageEnum {
        /**
         * <code>DOCUMENT = 0;</code>
         */
        DOCUMENT(0),
        /**
         * <code>SECTION = 1;</code>
         */
        SECTION(1),
        /**
         * <code>SUPER_SECTION = 2;</code>
         */
        SUPER_SECTION(2),
        /**
         * <code>HEADLINE = 3;</code>
         */
        HEADLINE(3),
        /**
         * <code>PARAGRAPH = 4;</code>
         */
        PARAGRAPH(4),
        /**
         * <code>TABLE = 5;</code>
         */
        TABLE(5),
        /**
         * <code>TABLE_CELL = 6;</code>
         */
        TABLE_CELL(6),
        /**
         * <code>IMAGE = 7;</code>
         */
        IMAGE(7),
        /**
         * <code>HEADER = 8;</code>
         */
        HEADER(8),
        /**
         * <code>FOOTER = 9;</code>
         */
        FOOTER(9),
        UNRECOGNIZED(-1),
        ;


        public String toString() {

            return this.name().charAt(0) + this.name().substring(1).toLowerCase(Locale.ROOT);
        }


        static {
            com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
                    /* major= */ 4,
                    /* minor= */ 27,
                    /* patch= */ 1,
                    /* suffix= */ "", NodeType.class.getName());
        }

        /**
         * <code>DOCUMENT = 0;</code>
         */
        public static final int DOCUMENT_VALUE = 0;
        /**
         * <code>SECTION = 1;</code>
         */
        public static final int SECTION_VALUE = 1;
        /**
         * <code>SUPER_SECTION = 2;</code>
         */
        public static final int SUPER_SECTION_VALUE = 2;
        /**
         * <code>HEADLINE = 3;</code>
         */
        public static final int HEADLINE_VALUE = 3;
        /**
         * <code>PARAGRAPH = 4;</code>
         */
        public static final int PARAGRAPH_VALUE = 4;
        /**
         * <code>TABLE = 5;</code>
         */
        public static final int TABLE_VALUE = 5;
        /**
         * <code>TABLE_CELL = 6;</code>
         */
        public static final int TABLE_CELL_VALUE = 6;
        /**
         * <code>IMAGE = 7;</code>
         */
        public static final int IMAGE_VALUE = 7;
        /**
         * <code>HEADER = 8;</code>
         */
        public static final int HEADER_VALUE = 8;
        /**
         * <code>FOOTER = 9;</code>
         */
        public static final int FOOTER_VALUE = 9;


        public final int getNumber() {

            if (this == UNRECOGNIZED) {
                throw new IllegalArgumentException("Can't get the number of an unknown enum value.");
            }
            return value;
        }


        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @Deprecated
        public static NodeType valueOf(int value) {

            return forNumber(value);
        }


        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         */
        public static NodeType forNumber(int value) {

            switch (value) {
                case 0:
                    return DOCUMENT;
                case 1:
                    return SECTION;
                case 2:
                    return SUPER_SECTION;
                case 3:
                    return HEADLINE;
                case 4:
                    return PARAGRAPH;
                case 5:
                    return TABLE;
                case 6:
                    return TABLE_CELL;
                case 7:
                    return IMAGE;
                case 8:
                    return HEADER;
                case 9:
                    return FOOTER;
                default:
                    return null;
            }
        }


        public static com.google.protobuf.Internal.EnumLiteMap<NodeType> internalGetValueMap() {

            return internalValueMap;
        }


        private static final com.google.protobuf.Internal.EnumLiteMap<NodeType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<NodeType>() {
            public NodeType findValueByNumber(int number) {

                return NodeType.forNumber(number);
            }
        };


        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {

            if (this == UNRECOGNIZED) {
                throw new IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
            }
            return getDescriptor().getValues()
                    .get(ordinal());
        }


        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {

            return getDescriptor();
        }


        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {

            return NodeTypeProto.getDescriptor().getEnumTypes()
                    .get(0);
        }


        private static final NodeType[] VALUES = values();


        public static NodeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {

            if (desc.getType() != getDescriptor()) {
                throw new IllegalArgumentException("EnumValueDescriptor is not for this type.");
            }
            if (desc.getIndex() == -1) {
                return UNRECOGNIZED;
            }
            return VALUES[desc.getIndex()];
        }


        private final int value;


        private NodeType(int value) {

            this.value = value;
        }

        // @@protoc_insertion_point(enum_scope:NodeType)
    }


    public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {

        return descriptor;
    }


    private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

    static {
        String[] descriptorData = {"\n\016NodeType.proto*\223\001\n\010NodeType\022\014\n\010DOCUMEN"
                                   + "T\020\000\022\013\n\007SECTION\020\001\022\021\n\rSUPER_SECTION\020\002\022\014\n\010H"
                                   + "EADLINE\020\003\022\r\n\tPARAGRAPH\020\004\022\t\n\005TABLE\020\005\022\016\n\nT"
                                   + "ABLE_CELL\020\006\022\t\n\005IMAGE\020\007\022\n\n\006HEADER\020\010\022\n\n\006FO"
                                   + "OTER\020\tb\006proto3"};
        descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[]{});
        descriptor.resolveAllFeaturesImmutable();
    }

    // @@protoc_insertion_point(outer_class_scope)
}
