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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class DumpCacheItemProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_DumpCacheItem_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_DumpCacheItem_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\023DumpCacheItem.proto\022%com.alachisoft.nc" +
                        "ache.common.protobuf\032\rTagInfo.proto\032\020Dep" +
                        "endency.proto\032\022NamedTagInfo.proto\032\020Modul" +
                        "eInfo.proto\"\312\004\n\rDumpCacheItem\022\021\n\tlockTic" +
                        "ks\030\001 \001(\003\022\020\n\010priority\030\002 \001(\005\022\022\n\nhasExpired" +
                        "\030\003 \001(\010\022\023\n\013needsResync\030\004 \001(\010\022\016\n\006absExp\030\005 " +
                        "\001(\003\022\016\n\006sldExp\030\006 \001(\003\022\014\n\004flag\030\007 \001(\005\022\017\n\007ver" +
                        "sion\030\010 \001(\004\022\024\n\014creationTime\030\t \001(\003\022\r\n\005grou" +
                        "p\030\n \001(\t\022\020\n\010subGroup\030\013 \001(\t\022?\n\007tagInfo\030\014 \001" +
                        "(\0132..com.alachisoft.ncache.common.protob",
                "uf.TagInfo\022E\n\ndependency\030\r \001(\01321.com.ala" +
                        "chisoft.ncache.common.protobuf.Dependenc" +
                        "y\022I\n\014namedTagInfo\030\016 \001(\01323.com.alachisoft" +
                        ".ncache.common.protobuf.NamedTagInfo\022\013\n\003" +
                        "key\030\017 \001(\t\022\024\n\014remainingabs\030\020 \001(\003\022\020\n\010provi" +
                        "der\030\021 \001(\t\022\020\n\010onevalue\030\022 \001(\014\022\024\n\014isModuleD" +
                        "ata\030\023 \001(\010\022E\n\nmoduleInfo\030\024 \001(\01321.com.alac" +
                        "hisoft.ncache.common.protobuf.ModuleInfo" +
                        "B\027B\025DumpCacheItemProtocol"
        };
        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_DumpCacheItem_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_DumpCacheItem_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_DumpCacheItem_descriptor,
                                new java.lang.String[]{"LockTicks", "Priority", "HasExpired", "NeedsResync", "AbsExp", "SldExp", "Flag", "Version", "CreationTime", "Group", "SubGroup", "TagInfo", "Dependency", "NamedTagInfo", "Key", "Remainingabs", "Provider", "Onevalue", "IsModuleData", "ModuleInfo",},
                                com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem.class,
                                com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.TagInfoProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.DependencyProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.getDescriptor(),
                        }, assigner);
    }
    private DumpCacheItemProtocol() {
    }

    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 DumpCacheItem extends
            com.google.protobuf.GeneratedMessage {
        // optional int64 lockTicks = 1;
        public static final int LOCKTICKS_FIELD_NUMBER = 1;
        // optional int32 priority = 2;
        public static final int PRIORITY_FIELD_NUMBER = 2;
        // optional bool hasExpired = 3;
        public static final int HASEXPIRED_FIELD_NUMBER = 3;
        // optional bool needsResync = 4;
        public static final int NEEDSRESYNC_FIELD_NUMBER = 4;
        // optional int64 absExp = 5;
        public static final int ABSEXP_FIELD_NUMBER = 5;
        // optional int64 sldExp = 6;
        public static final int SLDEXP_FIELD_NUMBER = 6;
        // optional int32 flag = 7;
        public static final int FLAG_FIELD_NUMBER = 7;
        // optional uint64 version = 8;
        public static final int VERSION_FIELD_NUMBER = 8;
        // optional int64 creationTime = 9;
        public static final int CREATIONTIME_FIELD_NUMBER = 9;
        // optional string group = 10;
        public static final int GROUP_FIELD_NUMBER = 10;
        // optional string subGroup = 11;
        public static final int SUBGROUP_FIELD_NUMBER = 11;
        // optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 12;
        public static final int TAGINFO_FIELD_NUMBER = 12;
        // optional .com.alachisoft.ncache.common.protobuf.Dependency dependency = 13;
        public static final int DEPENDENCY_FIELD_NUMBER = 13;
        // optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 14;
        public static final int NAMEDTAGINFO_FIELD_NUMBER = 14;
        // optional string key = 15;
        public static final int KEY_FIELD_NUMBER = 15;
        // optional int64 remainingabs = 16;
        public static final int REMAININGABS_FIELD_NUMBER = 16;
        // optional string provider = 17;
        public static final int PROVIDER_FIELD_NUMBER = 17;
        // optional bytes onevalue = 18;
        public static final int ONEVALUE_FIELD_NUMBER = 18;
        // optional bool isModuleData = 19;
        public static final int ISMODULEDATA_FIELD_NUMBER = 19;
        // optional .com.alachisoft.ncache.common.protobuf.ModuleInfo moduleInfo = 20;
        public static final int MODULEINFO_FIELD_NUMBER = 20;
        private static final DumpCacheItem defaultInstance;

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

        private boolean hasLockTicks;
        private long lockTicks_ = 0L;
        private boolean hasPriority;
        private int priority_ = 0;
        private boolean hasHasExpired;
        private boolean hasExpired_ = false;
        private boolean hasNeedsResync;
        private boolean needsResync_ = false;
        private boolean hasAbsExp;
        private long absExp_ = 0L;
        private boolean hasSldExp;
        private long sldExp_ = 0L;
        private boolean hasFlag;
        private int flag_ = 0;
        private boolean hasVersion;
        private long version_ = 0L;
        private boolean hasCreationTime;
        private long creationTime_ = 0L;
        private boolean hasGroup;
        private java.lang.String group_ = "";
        private boolean hasSubGroup;
        private java.lang.String subGroup_ = "";
        private boolean hasTagInfo;
        private com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo tagInfo_;
        private boolean hasDependency;
        private com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency dependency_;
        private boolean hasNamedTagInfo;
        private com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo namedTagInfo_;
        private boolean hasKey;
        private java.lang.String key_ = "";
        private boolean hasRemainingabs;
        private long remainingabs_ = 0L;
        private boolean hasProvider;
        private java.lang.String provider_ = "";
        private boolean hasOnevalue;
        private com.google.protobuf.ByteString onevalue_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasIsModuleData;
        private boolean isModuleData_ = false;
        private boolean hasModuleInfo;
        private com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo moduleInfo_;
        private int memoizedSerializedSize = -1;
        // Use DumpCacheItem.newBuilder() to construct.
        private DumpCacheItem() {
            initFields();
        }
        private DumpCacheItem(boolean noInit) {
        }

        public static DumpCacheItem getDefaultInstance() {
            return defaultInstance;
        }

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

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

        public static com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem parseFrom(byte[] data)
                throws com.google.protobuf.InvalidProtocolBufferException {
            return newBuilder().mergeFrom(data).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem parseFrom(java.io.InputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem parseFrom(
                com.google.protobuf.CodedInputStream input)
                throws java.io.IOException {
            return newBuilder().mergeFrom(input).buildParsed();
        }

        public static com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem 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.DumpCacheItemProtocol.DumpCacheItem prototype) {
            return newBuilder().mergeFrom(prototype);
        }

        public DumpCacheItem getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasLockTicks() {
            return hasLockTicks;
        }

        public long getLockTicks() {
            return lockTicks_;
        }

        public boolean hasPriority() {
            return hasPriority;
        }

        public int getPriority() {
            return priority_;
        }

        public boolean hasHasExpired() {
            return hasHasExpired;
        }

        public boolean getHasExpired() {
            return hasExpired_;
        }

        public boolean hasNeedsResync() {
            return hasNeedsResync;
        }

        public boolean getNeedsResync() {
            return needsResync_;
        }

        public boolean hasAbsExp() {
            return hasAbsExp;
        }

        public long getAbsExp() {
            return absExp_;
        }

        public boolean hasSldExp() {
            return hasSldExp;
        }

        public long getSldExp() {
            return sldExp_;
        }

        public boolean hasFlag() {
            return hasFlag;
        }

        public int getFlag() {
            return flag_;
        }

        public boolean hasVersion() {
            return hasVersion;
        }

        public long getVersion() {
            return version_;
        }

        public boolean hasCreationTime() {
            return hasCreationTime;
        }

        public long getCreationTime() {
            return creationTime_;
        }

        public boolean hasGroup() {
            return hasGroup;
        }

        public java.lang.String getGroup() {
            return group_;
        }

        public boolean hasSubGroup() {
            return hasSubGroup;
        }

        public java.lang.String getSubGroup() {
            return subGroup_;
        }

        public boolean hasTagInfo() {
            return hasTagInfo;
        }

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

        public boolean hasDependency() {
            return hasDependency;
        }

        public com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency getDependency() {
            return dependency_;
        }

        public boolean hasNamedTagInfo() {
            return hasNamedTagInfo;
        }

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

        public boolean hasKey() {
            return hasKey;
        }

        public java.lang.String getKey() {
            return key_;
        }

        public boolean hasRemainingabs() {
            return hasRemainingabs;
        }

        public long getRemainingabs() {
            return remainingabs_;
        }

        public boolean hasProvider() {
            return hasProvider;
        }

        public java.lang.String getProvider() {
            return provider_;
        }

        public boolean hasOnevalue() {
            return hasOnevalue;
        }

        public com.google.protobuf.ByteString getOnevalue() {
            return onevalue_;
        }

        public boolean hasIsModuleData() {
            return hasIsModuleData;
        }

        public boolean getIsModuleData() {
            return isModuleData_;
        }

        public boolean hasModuleInfo() {
            return hasModuleInfo;
        }

        public com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo getModuleInfo() {
            return moduleInfo_;
        }

        private void initFields() {
            tagInfo_ = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance();
            dependency_ = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance();
            namedTagInfo_ = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance();
            moduleInfo_ = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance();
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasLockTicks()) {
                output.writeInt64(1, getLockTicks());
            }
            if (hasPriority()) {
                output.writeInt32(2, getPriority());
            }
            if (hasHasExpired()) {
                output.writeBool(3, getHasExpired());
            }
            if (hasNeedsResync()) {
                output.writeBool(4, getNeedsResync());
            }
            if (hasAbsExp()) {
                output.writeInt64(5, getAbsExp());
            }
            if (hasSldExp()) {
                output.writeInt64(6, getSldExp());
            }
            if (hasFlag()) {
                output.writeInt32(7, getFlag());
            }
            if (hasVersion()) {
                output.writeUInt64(8, getVersion());
            }
            if (hasCreationTime()) {
                output.writeInt64(9, getCreationTime());
            }
            if (hasGroup()) {
                output.writeString(10, getGroup());
            }
            if (hasSubGroup()) {
                output.writeString(11, getSubGroup());
            }
            if (hasTagInfo()) {
                output.writeMessage(12, getTagInfo());
            }
            if (hasDependency()) {
                output.writeMessage(13, getDependency());
            }
            if (hasNamedTagInfo()) {
                output.writeMessage(14, getNamedTagInfo());
            }
            if (hasKey()) {
                output.writeString(15, getKey());
            }
            if (hasRemainingabs()) {
                output.writeInt64(16, getRemainingabs());
            }
            if (hasProvider()) {
                output.writeString(17, getProvider());
            }
            if (hasOnevalue()) {
                output.writeBytes(18, getOnevalue());
            }
            if (hasIsModuleData()) {
                output.writeBool(19, getIsModuleData());
            }
            if (hasModuleInfo()) {
                output.writeMessage(20, getModuleInfo());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasLockTicks()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(1, getLockTicks());
            }
            if (hasPriority()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(2, getPriority());
            }
            if (hasHasExpired()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBoolSize(3, getHasExpired());
            }
            if (hasNeedsResync()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBoolSize(4, getNeedsResync());
            }
            if (hasAbsExp()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(5, getAbsExp());
            }
            if (hasSldExp()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(6, getSldExp());
            }
            if (hasFlag()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(7, getFlag());
            }
            if (hasVersion()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeUInt64Size(8, getVersion());
            }
            if (hasCreationTime()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(9, getCreationTime());
            }
            if (hasGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(10, getGroup());
            }
            if (hasSubGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(11, getSubGroup());
            }
            if (hasTagInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(12, getTagInfo());
            }
            if (hasDependency()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(13, getDependency());
            }
            if (hasNamedTagInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(14, getNamedTagInfo());
            }
            if (hasKey()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(15, getKey());
            }
            if (hasRemainingabs()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(16, getRemainingabs());
            }
            if (hasProvider()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(17, getProvider());
            }
            if (hasOnevalue()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(18, getOnevalue());
            }
            if (hasIsModuleData()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBoolSize(19, getIsModuleData());
            }
            if (hasModuleInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(20, getModuleInfo());
            }
            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.DumpCacheItemProtocol.DumpCacheItem result;

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

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

            protected com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem other) {
                if (other == com.alachisoft.ncache.common.protobuf.DumpCacheItemProtocol.DumpCacheItem.getDefaultInstance())
                    return this;
                if (other.hasLockTicks()) {
                    setLockTicks(other.getLockTicks());
                }
                if (other.hasPriority()) {
                    setPriority(other.getPriority());
                }
                if (other.hasHasExpired()) {
                    setHasExpired(other.getHasExpired());
                }
                if (other.hasNeedsResync()) {
                    setNeedsResync(other.getNeedsResync());
                }
                if (other.hasAbsExp()) {
                    setAbsExp(other.getAbsExp());
                }
                if (other.hasSldExp()) {
                    setSldExp(other.getSldExp());
                }
                if (other.hasFlag()) {
                    setFlag(other.getFlag());
                }
                if (other.hasVersion()) {
                    setVersion(other.getVersion());
                }
                if (other.hasCreationTime()) {
                    setCreationTime(other.getCreationTime());
                }
                if (other.hasGroup()) {
                    setGroup(other.getGroup());
                }
                if (other.hasSubGroup()) {
                    setSubGroup(other.getSubGroup());
                }
                if (other.hasTagInfo()) {
                    mergeTagInfo(other.getTagInfo());
                }
                if (other.hasDependency()) {
                    mergeDependency(other.getDependency());
                }
                if (other.hasNamedTagInfo()) {
                    mergeNamedTagInfo(other.getNamedTagInfo());
                }
                if (other.hasKey()) {
                    setKey(other.getKey());
                }
                if (other.hasRemainingabs()) {
                    setRemainingabs(other.getRemainingabs());
                }
                if (other.hasProvider()) {
                    setProvider(other.getProvider());
                }
                if (other.hasOnevalue()) {
                    setOnevalue(other.getOnevalue());
                }
                if (other.hasIsModuleData()) {
                    setIsModuleData(other.getIsModuleData());
                }
                if (other.hasModuleInfo()) {
                    mergeModuleInfo(other.getModuleInfo());
                }
                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 8: {
                            setLockTicks(input.readInt64());
                            break;
                        }
                        case 16: {
                            setPriority(input.readInt32());
                            break;
                        }
                        case 24: {
                            setHasExpired(input.readBool());
                            break;
                        }
                        case 32: {
                            setNeedsResync(input.readBool());
                            break;
                        }
                        case 40: {
                            setAbsExp(input.readInt64());
                            break;
                        }
                        case 48: {
                            setSldExp(input.readInt64());
                            break;
                        }
                        case 56: {
                            setFlag(input.readInt32());
                            break;
                        }
                        case 64: {
                            setVersion(input.readUInt64());
                            break;
                        }
                        case 72: {
                            setCreationTime(input.readInt64());
                            break;
                        }
                        case 82: {
                            setGroup(input.readString());
                            break;
                        }
                        case 90: {
                            setSubGroup(input.readString());
                            break;
                        }
                        case 98: {
                            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 106: {
                            com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.Builder subBuilder = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.newBuilder();
                            if (hasDependency()) {
                                subBuilder.mergeFrom(getDependency());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setDependency(subBuilder.buildPartial());
                            break;
                        }
                        case 114: {
                            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 122: {
                            setKey(input.readString());
                            break;
                        }
                        case 128: {
                            setRemainingabs(input.readInt64());
                            break;
                        }
                        case 138: {
                            setProvider(input.readString());
                            break;
                        }
                        case 146: {
                            setOnevalue(input.readBytes());
                            break;
                        }
                        case 152: {
                            setIsModuleData(input.readBool());
                            break;
                        }
                        case 162: {
                            com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.newBuilder();
                            if (hasModuleInfo()) {
                                subBuilder.mergeFrom(getModuleInfo());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setModuleInfo(subBuilder.buildPartial());
                            break;
                        }
                    }
                }
            }


            // optional int64 lockTicks = 1;
            public boolean hasLockTicks() {
                return result.hasLockTicks();
            }

            public long getLockTicks() {
                return result.getLockTicks();
            }

            public Builder setLockTicks(long value) {
                result.hasLockTicks = true;
                result.lockTicks_ = value;
                return this;
            }

            public Builder clearLockTicks() {
                result.hasLockTicks = false;
                result.lockTicks_ = 0L;
                return this;
            }

            // optional int32 priority = 2;
            public boolean hasPriority() {
                return result.hasPriority();
            }

            public int getPriority() {
                return result.getPriority();
            }

            public Builder setPriority(int value) {
                result.hasPriority = true;
                result.priority_ = value;
                return this;
            }

            public Builder clearPriority() {
                result.hasPriority = false;
                result.priority_ = 0;
                return this;
            }

            // optional bool hasExpired = 3;
            public boolean hasHasExpired() {
                return result.hasHasExpired();
            }

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

            public Builder setHasExpired(boolean value) {
                result.hasHasExpired = true;
                result.hasExpired_ = value;
                return this;
            }

            public Builder clearHasExpired() {
                result.hasHasExpired = false;
                result.hasExpired_ = false;
                return this;
            }

            // optional bool needsResync = 4;
            public boolean hasNeedsResync() {
                return result.hasNeedsResync();
            }

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

            public Builder setNeedsResync(boolean value) {
                result.hasNeedsResync = true;
                result.needsResync_ = value;
                return this;
            }

            public Builder clearNeedsResync() {
                result.hasNeedsResync = false;
                result.needsResync_ = false;
                return this;
            }

            // optional int64 absExp = 5;
            public boolean hasAbsExp() {
                return result.hasAbsExp();
            }

            public long getAbsExp() {
                return result.getAbsExp();
            }

            public Builder setAbsExp(long value) {
                result.hasAbsExp = true;
                result.absExp_ = value;
                return this;
            }

            public Builder clearAbsExp() {
                result.hasAbsExp = false;
                result.absExp_ = 0L;
                return this;
            }

            // optional int64 sldExp = 6;
            public boolean hasSldExp() {
                return result.hasSldExp();
            }

            public long getSldExp() {
                return result.getSldExp();
            }

            public Builder setSldExp(long value) {
                result.hasSldExp = true;
                result.sldExp_ = value;
                return this;
            }

            public Builder clearSldExp() {
                result.hasSldExp = false;
                result.sldExp_ = 0L;
                return this;
            }

            // optional int32 flag = 7;
            public boolean hasFlag() {
                return result.hasFlag();
            }

            public int getFlag() {
                return result.getFlag();
            }

            public Builder setFlag(int value) {
                result.hasFlag = true;
                result.flag_ = value;
                return this;
            }

            public Builder clearFlag() {
                result.hasFlag = false;
                result.flag_ = 0;
                return this;
            }

            // optional uint64 version = 8;
            public boolean hasVersion() {
                return result.hasVersion();
            }

            public long getVersion() {
                return result.getVersion();
            }

            public Builder setVersion(long value) {
                result.hasVersion = true;
                result.version_ = value;
                return this;
            }

            public Builder clearVersion() {
                result.hasVersion = false;
                result.version_ = 0L;
                return this;
            }

            // optional int64 creationTime = 9;
            public boolean hasCreationTime() {
                return result.hasCreationTime();
            }

            public long getCreationTime() {
                return result.getCreationTime();
            }

            public Builder setCreationTime(long value) {
                result.hasCreationTime = true;
                result.creationTime_ = value;
                return this;
            }

            public Builder clearCreationTime() {
                result.hasCreationTime = false;
                result.creationTime_ = 0L;
                return this;
            }

            // optional string group = 10;
            public boolean hasGroup() {
                return result.hasGroup();
            }

            public java.lang.String getGroup() {
                return result.getGroup();
            }

            public Builder setGroup(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasGroup = true;
                result.group_ = value;
                return this;
            }

            public Builder clearGroup() {
                result.hasGroup = false;
                result.group_ = getDefaultInstance().getGroup();
                return this;
            }

            // optional string subGroup = 11;
            public boolean hasSubGroup() {
                return result.hasSubGroup();
            }

            public java.lang.String getSubGroup() {
                return result.getSubGroup();
            }

            public Builder setSubGroup(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasSubGroup = true;
                result.subGroup_ = value;
                return this;
            }

            public Builder clearSubGroup() {
                result.hasSubGroup = false;
                result.subGroup_ = getDefaultInstance().getSubGroup();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 12;
            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.Dependency dependency = 13;
            public boolean hasDependency() {
                return result.hasDependency();
            }

            public com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency getDependency() {
                return result.getDependency();
            }

            public Builder setDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasDependency = true;
                result.dependency_ = value;
                return this;
            }

            public Builder setDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.Builder builderForValue) {
                result.hasDependency = true;
                result.dependency_ = builderForValue.build();
                return this;
            }

            public Builder mergeDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency value) {
                if (result.hasDependency() &&
                        result.dependency_ != com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance()) {
                    result.dependency_ =
                            com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.newBuilder(result.dependency_).mergeFrom(value).buildPartial();
                } else {
                    result.dependency_ = value;
                }
                result.hasDependency = true;
                return this;
            }

            public Builder clearDependency() {
                result.hasDependency = false;
                result.dependency_ = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 14;
            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 string key = 15;
            public boolean hasKey() {
                return result.hasKey();
            }

            public java.lang.String getKey() {
                return result.getKey();
            }

            public Builder setKey(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasKey = true;
                result.key_ = value;
                return this;
            }

            public Builder clearKey() {
                result.hasKey = false;
                result.key_ = getDefaultInstance().getKey();
                return this;
            }

            // optional int64 remainingabs = 16;
            public boolean hasRemainingabs() {
                return result.hasRemainingabs();
            }

            public long getRemainingabs() {
                return result.getRemainingabs();
            }

            public Builder setRemainingabs(long value) {
                result.hasRemainingabs = true;
                result.remainingabs_ = value;
                return this;
            }

            public Builder clearRemainingabs() {
                result.hasRemainingabs = false;
                result.remainingabs_ = 0L;
                return this;
            }

            // optional string provider = 17;
            public boolean hasProvider() {
                return result.hasProvider();
            }

            public java.lang.String getProvider() {
                return result.getProvider();
            }

            public Builder setProvider(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasProvider = true;
                result.provider_ = value;
                return this;
            }

            public Builder clearProvider() {
                result.hasProvider = false;
                result.provider_ = getDefaultInstance().getProvider();
                return this;
            }

            // optional bytes onevalue = 18;
            public boolean hasOnevalue() {
                return result.hasOnevalue();
            }

            public com.google.protobuf.ByteString getOnevalue() {
                return result.getOnevalue();
            }

            public Builder setOnevalue(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasOnevalue = true;
                result.onevalue_ = value;
                return this;
            }

            public Builder clearOnevalue() {
                result.hasOnevalue = false;
                result.onevalue_ = getDefaultInstance().getOnevalue();
                return this;
            }

            // optional bool isModuleData = 19;
            public boolean hasIsModuleData() {
                return result.hasIsModuleData();
            }

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

            public Builder setIsModuleData(boolean value) {
                result.hasIsModuleData = true;
                result.isModuleData_ = value;
                return this;
            }

            public Builder clearIsModuleData() {
                result.hasIsModuleData = false;
                result.isModuleData_ = false;
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ModuleInfo moduleInfo = 20;
            public boolean hasModuleInfo() {
                return result.hasModuleInfo();
            }

            public com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo getModuleInfo() {
                return result.getModuleInfo();
            }

            public Builder setModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasModuleInfo = true;
                result.moduleInfo_ = value;
                return this;
            }

            public Builder setModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.Builder builderForValue) {
                result.hasModuleInfo = true;
                result.moduleInfo_ = builderForValue.build();
                return this;
            }

            public Builder mergeModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo value) {
                if (result.hasModuleInfo() &&
                        result.moduleInfo_ != com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance()) {
                    result.moduleInfo_ =
                            com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.newBuilder(result.moduleInfo_).mergeFrom(value).buildPartial();
                } else {
                    result.moduleInfo_ = value;
                }
                result.hasModuleInfo = true;
                return this;
            }

            public Builder clearModuleInfo() {
                result.hasModuleInfo = false;
                result.moduleInfo_ = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance();
                return this;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy