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

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

There is a newer version: 5.3.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: EventCacheItem.proto

package com.alachisoft.ncache.common.protobuf;

public final class EventCacheItemCommandProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_EventCacheItem_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_EventCacheItem_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\024EventCacheItem.proto\022%com.alachisoft.n" +
                        "cache.common.protobuf\032\023CacheItemType.pro" +
                        "to\"\214\002\n\016EventCacheItem\022\r\n\005value\030\001 \003(\014\022\032\n\022" +
                        "resyncExpiredItems\030\002 \001(\010\022\032\n\022resyncProvid" +
                        "erName\030\003 \001(\t\022\r\n\005group\030\004 \001(\t\022\020\n\010subGroup\030" +
                        "\005 \001(\t\022\023\n\013itemVersion\030\006 \001(\004\022\020\n\010priority\030\007" +
                        " \001(\005\022Z\n\010itemType\030\010 \001(\0162=.com.alachisoft." +
                        "ncache.common.protobuf.CacheItemType.Ite" +
                        "mType:\tCACHEITEM\022\017\n\007flagMap\030\t \001(\005B\037B\035Eve" +
                        "ntCacheItemCommandProtocol"
        };
        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_EventCacheItem_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_EventCacheItem_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_EventCacheItem_descriptor,
                                new java.lang.String[]{"Value", "ResyncExpiredItems", "ResyncProviderName", "Group", "SubGroup", "ItemVersion", "Priority", "ItemType", "FlagMap",},
                                com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem.class,
                                com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.getDescriptor(),
                        }, assigner);
    }
    private EventCacheItemCommandProtocol() {
    }

    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 EventCacheItem extends
            com.google.protobuf.GeneratedMessage {
        // repeated bytes value = 1;
        public static final int VALUE_FIELD_NUMBER = 1;
        // optional bool resyncExpiredItems = 2;
        public static final int RESYNCEXPIREDITEMS_FIELD_NUMBER = 2;
        // optional string resyncProviderName = 3;
        public static final int RESYNCPROVIDERNAME_FIELD_NUMBER = 3;
        // optional string group = 4;
        public static final int GROUP_FIELD_NUMBER = 4;
        // optional string subGroup = 5;
        public static final int SUBGROUP_FIELD_NUMBER = 5;
        // optional uint64 itemVersion = 6;
        public static final int ITEMVERSION_FIELD_NUMBER = 6;
        // optional int32 priority = 7;
        public static final int PRIORITY_FIELD_NUMBER = 7;
        // optional .com.alachisoft.ncache.common.protobuf.CacheItemType.ItemType itemType = 8 [default = CACHEITEM];
        public static final int ITEMTYPE_FIELD_NUMBER = 8;
        // optional int32 flagMap = 9;
        public static final int FLAGMAP_FIELD_NUMBER = 9;
        private static final EventCacheItem defaultInstance;

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

        private java.util.List value_ =
                java.util.Collections.emptyList();
        private boolean hasResyncExpiredItems;
        private boolean resyncExpiredItems_ = false;
        private boolean hasResyncProviderName;
        private java.lang.String resyncProviderName_ = "";
        private boolean hasGroup;
        private java.lang.String group_ = "";
        private boolean hasSubGroup;
        private java.lang.String subGroup_ = "";
        private boolean hasItemVersion;
        private long itemVersion_ = 0L;
        private boolean hasPriority;
        private int priority_ = 0;
        private boolean hasItemType;
        private com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType itemType_;
        private boolean hasFlagMap;
        private int flagMap_ = 0;
        private int memoizedSerializedSize = -1;
        // Use EventCacheItem.newBuilder() to construct.
        private EventCacheItem() {
            initFields();
        }

        private EventCacheItem(boolean noInit) {
        }

        public static EventCacheItem getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public EventCacheItem getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public java.util.List getValueList() {
            return value_;
        }

        public int getValueCount() {
            return value_.size();
        }

        public com.google.protobuf.ByteString getValue(int index) {
            return value_.get(index);
        }

        public boolean hasResyncExpiredItems() {
            return hasResyncExpiredItems;
        }

        public boolean getResyncExpiredItems() {
            return resyncExpiredItems_;
        }

        public boolean hasResyncProviderName() {
            return hasResyncProviderName;
        }

        public java.lang.String getResyncProviderName() {
            return resyncProviderName_;
        }

        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 hasItemVersion() {
            return hasItemVersion;
        }

        public long getItemVersion() {
            return itemVersion_;
        }

        public boolean hasPriority() {
            return hasPriority;
        }

        public int getPriority() {
            return priority_;
        }

        public boolean hasItemType() {
            return hasItemType;
        }

        public com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType getItemType() {
            return itemType_;
        }

        public boolean hasFlagMap() {
            return hasFlagMap;
        }

        public int getFlagMap() {
            return flagMap_;
        }

        private void initFields() {
            itemType_ = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.CACHEITEM;
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            for (com.google.protobuf.ByteString element : getValueList()) {
                output.writeBytes(1, element);
            }
            if (hasResyncExpiredItems()) {
                output.writeBool(2, getResyncExpiredItems());
            }
            if (hasResyncProviderName()) {
                output.writeString(3, getResyncProviderName());
            }
            if (hasGroup()) {
                output.writeString(4, getGroup());
            }
            if (hasSubGroup()) {
                output.writeString(5, getSubGroup());
            }
            if (hasItemVersion()) {
                output.writeUInt64(6, getItemVersion());
            }
            if (hasPriority()) {
                output.writeInt32(7, getPriority());
            }
            if (hasItemType()) {
                output.writeEnum(8, getItemType().getNumber());
            }
            if (hasFlagMap()) {
                output.writeInt32(9, getFlagMap());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            {
                int dataSize = 0;
                for (com.google.protobuf.ByteString element : getValueList()) {
                    dataSize += com.google.protobuf.CodedOutputStream
                            .computeBytesSizeNoTag(element);
                }
                size += dataSize;
                size += 1 * getValueList().size();
            }
            if (hasResyncExpiredItems()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBoolSize(2, getResyncExpiredItems());
            }
            if (hasResyncProviderName()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(3, getResyncProviderName());
            }
            if (hasGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(4, getGroup());
            }
            if (hasSubGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(5, getSubGroup());
            }
            if (hasItemVersion()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeUInt64Size(6, getItemVersion());
            }
            if (hasPriority()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(7, getPriority());
            }
            if (hasItemType()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeEnumSize(8, getItemType().getNumber());
            }
            if (hasFlagMap()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(9, getFlagMap());
            }
            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.EventCacheItemCommandProtocol.EventCacheItem result;

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

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

            protected com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem.getDefaultInstance();
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem buildPartial() {
                if (result == null) {
                    throw new IllegalStateException(
                            "build() has already been called on this Builder.");
                }
                if (result.value_ != java.util.Collections.EMPTY_LIST) {
                    result.value_ =
                            java.util.Collections.unmodifiableList(result.value_);
                }
                com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem returnMe = result;
                result = null;
                return returnMe;
            }

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem other) {
                if (other == com.alachisoft.ncache.common.protobuf.EventCacheItemCommandProtocol.EventCacheItem.getDefaultInstance())
                    return this;
                if (!other.value_.isEmpty()) {
                    if (result.value_.isEmpty()) {
                        result.value_ = new java.util.ArrayList();
                    }
                    result.value_.addAll(other.value_);
                }
                if (other.hasResyncExpiredItems()) {
                    setResyncExpiredItems(other.getResyncExpiredItems());
                }
                if (other.hasResyncProviderName()) {
                    setResyncProviderName(other.getResyncProviderName());
                }
                if (other.hasGroup()) {
                    setGroup(other.getGroup());
                }
                if (other.hasSubGroup()) {
                    setSubGroup(other.getSubGroup());
                }
                if (other.hasItemVersion()) {
                    setItemVersion(other.getItemVersion());
                }
                if (other.hasPriority()) {
                    setPriority(other.getPriority());
                }
                if (other.hasItemType()) {
                    setItemType(other.getItemType());
                }
                if (other.hasFlagMap()) {
                    setFlagMap(other.getFlagMap());
                }
                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: {
                            addValue(input.readBytes());
                            break;
                        }
                        case 16: {
                            setResyncExpiredItems(input.readBool());
                            break;
                        }
                        case 26: {
                            setResyncProviderName(input.readString());
                            break;
                        }
                        case 34: {
                            setGroup(input.readString());
                            break;
                        }
                        case 42: {
                            setSubGroup(input.readString());
                            break;
                        }
                        case 48: {
                            setItemVersion(input.readUInt64());
                            break;
                        }
                        case 56: {
                            setPriority(input.readInt32());
                            break;
                        }
                        case 64: {
                            int rawValue = input.readEnum();
                            com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType value = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.valueOf(rawValue);
                            if (value == null) {
                                unknownFields.mergeVarintField(8, rawValue);
                            } else {
                                setItemType(value);
                            }
                            break;
                        }
                        case 72: {
                            setFlagMap(input.readInt32());
                            break;
                        }
                    }
                }
            }


            // repeated bytes value = 1;
            public java.util.List getValueList() {
                return java.util.Collections.unmodifiableList(result.value_);
            }

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

            public com.google.protobuf.ByteString getValue(int index) {
                return result.getValue(index);
            }

            public Builder setValue(int index, com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.value_.set(index, value);
                return this;
            }

            public Builder addValue(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                if (result.value_.isEmpty()) {
                    result.value_ = new java.util.ArrayList();
                }
                result.value_.add(value);
                return this;
            }

            public Builder addAllValue(
                    java.lang.Iterable values) {
                if (result.value_.isEmpty()) {
                    result.value_ = new java.util.ArrayList();
                }
                super.addAll(values, result.value_);
                return this;
            }

            public Builder clearValue() {
                result.value_ = java.util.Collections.emptyList();
                return this;
            }

            // optional bool resyncExpiredItems = 2;
            public boolean hasResyncExpiredItems() {
                return result.hasResyncExpiredItems();
            }

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

            public Builder setResyncExpiredItems(boolean value) {
                result.hasResyncExpiredItems = true;
                result.resyncExpiredItems_ = value;
                return this;
            }

            public Builder clearResyncExpiredItems() {
                result.hasResyncExpiredItems = false;
                result.resyncExpiredItems_ = false;
                return this;
            }

            // optional string resyncProviderName = 3;
            public boolean hasResyncProviderName() {
                return result.hasResyncProviderName();
            }

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

            public Builder setResyncProviderName(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasResyncProviderName = true;
                result.resyncProviderName_ = value;
                return this;
            }

            public Builder clearResyncProviderName() {
                result.hasResyncProviderName = false;
                result.resyncProviderName_ = getDefaultInstance().getResyncProviderName();
                return this;
            }

            // optional string group = 4;
            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 = 5;
            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 uint64 itemVersion = 6;
            public boolean hasItemVersion() {
                return result.hasItemVersion();
            }

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

            public Builder setItemVersion(long value) {
                result.hasItemVersion = true;
                result.itemVersion_ = value;
                return this;
            }

            public Builder clearItemVersion() {
                result.hasItemVersion = false;
                result.itemVersion_ = 0L;
                return this;
            }

            // optional int32 priority = 7;
            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 .com.alachisoft.ncache.common.protobuf.CacheItemType.ItemType itemType = 8 [default = CACHEITEM];
            public boolean hasItemType() {
                return result.hasItemType();
            }

            public com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType getItemType() {
                return result.getItemType();
            }

            public Builder setItemType(com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasItemType = true;
                result.itemType_ = value;
                return this;
            }

            public Builder clearItemType() {
                result.hasItemType = false;
                result.itemType_ = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.CACHEITEM;
                return this;
            }

            // optional int32 flagMap = 9;
            public boolean hasFlagMap() {
                return result.hasFlagMap();
            }

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

            public Builder setFlagMap(int value) {
                result.hasFlagMap = true;
                result.flagMap_ = value;
                return this;
            }

            public Builder clearFlagMap() {
                result.hasFlagMap = false;
                result.flagMap_ = 0;
                return this;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy