// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: query_messages.proto

package datawave.webservice.query;

public final class QueryMessages {
    private QueryMessages() {}

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

    public interface QueryImplOrBuilder extends com.google.protobuf.MessageLiteOrBuilder {

        // required string query_logic_name = 1;
        /**
         * <code>required string query_logic_name = 1;</code>
         */
        boolean hasQueryLogicName();

        /**
         * <code>required string query_logic_name = 1;</code>
         */
        java.lang.String getQueryLogicName();

        /**
         * <code>required string query_logic_name = 1;</code>
         */
        com.google.protobuf.ByteString getQueryLogicNameBytes();

        // required string id = 2;
        /**
         * <code>required string id = 2;</code>
         */
        boolean hasId();

        /**
         * <code>required string id = 2;</code>
         */
        java.lang.String getId();

        /**
         * <code>required string id = 2;</code>
         */
        com.google.protobuf.ByteString getIdBytes();

        // optional string query_name = 3;
        /**
         * <code>optional string query_name = 3;</code>
         */
        boolean hasQueryName();

        /**
         * <code>optional string query_name = 3;</code>
         */
        java.lang.String getQueryName();

        /**
         * <code>optional string query_name = 3;</code>
         */
        com.google.protobuf.ByteString getQueryNameBytes();

        // required string user_DN = 4;
        /**
         * <code>required string user_DN = 4;</code>
         */
        boolean hasUserDN();

        /**
         * <code>required string user_DN = 4;</code>
         */
        java.lang.String getUserDN();

        /**
         * <code>required string user_DN = 4;</code>
         */
        com.google.protobuf.ByteString getUserDNBytes();

        // required string query = 5;
        /**
         * <code>required string query = 5;</code>
         */
        boolean hasQuery();

        /**
         * <code>required string query = 5;</code>
         */
        java.lang.String getQuery();

        /**
         * <code>required string query = 5;</code>
         */
        com.google.protobuf.ByteString getQueryBytes();

        // required string query_visibility = 6;
        /**
         * <code>required string query_visibility = 6;</code>
         */
        boolean hasQueryVisibility();

        /**
         * <code>required string query_visibility = 6;</code>
         */
        java.lang.String getQueryVisibility();

        /**
         * <code>required string query_visibility = 6;</code>
         */
        com.google.protobuf.ByteString getQueryVisibilityBytes();

        // optional int64 begin_date = 7;
        /**
         * <code>optional int64 begin_date = 7;</code>
         */
        boolean hasBeginDate();

        /**
         * <code>optional int64 begin_date = 7;</code>
         */
        long getBeginDate();

        // optional int64 end_date = 8;
        /**
         * <code>optional int64 end_date = 8;</code>
         */
        boolean hasEndDate();

        /**
         * <code>optional int64 end_date = 8;</code>
         */
        long getEndDate();

        // required string query_authorizations = 9;
        /**
         * <code>required string query_authorizations = 9;</code>
         */
        boolean hasQueryAuthorizations();

        /**
         * <code>required string query_authorizations = 9;</code>
         */
        java.lang.String getQueryAuthorizations();

        /**
         * <code>required string query_authorizations = 9;</code>
         */
        com.google.protobuf.ByteString getQueryAuthorizationsBytes();

        // required int64 expiration_date = 10;
        /**
         * <code>required int64 expiration_date = 10;</code>
         */
        boolean hasExpirationDate();

        /**
         * <code>required int64 expiration_date = 10;</code>
         */
        long getExpirationDate();

        // required uint32 pagesize = 11 [default = 0];
        /**
         * <code>required uint32 pagesize = 11 [default = 0];</code>
         */
        boolean hasPagesize();

        /**
         * <code>required uint32 pagesize = 11 [default = 0];</code>
         */
        int getPagesize();

        // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> getParametersList();

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index);

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        int getParametersCount();
    }

    /**
     * Protobuf type {@code datawave.webservice.query.QueryImpl}
     */
    public static final class QueryImpl extends com.google.protobuf.GeneratedMessageLite implements QueryImplOrBuilder {
        // Use QueryImpl.newBuilder() to construct.
        private QueryImpl(com.google.protobuf.GeneratedMessageLite.Builder builder) {
            super(builder);

        }

        private QueryImpl(boolean noInit) {}

        private static final QueryImpl defaultInstance;

        public static QueryImpl getDefaultInstance() {
            return defaultInstance;
        }

        public QueryImpl getDefaultInstanceForType() {
            return defaultInstance;
        }

        private QueryImpl(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                        throws com.google.protobuf.InvalidProtocolBufferException {
            initFields();
            int mutable_bitField0_ = 0;
            try {
                boolean done = false;
                while (!done) {
                    int tag = input.readTag();
                    switch (tag) {
                        case 0:
                            done = true;
                            break;
                        default: {
                            if (!parseUnknownField(input, extensionRegistry, tag)) {
                                done = true;
                            }
                            break;
                        }
                        case 10: {
                            bitField0_ |= 0x00000001;
                            queryLogicName_ = input.readBytes();
                            break;
                        }
                        case 18: {
                            bitField0_ |= 0x00000002;
                            id_ = input.readBytes();
                            break;
                        }
                        case 26: {
                            bitField0_ |= 0x00000004;
                            queryName_ = input.readBytes();
                            break;
                        }
                        case 34: {
                            bitField0_ |= 0x00000008;
                            userDN_ = input.readBytes();
                            break;
                        }
                        case 42: {
                            bitField0_ |= 0x00000010;
                            query_ = input.readBytes();
                            break;
                        }
                        case 50: {
                            bitField0_ |= 0x00000020;
                            queryVisibility_ = input.readBytes();
                            break;
                        }
                        case 56: {
                            bitField0_ |= 0x00000040;
                            beginDate_ = input.readInt64();
                            break;
                        }
                        case 64: {
                            bitField0_ |= 0x00000080;
                            endDate_ = input.readInt64();
                            break;
                        }
                        case 74: {
                            bitField0_ |= 0x00000100;
                            queryAuthorizations_ = input.readBytes();
                            break;
                        }
                        case 80: {
                            bitField0_ |= 0x00000200;
                            expirationDate_ = input.readInt64();
                            break;
                        }
                        case 88: {
                            bitField0_ |= 0x00000400;
                            pagesize_ = input.readUInt32();
                            break;
                        }
                        case 98: {
                            if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
                                parameters_ = new java.util.ArrayList<datawave.webservice.query.QueryMessages.QueryImpl.Parameter>();
                                mutable_bitField0_ |= 0x00000800;
                            }
                            parameters_.add(input.readMessage(datawave.webservice.query.QueryMessages.QueryImpl.Parameter.PARSER, extensionRegistry));
                            break;
                        }
                    }
                }
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(this);
            } catch (java.io.IOException e) {
                throw new com.google.protobuf.InvalidProtocolBufferException(e.getMessage()).setUnfinishedMessage(this);
            } finally {
                if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
                    parameters_ = java.util.Collections.unmodifiableList(parameters_);
                }
                makeExtensionsImmutable();
            }
        }

        public static com.google.protobuf.Parser<QueryImpl> PARSER = new com.google.protobuf.AbstractParser<QueryImpl>() {
            public QueryImpl parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                            throws com.google.protobuf.InvalidProtocolBufferException {
                return new QueryImpl(input, extensionRegistry);
            }
        };

        @java.lang.Override
        public com.google.protobuf.Parser<QueryImpl> getParserForType() {
            return PARSER;
        }

        public interface ParameterOrBuilder extends com.google.protobuf.MessageLiteOrBuilder {

            // required string parameter_name = 1;
            /**
             * <code>required string parameter_name = 1;</code>
             */
            boolean hasParameterName();

            /**
             * <code>required string parameter_name = 1;</code>
             */
            java.lang.String getParameterName();

            /**
             * <code>required string parameter_name = 1;</code>
             */
            com.google.protobuf.ByteString getParameterNameBytes();

            // required string parameter_value = 2;
            /**
             * <code>required string parameter_value = 2;</code>
             */
            boolean hasParameterValue();

            /**
             * <code>required string parameter_value = 2;</code>
             */
            java.lang.String getParameterValue();

            /**
             * <code>required string parameter_value = 2;</code>
             */
            com.google.protobuf.ByteString getParameterValueBytes();
        }

        /**
         * Protobuf type {@code datawave.webservice.query.QueryImpl.Parameter}
         */
        public static final class Parameter extends com.google.protobuf.GeneratedMessageLite implements ParameterOrBuilder {
            // Use Parameter.newBuilder() to construct.
            private Parameter(com.google.protobuf.GeneratedMessageLite.Builder builder) {
                super(builder);

            }

            private Parameter(boolean noInit) {}

            private static final Parameter defaultInstance;

            public static Parameter getDefaultInstance() {
                return defaultInstance;
            }

            public Parameter getDefaultInstanceForType() {
                return defaultInstance;
            }

            private Parameter(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                            throws com.google.protobuf.InvalidProtocolBufferException {
                initFields();
                int mutable_bitField0_ = 0;
                try {
                    boolean done = false;
                    while (!done) {
                        int tag = input.readTag();
                        switch (tag) {
                            case 0:
                                done = true;
                                break;
                            default: {
                                if (!parseUnknownField(input, extensionRegistry, tag)) {
                                    done = true;
                                }
                                break;
                            }
                            case 10: {
                                bitField0_ |= 0x00000001;
                                parameterName_ = input.readBytes();
                                break;
                            }
                            case 18: {
                                bitField0_ |= 0x00000002;
                                parameterValue_ = input.readBytes();
                                break;
                            }
                        }
                    }
                } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                    throw e.setUnfinishedMessage(this);
                } catch (java.io.IOException e) {
                    throw new com.google.protobuf.InvalidProtocolBufferException(e.getMessage()).setUnfinishedMessage(this);
                } finally {
                    makeExtensionsImmutable();
                }
            }

            public static com.google.protobuf.Parser<Parameter> PARSER = new com.google.protobuf.AbstractParser<Parameter>() {
                public Parameter parsePartialFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws com.google.protobuf.InvalidProtocolBufferException {
                    return new Parameter(input, extensionRegistry);
                }
            };

            @java.lang.Override
            public com.google.protobuf.Parser<Parameter> getParserForType() {
                return PARSER;
            }

            private int bitField0_;
            // required string parameter_name = 1;
            public static final int PARAMETER_NAME_FIELD_NUMBER = 1;
            private java.lang.Object parameterName_;

            /**
             * <code>required string parameter_name = 1;</code>
             */
            public boolean hasParameterName() {
                return ((bitField0_ & 0x00000001) == 0x00000001);
            }

            /**
             * <code>required string parameter_name = 1;</code>
             */
            public java.lang.String getParameterName() {
                java.lang.Object ref = parameterName_;
                if (ref instanceof java.lang.String) {
                    return (java.lang.String) ref;
                } else {
                    com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                    java.lang.String s = bs.toStringUtf8();
                    if (bs.isValidUtf8()) {
                        parameterName_ = s;
                    }
                    return s;
                }
            }

            /**
             * <code>required string parameter_name = 1;</code>
             */
            public com.google.protobuf.ByteString getParameterNameBytes() {
                java.lang.Object ref = parameterName_;
                if (ref instanceof java.lang.String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    parameterName_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            // required string parameter_value = 2;
            public static final int PARAMETER_VALUE_FIELD_NUMBER = 2;
            private java.lang.Object parameterValue_;

            /**
             * <code>required string parameter_value = 2;</code>
             */
            public boolean hasParameterValue() {
                return ((bitField0_ & 0x00000002) == 0x00000002);
            }

            /**
             * <code>required string parameter_value = 2;</code>
             */
            public java.lang.String getParameterValue() {
                java.lang.Object ref = parameterValue_;
                if (ref instanceof java.lang.String) {
                    return (java.lang.String) ref;
                } else {
                    com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                    java.lang.String s = bs.toStringUtf8();
                    if (bs.isValidUtf8()) {
                        parameterValue_ = s;
                    }
                    return s;
                }
            }

            /**
             * <code>required string parameter_value = 2;</code>
             */
            public com.google.protobuf.ByteString getParameterValueBytes() {
                java.lang.Object ref = parameterValue_;
                if (ref instanceof java.lang.String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    parameterValue_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            private void initFields() {
                parameterName_ = "";
                parameterValue_ = "";
            }

            private byte memoizedIsInitialized = -1;

            public final boolean isInitialized() {
                byte isInitialized = memoizedIsInitialized;
                if (isInitialized != -1)
                    return isInitialized == 1;

                if (!hasParameterName()) {
                    memoizedIsInitialized = 0;
                    return false;
                }
                if (!hasParameterValue()) {
                    memoizedIsInitialized = 0;
                    return false;
                }
                memoizedIsInitialized = 1;
                return true;
            }

            public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
                getSerializedSize();
                if (((bitField0_ & 0x00000001) == 0x00000001)) {
                    output.writeBytes(1, getParameterNameBytes());
                }
                if (((bitField0_ & 0x00000002) == 0x00000002)) {
                    output.writeBytes(2, getParameterValueBytes());
                }
            }

            private int memoizedSerializedSize = -1;

            public int getSerializedSize() {
                int size = memoizedSerializedSize;
                if (size != -1)
                    return size;

                size = 0;
                if (((bitField0_ & 0x00000001) == 0x00000001)) {
                    size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, getParameterNameBytes());
                }
                if (((bitField0_ & 0x00000002) == 0x00000002)) {
                    size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, getParameterValueBytes());
                }
                memoizedSerializedSize = size;
                return size;
            }

            private static final long serialVersionUID = 0L;

            @java.lang.Override
            protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
                return super.writeReplace();
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.ByteString data)
                            throws com.google.protobuf.InvalidProtocolBufferException {
                return PARSER.parseFrom(data);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.ByteString data,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
                return PARSER.parseFrom(data, extensionRegistry);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(byte[] data)
                            throws com.google.protobuf.InvalidProtocolBufferException {
                return PARSER.parseFrom(data);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(byte[] data,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
                return PARSER.parseFrom(data, extensionRegistry);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.io.InputStream input) throws java.io.IOException {
                return PARSER.parseFrom(input);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.io.InputStream input,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
                return PARSER.parseFrom(input, extensionRegistry);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
                return PARSER.parseDelimitedFrom(input);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseDelimitedFrom(java.io.InputStream input,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
                return PARSER.parseDelimitedFrom(input, extensionRegistry);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.CodedInputStream input)
                            throws java.io.IOException {
                return PARSER.parseFrom(input);
            }

            public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.CodedInputStream input,
                            com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
                return PARSER.parseFrom(input, extensionRegistry);
            }

            public static Builder newBuilder() {
                return Builder.create();
            }

            public Builder newBuilderForType() {
                return newBuilder();
            }

            public static Builder newBuilder(datawave.webservice.query.QueryMessages.QueryImpl.Parameter prototype) {
                return newBuilder().mergeFrom(prototype);
            }

            public Builder toBuilder() {
                return newBuilder(this);
            }

            /**
             * Protobuf type {@code datawave.webservice.query.QueryImpl.Parameter}
             */
            public static final class Builder
                            extends com.google.protobuf.GeneratedMessageLite.Builder<datawave.webservice.query.QueryMessages.QueryImpl.Parameter,Builder>
                            implements datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder {
                // Construct using datawave.webservice.query.QueryMessages.QueryImpl.Parameter.newBuilder()
                private Builder() {
                    maybeForceBuilderInitialization();
                }

                private void maybeForceBuilderInitialization() {}

                private static Builder create() {
                    return new Builder();
                }

                public Builder clear() {
                    super.clear();
                    parameterName_ = "";
                    bitField0_ = (bitField0_ & ~0x00000001);
                    parameterValue_ = "";
                    bitField0_ = (bitField0_ & ~0x00000002);
                    return this;
                }

                public Builder clone() {
                    return create().mergeFrom(buildPartial());
                }

                public datawave.webservice.query.QueryMessages.QueryImpl.Parameter getDefaultInstanceForType() {
                    return datawave.webservice.query.QueryMessages.QueryImpl.Parameter.getDefaultInstance();
                }

                public datawave.webservice.query.QueryMessages.QueryImpl.Parameter build() {
                    datawave.webservice.query.QueryMessages.QueryImpl.Parameter result = buildPartial();
                    if (!result.isInitialized()) {
                        throw newUninitializedMessageException(result);
                    }
                    return result;
                }

                public datawave.webservice.query.QueryMessages.QueryImpl.Parameter buildPartial() {
                    datawave.webservice.query.QueryMessages.QueryImpl.Parameter result = new datawave.webservice.query.QueryMessages.QueryImpl.Parameter(this);
                    int from_bitField0_ = bitField0_;
                    int to_bitField0_ = 0;
                    if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
                        to_bitField0_ |= 0x00000001;
                    }
                    result.parameterName_ = parameterName_;
                    if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
                        to_bitField0_ |= 0x00000002;
                    }
                    result.parameterValue_ = parameterValue_;
                    result.bitField0_ = to_bitField0_;
                    return result;
                }

                public Builder mergeFrom(datawave.webservice.query.QueryMessages.QueryImpl.Parameter other) {
                    if (other == datawave.webservice.query.QueryMessages.QueryImpl.Parameter.getDefaultInstance())
                        return this;
                    if (other.hasParameterName()) {
                        bitField0_ |= 0x00000001;
                        parameterName_ = other.parameterName_;

                    }
                    if (other.hasParameterValue()) {
                        bitField0_ |= 0x00000002;
                        parameterValue_ = other.parameterValue_;

                    }
                    return this;
                }

                public final boolean isInitialized() {
                    if (!hasParameterName()) {

                        return false;
                    }
                    if (!hasParameterValue()) {

                        return false;
                    }
                    return true;
                }

                public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws java.io.IOException {
                    datawave.webservice.query.QueryMessages.QueryImpl.Parameter parsedMessage = null;
                    try {
                        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                        parsedMessage = (datawave.webservice.query.QueryMessages.QueryImpl.Parameter) e.getUnfinishedMessage();
                        throw e;
                    } finally {
                        if (parsedMessage != null) {
                            mergeFrom(parsedMessage);
                        }
                    }
                    return this;
                }

                private int bitField0_;

                // required string parameter_name = 1;
                private java.lang.Object parameterName_ = "";

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public boolean hasParameterName() {
                    return ((bitField0_ & 0x00000001) == 0x00000001);
                }

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public java.lang.String getParameterName() {
                    java.lang.Object ref = parameterName_;
                    if (!(ref instanceof java.lang.String)) {
                        java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                        parameterName_ = s;
                        return s;
                    } else {
                        return (java.lang.String) ref;
                    }
                }

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public com.google.protobuf.ByteString getParameterNameBytes() {
                    java.lang.Object ref = parameterName_;
                    if (ref instanceof String) {
                        com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                        parameterName_ = b;
                        return b;
                    } else {
                        return (com.google.protobuf.ByteString) ref;
                    }
                }

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public Builder setParameterName(java.lang.String value) {
                    if (value == null) {
                        throw new NullPointerException();
                    }
                    bitField0_ |= 0x00000001;
                    parameterName_ = value;

                    return this;
                }

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public Builder clearParameterName() {
                    bitField0_ = (bitField0_ & ~0x00000001);
                    parameterName_ = getDefaultInstance().getParameterName();

                    return this;
                }

                /**
                 * <code>required string parameter_name = 1;</code>
                 */
                public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
                    if (value == null) {
                        throw new NullPointerException();
                    }
                    bitField0_ |= 0x00000001;
                    parameterName_ = value;

                    return this;
                }

                // required string parameter_value = 2;
                private java.lang.Object parameterValue_ = "";

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public boolean hasParameterValue() {
                    return ((bitField0_ & 0x00000002) == 0x00000002);
                }

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public java.lang.String getParameterValue() {
                    java.lang.Object ref = parameterValue_;
                    if (!(ref instanceof java.lang.String)) {
                        java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                        parameterValue_ = s;
                        return s;
                    } else {
                        return (java.lang.String) ref;
                    }
                }

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public com.google.protobuf.ByteString getParameterValueBytes() {
                    java.lang.Object ref = parameterValue_;
                    if (ref instanceof String) {
                        com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                        parameterValue_ = b;
                        return b;
                    } else {
                        return (com.google.protobuf.ByteString) ref;
                    }
                }

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public Builder setParameterValue(java.lang.String value) {
                    if (value == null) {
                        throw new NullPointerException();
                    }
                    bitField0_ |= 0x00000002;
                    parameterValue_ = value;

                    return this;
                }

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public Builder clearParameterValue() {
                    bitField0_ = (bitField0_ & ~0x00000002);
                    parameterValue_ = getDefaultInstance().getParameterValue();

                    return this;
                }

                /**
                 * <code>required string parameter_value = 2;</code>
                 */
                public Builder setParameterValueBytes(com.google.protobuf.ByteString value) {
                    if (value == null) {
                        throw new NullPointerException();
                    }
                    bitField0_ |= 0x00000002;
                    parameterValue_ = value;

                    return this;
                }

                // @@protoc_insertion_point(builder_scope:datawave.webservice.query.QueryImpl.Parameter)
            }

            static {
                defaultInstance = new Parameter(true);
                defaultInstance.initFields();
            }

            // @@protoc_insertion_point(class_scope:datawave.webservice.query.QueryImpl.Parameter)
        }

        private int bitField0_;
        // required string query_logic_name = 1;
        public static final int QUERY_LOGIC_NAME_FIELD_NUMBER = 1;
        private java.lang.Object queryLogicName_;

        /**
         * <code>required string query_logic_name = 1;</code>
         */
        public boolean hasQueryLogicName() {
            return ((bitField0_ & 0x00000001) == 0x00000001);
        }

        /**
         * <code>required string query_logic_name = 1;</code>
         */
        public java.lang.String getQueryLogicName() {
            java.lang.Object ref = queryLogicName_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    queryLogicName_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string query_logic_name = 1;</code>
         */
        public com.google.protobuf.ByteString getQueryLogicNameBytes() {
            java.lang.Object ref = queryLogicName_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                queryLogicName_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // required string id = 2;
        public static final int ID_FIELD_NUMBER = 2;
        private java.lang.Object id_;

        /**
         * <code>required string id = 2;</code>
         */
        public boolean hasId() {
            return ((bitField0_ & 0x00000002) == 0x00000002);
        }

        /**
         * <code>required string id = 2;</code>
         */
        public java.lang.String getId() {
            java.lang.Object ref = id_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    id_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string id = 2;</code>
         */
        public com.google.protobuf.ByteString getIdBytes() {
            java.lang.Object ref = id_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                id_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // optional string query_name = 3;
        public static final int QUERY_NAME_FIELD_NUMBER = 3;
        private java.lang.Object queryName_;

        /**
         * <code>optional string query_name = 3;</code>
         */
        public boolean hasQueryName() {
            return ((bitField0_ & 0x00000004) == 0x00000004);
        }

        /**
         * <code>optional string query_name = 3;</code>
         */
        public java.lang.String getQueryName() {
            java.lang.Object ref = queryName_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    queryName_ = s;
                }
                return s;
            }
        }

        /**
         * <code>optional string query_name = 3;</code>
         */
        public com.google.protobuf.ByteString getQueryNameBytes() {
            java.lang.Object ref = queryName_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                queryName_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // required string user_DN = 4;
        public static final int USER_DN_FIELD_NUMBER = 4;
        private java.lang.Object userDN_;

        /**
         * <code>required string user_DN = 4;</code>
         */
        public boolean hasUserDN() {
            return ((bitField0_ & 0x00000008) == 0x00000008);
        }

        /**
         * <code>required string user_DN = 4;</code>
         */
        public java.lang.String getUserDN() {
            java.lang.Object ref = userDN_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    userDN_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string user_DN = 4;</code>
         */
        public com.google.protobuf.ByteString getUserDNBytes() {
            java.lang.Object ref = userDN_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                userDN_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // required string query = 5;
        public static final int QUERY_FIELD_NUMBER = 5;
        private java.lang.Object query_;

        /**
         * <code>required string query = 5;</code>
         */
        public boolean hasQuery() {
            return ((bitField0_ & 0x00000010) == 0x00000010);
        }

        /**
         * <code>required string query = 5;</code>
         */
        public java.lang.String getQuery() {
            java.lang.Object ref = query_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    query_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string query = 5;</code>
         */
        public com.google.protobuf.ByteString getQueryBytes() {
            java.lang.Object ref = query_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                query_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // required string query_visibility = 6;
        public static final int QUERY_VISIBILITY_FIELD_NUMBER = 6;
        private java.lang.Object queryVisibility_;

        /**
         * <code>required string query_visibility = 6;</code>
         */
        public boolean hasQueryVisibility() {
            return ((bitField0_ & 0x00000020) == 0x00000020);
        }

        /**
         * <code>required string query_visibility = 6;</code>
         */
        public java.lang.String getQueryVisibility() {
            java.lang.Object ref = queryVisibility_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    queryVisibility_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string query_visibility = 6;</code>
         */
        public com.google.protobuf.ByteString getQueryVisibilityBytes() {
            java.lang.Object ref = queryVisibility_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                queryVisibility_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // optional int64 begin_date = 7;
        public static final int BEGIN_DATE_FIELD_NUMBER = 7;
        private long beginDate_;

        /**
         * <code>optional int64 begin_date = 7;</code>
         */
        public boolean hasBeginDate() {
            return ((bitField0_ & 0x00000040) == 0x00000040);
        }

        /**
         * <code>optional int64 begin_date = 7;</code>
         */
        public long getBeginDate() {
            return beginDate_;
        }

        // optional int64 end_date = 8;
        public static final int END_DATE_FIELD_NUMBER = 8;
        private long endDate_;

        /**
         * <code>optional int64 end_date = 8;</code>
         */
        public boolean hasEndDate() {
            return ((bitField0_ & 0x00000080) == 0x00000080);
        }

        /**
         * <code>optional int64 end_date = 8;</code>
         */
        public long getEndDate() {
            return endDate_;
        }

        // required string query_authorizations = 9;
        public static final int QUERY_AUTHORIZATIONS_FIELD_NUMBER = 9;
        private java.lang.Object queryAuthorizations_;

        /**
         * <code>required string query_authorizations = 9;</code>
         */
        public boolean hasQueryAuthorizations() {
            return ((bitField0_ & 0x00000100) == 0x00000100);
        }

        /**
         * <code>required string query_authorizations = 9;</code>
         */
        public java.lang.String getQueryAuthorizations() {
            java.lang.Object ref = queryAuthorizations_;
            if (ref instanceof java.lang.String) {
                return (java.lang.String) ref;
            } else {
                com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
                java.lang.String s = bs.toStringUtf8();
                if (bs.isValidUtf8()) {
                    queryAuthorizations_ = s;
                }
                return s;
            }
        }

        /**
         * <code>required string query_authorizations = 9;</code>
         */
        public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
            java.lang.Object ref = queryAuthorizations_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                queryAuthorizations_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }

        // required int64 expiration_date = 10;
        public static final int EXPIRATION_DATE_FIELD_NUMBER = 10;
        private long expirationDate_;

        /**
         * <code>required int64 expiration_date = 10;</code>
         */
        public boolean hasExpirationDate() {
            return ((bitField0_ & 0x00000200) == 0x00000200);
        }

        /**
         * <code>required int64 expiration_date = 10;</code>
         */
        public long getExpirationDate() {
            return expirationDate_;
        }

        // required uint32 pagesize = 11 [default = 0];
        public static final int PAGESIZE_FIELD_NUMBER = 11;
        private int pagesize_;

        /**
         * <code>required uint32 pagesize = 11 [default = 0];</code>
         */
        public boolean hasPagesize() {
            return ((bitField0_ & 0x00000400) == 0x00000400);
        }

        /**
         * <code>required uint32 pagesize = 11 [default = 0];</code>
         */
        public int getPagesize() {
            return pagesize_;
        }

        // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
        public static final int PARAMETERS_FIELD_NUMBER = 12;
        private java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> parameters_;

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        public java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> getParametersList() {
            return parameters_;
        }

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        public java.util.List<? extends datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder> getParametersOrBuilderList() {
            return parameters_;
        }

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        public int getParametersCount() {
            return parameters_.size();
        }

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        public datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index) {
            return parameters_.get(index);
        }

        /**
         * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
         */
        public datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder getParametersOrBuilder(int index) {
            return parameters_.get(index);
        }

        private void initFields() {
            queryLogicName_ = "";
            id_ = "";
            queryName_ = "";
            userDN_ = "";
            query_ = "";
            queryVisibility_ = "";
            beginDate_ = 0L;
            endDate_ = 0L;
            queryAuthorizations_ = "";
            expirationDate_ = 0L;
            pagesize_ = 0;
            parameters_ = java.util.Collections.emptyList();
        }

        private byte memoizedIsInitialized = -1;

        public final boolean isInitialized() {
            byte isInitialized = memoizedIsInitialized;
            if (isInitialized != -1)
                return isInitialized == 1;

            if (!hasQueryLogicName()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasId()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasUserDN()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasQuery()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasQueryVisibility()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasQueryAuthorizations()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasExpirationDate()) {
                memoizedIsInitialized = 0;
                return false;
            }
            if (!hasPagesize()) {
                memoizedIsInitialized = 0;
                return false;
            }
            for (int i = 0; i < getParametersCount(); i++) {
                if (!getParameters(i).isInitialized()) {
                    memoizedIsInitialized = 0;
                    return false;
                }
            }
            memoizedIsInitialized = 1;
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
            getSerializedSize();
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                output.writeBytes(1, getQueryLogicNameBytes());
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                output.writeBytes(2, getIdBytes());
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                output.writeBytes(3, getQueryNameBytes());
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                output.writeBytes(4, getUserDNBytes());
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                output.writeBytes(5, getQueryBytes());
            }
            if (((bitField0_ & 0x00000020) == 0x00000020)) {
                output.writeBytes(6, getQueryVisibilityBytes());
            }
            if (((bitField0_ & 0x00000040) == 0x00000040)) {
                output.writeInt64(7, beginDate_);
            }
            if (((bitField0_ & 0x00000080) == 0x00000080)) {
                output.writeInt64(8, endDate_);
            }
            if (((bitField0_ & 0x00000100) == 0x00000100)) {
                output.writeBytes(9, getQueryAuthorizationsBytes());
            }
            if (((bitField0_ & 0x00000200) == 0x00000200)) {
                output.writeInt64(10, expirationDate_);
            }
            if (((bitField0_ & 0x00000400) == 0x00000400)) {
                output.writeUInt32(11, pagesize_);
            }
            for (int i = 0; i < parameters_.size(); i++) {
                output.writeMessage(12, parameters_.get(i));
            }
        }

        private int memoizedSerializedSize = -1;

        public int getSerializedSize() {
            int size = memoizedSerializedSize;
            if (size != -1)
                return size;

            size = 0;
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, getQueryLogicNameBytes());
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, getIdBytes());
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, getQueryNameBytes());
            }
            if (((bitField0_ & 0x00000008) == 0x00000008)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, getUserDNBytes());
            }
            if (((bitField0_ & 0x00000010) == 0x00000010)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, getQueryBytes());
            }
            if (((bitField0_ & 0x00000020) == 0x00000020)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, getQueryVisibilityBytes());
            }
            if (((bitField0_ & 0x00000040) == 0x00000040)) {
                size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, beginDate_);
            }
            if (((bitField0_ & 0x00000080) == 0x00000080)) {
                size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, endDate_);
            }
            if (((bitField0_ & 0x00000100) == 0x00000100)) {
                size += com.google.protobuf.CodedOutputStream.computeBytesSize(9, getQueryAuthorizationsBytes());
            }
            if (((bitField0_ & 0x00000200) == 0x00000200)) {
                size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, expirationDate_);
            }
            if (((bitField0_ & 0x00000400) == 0x00000400)) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, pagesize_);
            }
            for (int i = 0; i < parameters_.size(); i++) {
                size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i));
            }
            memoizedSerializedSize = size;
            return size;
        }

        private static final long serialVersionUID = 0L;

        @java.lang.Override
        protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
            return super.writeReplace();
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.ByteString data)
                        throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.ByteString data,
                        com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                        throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.io.InputStream input) throws java.io.IOException {
            return PARSER.parseFrom(input);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.io.InputStream input,
                        com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
            return PARSER.parseFrom(input, extensionRegistry);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
            return PARSER.parseDelimitedFrom(input);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseDelimitedFrom(java.io.InputStream input,
                        com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
            return PARSER.parseDelimitedFrom(input, extensionRegistry);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
            return PARSER.parseFrom(input);
        }

        public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.CodedInputStream input,
                        com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
            return PARSER.parseFrom(input, extensionRegistry);
        }

        public static Builder newBuilder() {
            return Builder.create();
        }

        public Builder newBuilderForType() {
            return newBuilder();
        }

        public static Builder newBuilder(datawave.webservice.query.QueryMessages.QueryImpl prototype) {
            return newBuilder().mergeFrom(prototype);
        }

        public Builder toBuilder() {
            return newBuilder(this);
        }

        /**
         * Protobuf type {@code datawave.webservice.query.QueryImpl}
         */
        public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder<datawave.webservice.query.QueryMessages.QueryImpl,Builder>
                        implements datawave.webservice.query.QueryMessages.QueryImplOrBuilder {
            // Construct using datawave.webservice.query.QueryMessages.QueryImpl.newBuilder()
            private Builder() {
                maybeForceBuilderInitialization();
            }

            private void maybeForceBuilderInitialization() {}

            private static Builder create() {
                return new Builder();
            }

            public Builder clear() {
                super.clear();
                queryLogicName_ = "";
                bitField0_ = (bitField0_ & ~0x00000001);
                id_ = "";
                bitField0_ = (bitField0_ & ~0x00000002);
                queryName_ = "";
                bitField0_ = (bitField0_ & ~0x00000004);
                userDN_ = "";
                bitField0_ = (bitField0_ & ~0x00000008);
                query_ = "";
                bitField0_ = (bitField0_ & ~0x00000010);
                queryVisibility_ = "";
                bitField0_ = (bitField0_ & ~0x00000020);
                beginDate_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000040);
                endDate_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000080);
                queryAuthorizations_ = "";
                bitField0_ = (bitField0_ & ~0x00000100);
                expirationDate_ = 0L;
                bitField0_ = (bitField0_ & ~0x00000200);
                pagesize_ = 0;
                bitField0_ = (bitField0_ & ~0x00000400);
                parameters_ = java.util.Collections.emptyList();
                bitField0_ = (bitField0_ & ~0x00000800);
                return this;
            }

            public Builder clone() {
                return create().mergeFrom(buildPartial());
            }

            public datawave.webservice.query.QueryMessages.QueryImpl getDefaultInstanceForType() {
                return datawave.webservice.query.QueryMessages.QueryImpl.getDefaultInstance();
            }

            public datawave.webservice.query.QueryMessages.QueryImpl build() {
                datawave.webservice.query.QueryMessages.QueryImpl result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return result;
            }

            public datawave.webservice.query.QueryMessages.QueryImpl buildPartial() {
                datawave.webservice.query.QueryMessages.QueryImpl result = new datawave.webservice.query.QueryMessages.QueryImpl(this);
                int from_bitField0_ = bitField0_;
                int to_bitField0_ = 0;
                if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
                    to_bitField0_ |= 0x00000001;
                }
                result.queryLogicName_ = queryLogicName_;
                if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
                    to_bitField0_ |= 0x00000002;
                }
                result.id_ = id_;
                if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
                    to_bitField0_ |= 0x00000004;
                }
                result.queryName_ = queryName_;
                if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
                    to_bitField0_ |= 0x00000008;
                }
                result.userDN_ = userDN_;
                if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
                    to_bitField0_ |= 0x00000010;
                }
                result.query_ = query_;
                if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
                    to_bitField0_ |= 0x00000020;
                }
                result.queryVisibility_ = queryVisibility_;
                if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
                    to_bitField0_ |= 0x00000040;
                }
                result.beginDate_ = beginDate_;
                if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
                    to_bitField0_ |= 0x00000080;
                }
                result.endDate_ = endDate_;
                if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
                    to_bitField0_ |= 0x00000100;
                }
                result.queryAuthorizations_ = queryAuthorizations_;
                if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
                    to_bitField0_ |= 0x00000200;
                }
                result.expirationDate_ = expirationDate_;
                if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
                    to_bitField0_ |= 0x00000400;
                }
                result.pagesize_ = pagesize_;
                if (((bitField0_ & 0x00000800) == 0x00000800)) {
                    parameters_ = java.util.Collections.unmodifiableList(parameters_);
                    bitField0_ = (bitField0_ & ~0x00000800);
                }
                result.parameters_ = parameters_;
                result.bitField0_ = to_bitField0_;
                return result;
            }

            public Builder mergeFrom(datawave.webservice.query.QueryMessages.QueryImpl other) {
                if (other == datawave.webservice.query.QueryMessages.QueryImpl.getDefaultInstance())
                    return this;
                if (other.hasQueryLogicName()) {
                    bitField0_ |= 0x00000001;
                    queryLogicName_ = other.queryLogicName_;

                }
                if (other.hasId()) {
                    bitField0_ |= 0x00000002;
                    id_ = other.id_;

                }
                if (other.hasQueryName()) {
                    bitField0_ |= 0x00000004;
                    queryName_ = other.queryName_;

                }
                if (other.hasUserDN()) {
                    bitField0_ |= 0x00000008;
                    userDN_ = other.userDN_;

                }
                if (other.hasQuery()) {
                    bitField0_ |= 0x00000010;
                    query_ = other.query_;

                }
                if (other.hasQueryVisibility()) {
                    bitField0_ |= 0x00000020;
                    queryVisibility_ = other.queryVisibility_;

                }
                if (other.hasBeginDate()) {
                    setBeginDate(other.getBeginDate());
                }
                if (other.hasEndDate()) {
                    setEndDate(other.getEndDate());
                }
                if (other.hasQueryAuthorizations()) {
                    bitField0_ |= 0x00000100;
                    queryAuthorizations_ = other.queryAuthorizations_;

                }
                if (other.hasExpirationDate()) {
                    setExpirationDate(other.getExpirationDate());
                }
                if (other.hasPagesize()) {
                    setPagesize(other.getPagesize());
                }
                if (!other.parameters_.isEmpty()) {
                    if (parameters_.isEmpty()) {
                        parameters_ = other.parameters_;
                        bitField0_ = (bitField0_ & ~0x00000800);
                    } else {
                        ensureParametersIsMutable();
                        parameters_.addAll(other.parameters_);
                    }

                }
                return this;
            }

            public final boolean isInitialized() {
                if (!hasQueryLogicName()) {

                    return false;
                }
                if (!hasId()) {

                    return false;
                }
                if (!hasUserDN()) {

                    return false;
                }
                if (!hasQuery()) {

                    return false;
                }
                if (!hasQueryVisibility()) {

                    return false;
                }
                if (!hasQueryAuthorizations()) {

                    return false;
                }
                if (!hasExpirationDate()) {

                    return false;
                }
                if (!hasPagesize()) {

                    return false;
                }
                for (int i = 0; i < getParametersCount(); i++) {
                    if (!getParameters(i).isInitialized()) {

                        return false;
                    }
                }
                return true;
            }

            public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                            throws java.io.IOException {
                datawave.webservice.query.QueryMessages.QueryImpl parsedMessage = null;
                try {
                    parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
                } catch (com.google.protobuf.InvalidProtocolBufferException e) {
                    parsedMessage = (datawave.webservice.query.QueryMessages.QueryImpl) e.getUnfinishedMessage();
                    throw e;
                } finally {
                    if (parsedMessage != null) {
                        mergeFrom(parsedMessage);
                    }
                }
                return this;
            }

            private int bitField0_;

            // required string query_logic_name = 1;
            private java.lang.Object queryLogicName_ = "";

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public boolean hasQueryLogicName() {
                return ((bitField0_ & 0x00000001) == 0x00000001);
            }

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public java.lang.String getQueryLogicName() {
                java.lang.Object ref = queryLogicName_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    queryLogicName_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public com.google.protobuf.ByteString getQueryLogicNameBytes() {
                java.lang.Object ref = queryLogicName_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    queryLogicName_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public Builder setQueryLogicName(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000001;
                queryLogicName_ = value;

                return this;
            }

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public Builder clearQueryLogicName() {
                bitField0_ = (bitField0_ & ~0x00000001);
                queryLogicName_ = getDefaultInstance().getQueryLogicName();

                return this;
            }

            /**
             * <code>required string query_logic_name = 1;</code>
             */
            public Builder setQueryLogicNameBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000001;
                queryLogicName_ = value;

                return this;
            }

            // required string id = 2;
            private java.lang.Object id_ = "";

            /**
             * <code>required string id = 2;</code>
             */
            public boolean hasId() {
                return ((bitField0_ & 0x00000002) == 0x00000002);
            }

            /**
             * <code>required string id = 2;</code>
             */
            public java.lang.String getId() {
                java.lang.Object ref = id_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    id_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string id = 2;</code>
             */
            public com.google.protobuf.ByteString getIdBytes() {
                java.lang.Object ref = id_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    id_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string id = 2;</code>
             */
            public Builder setId(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000002;
                id_ = value;

                return this;
            }

            /**
             * <code>required string id = 2;</code>
             */
            public Builder clearId() {
                bitField0_ = (bitField0_ & ~0x00000002);
                id_ = getDefaultInstance().getId();

                return this;
            }

            /**
             * <code>required string id = 2;</code>
             */
            public Builder setIdBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000002;
                id_ = value;

                return this;
            }

            // optional string query_name = 3;
            private java.lang.Object queryName_ = "";

            /**
             * <code>optional string query_name = 3;</code>
             */
            public boolean hasQueryName() {
                return ((bitField0_ & 0x00000004) == 0x00000004);
            }

            /**
             * <code>optional string query_name = 3;</code>
             */
            public java.lang.String getQueryName() {
                java.lang.Object ref = queryName_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    queryName_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>optional string query_name = 3;</code>
             */
            public com.google.protobuf.ByteString getQueryNameBytes() {
                java.lang.Object ref = queryName_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    queryName_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>optional string query_name = 3;</code>
             */
            public Builder setQueryName(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000004;
                queryName_ = value;

                return this;
            }

            /**
             * <code>optional string query_name = 3;</code>
             */
            public Builder clearQueryName() {
                bitField0_ = (bitField0_ & ~0x00000004);
                queryName_ = getDefaultInstance().getQueryName();

                return this;
            }

            /**
             * <code>optional string query_name = 3;</code>
             */
            public Builder setQueryNameBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000004;
                queryName_ = value;

                return this;
            }

            // required string user_DN = 4;
            private java.lang.Object userDN_ = "";

            /**
             * <code>required string user_DN = 4;</code>
             */
            public boolean hasUserDN() {
                return ((bitField0_ & 0x00000008) == 0x00000008);
            }

            /**
             * <code>required string user_DN = 4;</code>
             */
            public java.lang.String getUserDN() {
                java.lang.Object ref = userDN_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    userDN_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string user_DN = 4;</code>
             */
            public com.google.protobuf.ByteString getUserDNBytes() {
                java.lang.Object ref = userDN_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    userDN_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string user_DN = 4;</code>
             */
            public Builder setUserDN(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000008;
                userDN_ = value;

                return this;
            }

            /**
             * <code>required string user_DN = 4;</code>
             */
            public Builder clearUserDN() {
                bitField0_ = (bitField0_ & ~0x00000008);
                userDN_ = getDefaultInstance().getUserDN();

                return this;
            }

            /**
             * <code>required string user_DN = 4;</code>
             */
            public Builder setUserDNBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000008;
                userDN_ = value;

                return this;
            }

            // required string query = 5;
            private java.lang.Object query_ = "";

            /**
             * <code>required string query = 5;</code>
             */
            public boolean hasQuery() {
                return ((bitField0_ & 0x00000010) == 0x00000010);
            }

            /**
             * <code>required string query = 5;</code>
             */
            public java.lang.String getQuery() {
                java.lang.Object ref = query_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    query_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string query = 5;</code>
             */
            public com.google.protobuf.ByteString getQueryBytes() {
                java.lang.Object ref = query_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    query_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string query = 5;</code>
             */
            public Builder setQuery(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000010;
                query_ = value;

                return this;
            }

            /**
             * <code>required string query = 5;</code>
             */
            public Builder clearQuery() {
                bitField0_ = (bitField0_ & ~0x00000010);
                query_ = getDefaultInstance().getQuery();

                return this;
            }

            /**
             * <code>required string query = 5;</code>
             */
            public Builder setQueryBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000010;
                query_ = value;

                return this;
            }

            // required string query_visibility = 6;
            private java.lang.Object queryVisibility_ = "";

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public boolean hasQueryVisibility() {
                return ((bitField0_ & 0x00000020) == 0x00000020);
            }

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public java.lang.String getQueryVisibility() {
                java.lang.Object ref = queryVisibility_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    queryVisibility_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public com.google.protobuf.ByteString getQueryVisibilityBytes() {
                java.lang.Object ref = queryVisibility_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    queryVisibility_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public Builder setQueryVisibility(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000020;
                queryVisibility_ = value;

                return this;
            }

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public Builder clearQueryVisibility() {
                bitField0_ = (bitField0_ & ~0x00000020);
                queryVisibility_ = getDefaultInstance().getQueryVisibility();

                return this;
            }

            /**
             * <code>required string query_visibility = 6;</code>
             */
            public Builder setQueryVisibilityBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000020;
                queryVisibility_ = value;

                return this;
            }

            // optional int64 begin_date = 7;
            private long beginDate_;

            /**
             * <code>optional int64 begin_date = 7;</code>
             */
            public boolean hasBeginDate() {
                return ((bitField0_ & 0x00000040) == 0x00000040);
            }

            /**
             * <code>optional int64 begin_date = 7;</code>
             */
            public long getBeginDate() {
                return beginDate_;
            }

            /**
             * <code>optional int64 begin_date = 7;</code>
             */
            public Builder setBeginDate(long value) {
                bitField0_ |= 0x00000040;
                beginDate_ = value;

                return this;
            }

            /**
             * <code>optional int64 begin_date = 7;</code>
             */
            public Builder clearBeginDate() {
                bitField0_ = (bitField0_ & ~0x00000040);
                beginDate_ = 0L;

                return this;
            }

            // optional int64 end_date = 8;
            private long endDate_;

            /**
             * <code>optional int64 end_date = 8;</code>
             */
            public boolean hasEndDate() {
                return ((bitField0_ & 0x00000080) == 0x00000080);
            }

            /**
             * <code>optional int64 end_date = 8;</code>
             */
            public long getEndDate() {
                return endDate_;
            }

            /**
             * <code>optional int64 end_date = 8;</code>
             */
            public Builder setEndDate(long value) {
                bitField0_ |= 0x00000080;
                endDate_ = value;

                return this;
            }

            /**
             * <code>optional int64 end_date = 8;</code>
             */
            public Builder clearEndDate() {
                bitField0_ = (bitField0_ & ~0x00000080);
                endDate_ = 0L;

                return this;
            }

            // required string query_authorizations = 9;
            private java.lang.Object queryAuthorizations_ = "";

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public boolean hasQueryAuthorizations() {
                return ((bitField0_ & 0x00000100) == 0x00000100);
            }

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public java.lang.String getQueryAuthorizations() {
                java.lang.Object ref = queryAuthorizations_;
                if (!(ref instanceof java.lang.String)) {
                    java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
                    queryAuthorizations_ = s;
                    return s;
                } else {
                    return (java.lang.String) ref;
                }
            }

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
                java.lang.Object ref = queryAuthorizations_;
                if (ref instanceof String) {
                    com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                    queryAuthorizations_ = b;
                    return b;
                } else {
                    return (com.google.protobuf.ByteString) ref;
                }
            }

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public Builder setQueryAuthorizations(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000100;
                queryAuthorizations_ = value;

                return this;
            }

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public Builder clearQueryAuthorizations() {
                bitField0_ = (bitField0_ & ~0x00000100);
                queryAuthorizations_ = getDefaultInstance().getQueryAuthorizations();

                return this;
            }

            /**
             * <code>required string query_authorizations = 9;</code>
             */
            public Builder setQueryAuthorizationsBytes(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                bitField0_ |= 0x00000100;
                queryAuthorizations_ = value;

                return this;
            }

            // required int64 expiration_date = 10;
            private long expirationDate_;

            /**
             * <code>required int64 expiration_date = 10;</code>
             */
            public boolean hasExpirationDate() {
                return ((bitField0_ & 0x00000200) == 0x00000200);
            }

            /**
             * <code>required int64 expiration_date = 10;</code>
             */
            public long getExpirationDate() {
                return expirationDate_;
            }

            /**
             * <code>required int64 expiration_date = 10;</code>
             */
            public Builder setExpirationDate(long value) {
                bitField0_ |= 0x00000200;
                expirationDate_ = value;

                return this;
            }

            /**
             * <code>required int64 expiration_date = 10;</code>
             */
            public Builder clearExpirationDate() {
                bitField0_ = (bitField0_ & ~0x00000200);
                expirationDate_ = 0L;

                return this;
            }

            // required uint32 pagesize = 11 [default = 0];
            private int pagesize_;

            /**
             * <code>required uint32 pagesize = 11 [default = 0];</code>
             */
            public boolean hasPagesize() {
                return ((bitField0_ & 0x00000400) == 0x00000400);
            }

            /**
             * <code>required uint32 pagesize = 11 [default = 0];</code>
             */
            public int getPagesize() {
                return pagesize_;
            }

            /**
             * <code>required uint32 pagesize = 11 [default = 0];</code>
             */
            public Builder setPagesize(int value) {
                bitField0_ |= 0x00000400;
                pagesize_ = value;

                return this;
            }

            /**
             * <code>required uint32 pagesize = 11 [default = 0];</code>
             */
            public Builder clearPagesize() {
                bitField0_ = (bitField0_ & ~0x00000400);
                pagesize_ = 0;

                return this;
            }

            // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
            private java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> parameters_ = java.util.Collections.emptyList();

            private void ensureParametersIsMutable() {
                if (!((bitField0_ & 0x00000800) == 0x00000800)) {
                    parameters_ = new java.util.ArrayList<datawave.webservice.query.QueryMessages.QueryImpl.Parameter>(parameters_);
                    bitField0_ |= 0x00000800;
                }
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public java.util.List<datawave.webservice.query.QueryMessages.QueryImpl.Parameter> getParametersList() {
                return java.util.Collections.unmodifiableList(parameters_);
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public int getParametersCount() {
                return parameters_.size();
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index) {
                return parameters_.get(index);
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder setParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                ensureParametersIsMutable();
                parameters_.set(index, value);

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder setParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
                ensureParametersIsMutable();
                parameters_.set(index, builderForValue.build());

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder addParameters(datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                ensureParametersIsMutable();
                parameters_.add(value);

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder addParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                ensureParametersIsMutable();
                parameters_.add(index, value);

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder addParameters(datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
                ensureParametersIsMutable();
                parameters_.add(builderForValue.build());

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder addParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
                ensureParametersIsMutable();
                parameters_.add(index, builderForValue.build());

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder addAllParameters(java.lang.Iterable<? extends datawave.webservice.query.QueryMessages.QueryImpl.Parameter> values) {
                ensureParametersIsMutable();
                super.addAll(values, parameters_);

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder clearParameters() {
                parameters_ = java.util.Collections.emptyList();
                bitField0_ = (bitField0_ & ~0x00000800);

                return this;
            }

            /**
             * <code>repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;</code>
             */
            public Builder removeParameters(int index) {
                ensureParametersIsMutable();
                parameters_.remove(index);

                return this;
            }

            // @@protoc_insertion_point(builder_scope:datawave.webservice.query.QueryImpl)
        }

        static {
            defaultInstance = new QueryImpl(true);
            defaultInstance.initFields();
        }

        // @@protoc_insertion_point(class_scope:datawave.webservice.query.QueryImpl)
    }

    static {}

    // @@protoc_insertion_point(outer_class_scope)
}
