All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol Maven / Gradle / Ivy

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

package com.alachisoft.ncache.common.protobuf;

public final class ObjectQueryInfoProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\025ObjectQueryInfo.proto\022%com.alachisoft." +
                        "ncache.common.protobuf\032\017QueryInfo.proto\032" +
                        "\rTagInfo.proto\032\022NamedTagInfo.proto\"\342\001\n\017O" +
                        "bjectQueryInfo\022I\n\014namedTagInfo\030\001 \001(\01323.c" +
                        "om.alachisoft.ncache.common.protobuf.Nam" +
                        "edTagInfo\022?\n\007tagInfo\030\002 \001(\0132..com.alachis" +
                        "oft.ncache.common.protobuf.TagInfo\022C\n\tqu" +
                        "eryInfo\030\003 \001(\01320.com.alachisoft.ncache.co" +
                        "mmon.protobuf.QueryInfoB\031B\027ObjectQueryIn" +
                        "foProtocol"
        };
        com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
                new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
                    public com.google.protobuf.ExtensionRegistry assignDescriptors(
                            com.google.protobuf.Descriptors.FileDescriptor root) {
                        descriptor = root;
                        internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_descriptor,
                                new java.lang.String[]{"NamedTagInfo", "TagInfo", "QueryInfo",},
                                com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.class,
                                com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.TagInfoProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.getDescriptor(),
                        }, assigner);
    }
    private ObjectQueryInfoProtocol() {
    }

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

    public static com.google.protobuf.Descriptors.FileDescriptor
    getDescriptor() {
        return descriptor;
    }

    public static void internalForceInit() {
    }

    public static final class ObjectQueryInfo extends
            com.google.protobuf.GeneratedMessage {
        // optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 1;
        public static final int NAMEDTAGINFO_FIELD_NUMBER = 1;
        // optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 2;
        public static final int TAGINFO_FIELD_NUMBER = 2;
        // optional .com.alachisoft.ncache.common.protobuf.QueryInfo queryInfo = 3;
        public static final int QUERYINFO_FIELD_NUMBER = 3;
        private static final ObjectQueryInfo defaultInstance;

        static {
            defaultInstance = new ObjectQueryInfo(true);
            com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.internalForceInit();
            defaultInstance.initFields();
        }

        private boolean hasNamedTagInfo;
        private com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo namedTagInfo_;
        private boolean hasTagInfo;
        private com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo tagInfo_;
        private boolean hasQueryInfo;
        private com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo queryInfo_;
        private int memoizedSerializedSize = -1;

        // Use ObjectQueryInfo.newBuilder() to construct.
        private ObjectQueryInfo() {
            initFields();
        }
        private ObjectQueryInfo(boolean noInit) {
        }

        public static ObjectQueryInfo getDefaultInstance() {
            return defaultInstance;
        }

        public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
            return com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_descriptor;
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                com.google.protobuf.ByteString data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                com.google.protobuf.ByteString data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                byte[] data,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseDelimitedFrom(java.io.InputStream input)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseDelimitedFrom(
                java.io.InputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            Builder builder = newBuilder();
            if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
                return builder.buildParsed();
            } else {
                return null;
            }
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo parseFrom(
                com.google.protobuf.CodedInputStream input,
                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input, extensionRegistry)
                    .buildParsed();
        }

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

        public static Builder newBuilder(com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo prototype) {
            return newBuilder().mergeFrom(prototype);
        }

        public ObjectQueryInfo getDefaultInstanceForType() {
            return defaultInstance;
        }

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
            return com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.internal_static_com_alachisoft_ncache_common_protobuf_ObjectQueryInfo_fieldAccessorTable;
        }

        public boolean hasNamedTagInfo() {
            return hasNamedTagInfo;
        }

        public com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo getNamedTagInfo() {
            return namedTagInfo_;
        }

        public boolean hasTagInfo() {
            return hasTagInfo;
        }

        public com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo getTagInfo() {
            return tagInfo_;
        }

        public boolean hasQueryInfo() {
            return hasQueryInfo;
        }

        public com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo getQueryInfo() {
            return queryInfo_;
        }

        private void initFields() {
            namedTagInfo_ = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance();
            tagInfo_ = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance();
            queryInfo_ = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance();
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasNamedTagInfo()) {
                output.writeMessage(1, getNamedTagInfo());
            }
            if (hasTagInfo()) {
                output.writeMessage(2, getTagInfo());
            }
            if (hasQueryInfo()) {
                output.writeMessage(3, getQueryInfo());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasNamedTagInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(1, getNamedTagInfo());
            }
            if (hasTagInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(2, getTagInfo());
            }
            if (hasQueryInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(3, getQueryInfo());
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSerializedSize = size;
            return size;
        }

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

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

        public static final class Builder extends
                com.google.protobuf.GeneratedMessage.Builder {
            private com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo result;

            // Construct using com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.newBuilder()
            private Builder() {
            }

            private static Builder create() {
                Builder builder = new Builder();
                builder.result = new com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo();
                return builder;
            }

            protected com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo internalGetResult() {
                return result;
            }

            public Builder clear() {
                if (result == null) {
                    throw new IllegalStateException(
                            "Cannot call clear() after build().");
                }
                result = new com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo();
                return this;
            }

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

            public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
                return com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDescriptor();
            }

            public com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDefaultInstance();
            }

            public boolean isInitialized() {
                return result.isInitialized();
            }

            public com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo build() {
                if (result != null && !isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return buildPartial();
            }

            private com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo buildParsed()
                    throws com.google.protobuf.InvalidProtocolBufferException {
                if (!isInitialized()) {
                    throw newUninitializedMessageException(
                            result).asInvalidProtocolBufferException();
                }
                return buildPartial();
            }

            public com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo buildPartial() {
                if (result == null) {
                    throw new IllegalStateException(
                            "build() has already been called on this Builder.");
                }
                com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo returnMe = result;
                result = null;
                return returnMe;
            }

            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo) {
                    return mergeFrom((com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo) other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo other) {
                if (other == com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDefaultInstance())
                    return this;
                if (other.hasNamedTagInfo()) {
                    mergeNamedTagInfo(other.getNamedTagInfo());
                }
                if (other.hasTagInfo()) {
                    mergeTagInfo(other.getTagInfo());
                }
                if (other.hasQueryInfo()) {
                    mergeQueryInfo(other.getQueryInfo());
                }
                this.mergeUnknownFields(other.getUnknownFields());
                return this;
            }

            public Builder mergeFrom(
                    com.google.protobuf.CodedInputStream input,
                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                    throws java.io.IOException {
                com.google.protobuf.UnknownFieldSet.Builder unknownFields =
                        com.google.protobuf.UnknownFieldSet.newBuilder(
                                this.getUnknownFields());
                while (true) {
                    int tag = input.readTag();
                    switch (tag) {
                        case 0:
                            this.setUnknownFields(unknownFields.build());
                            return this;
                        default: {
                            if (!parseUnknownField(input, unknownFields,
                                    extensionRegistry, tag)) {
                                this.setUnknownFields(unknownFields.build());
                                return this;
                            }
                            break;
                        }
                        case 10: {
                            com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.newBuilder();
                            if (hasNamedTagInfo()) {
                                subBuilder.mergeFrom(getNamedTagInfo());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setNamedTagInfo(subBuilder.buildPartial());
                            break;
                        }
                        case 18: {
                            com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.newBuilder();
                            if (hasTagInfo()) {
                                subBuilder.mergeFrom(getTagInfo());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setTagInfo(subBuilder.buildPartial());
                            break;
                        }
                        case 26: {
                            com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.newBuilder();
                            if (hasQueryInfo()) {
                                subBuilder.mergeFrom(getQueryInfo());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setQueryInfo(subBuilder.buildPartial());
                            break;
                        }
                    }
                }
            }


            // optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 1;
            public boolean hasNamedTagInfo() {
                return result.hasNamedTagInfo();
            }

            public com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo getNamedTagInfo() {
                return result.getNamedTagInfo();
            }

            public Builder setNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasNamedTagInfo = true;
                result.namedTagInfo_ = value;
                return this;
            }

            public Builder setNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.Builder builderForValue) {
                result.hasNamedTagInfo = true;
                result.namedTagInfo_ = builderForValue.build();
                return this;
            }

            public Builder mergeNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo value) {
                if (result.hasNamedTagInfo() &&
                        result.namedTagInfo_ != com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance()) {
                    result.namedTagInfo_ =
                            com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.newBuilder(result.namedTagInfo_).mergeFrom(value).buildPartial();
                } else {
                    result.namedTagInfo_ = value;
                }
                result.hasNamedTagInfo = true;
                return this;
            }

            public Builder clearNamedTagInfo() {
                result.hasNamedTagInfo = false;
                result.namedTagInfo_ = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 2;
            public boolean hasTagInfo() {
                return result.hasTagInfo();
            }

            public com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo getTagInfo() {
                return result.getTagInfo();
            }

            public Builder setTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasTagInfo = true;
                result.tagInfo_ = value;
                return this;
            }

            public Builder setTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.Builder builderForValue) {
                result.hasTagInfo = true;
                result.tagInfo_ = builderForValue.build();
                return this;
            }

            public Builder mergeTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo value) {
                if (result.hasTagInfo() &&
                        result.tagInfo_ != com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance()) {
                    result.tagInfo_ =
                            com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.newBuilder(result.tagInfo_).mergeFrom(value).buildPartial();
                } else {
                    result.tagInfo_ = value;
                }
                result.hasTagInfo = true;
                return this;
            }

            public Builder clearTagInfo() {
                result.hasTagInfo = false;
                result.tagInfo_ = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.QueryInfo queryInfo = 3;
            public boolean hasQueryInfo() {
                return result.hasQueryInfo();
            }

            public com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo getQueryInfo() {
                return result.getQueryInfo();
            }

            public Builder setQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasQueryInfo = true;
                result.queryInfo_ = value;
                return this;
            }

            public Builder setQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.Builder builderForValue) {
                result.hasQueryInfo = true;
                result.queryInfo_ = builderForValue.build();
                return this;
            }

            public Builder mergeQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo value) {
                if (result.hasQueryInfo() &&
                        result.queryInfo_ != com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance()) {
                    result.queryInfo_ =
                            com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.newBuilder(result.queryInfo_).mergeFrom(value).buildPartial();
                } else {
                    result.queryInfo_ = value;
                }
                result.hasQueryInfo = true;
                return this;
            }

            public Builder clearQueryInfo() {
                result.hasQueryInfo = false;
                result.queryInfo_ = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance();
                return this;
            }

            // @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.ObjectQueryInfo)
        }

        // @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.ObjectQueryInfo)
    }

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy