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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class ListCommandProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_ListCommand_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_ListCommand_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\021ListCommand.proto\022%com.alachisoft.ncac" +
                        "he.common.protobuf\032\016LockInfo.proto\032\031List" +
                        "AddWithoutIndex.proto\032\026ListAddWithPivot." +
                        "proto\032\026ListGetBulkItems.proto\032\034ListRemov" +
                        "eWithoutIndex.proto\032\031ListRemoveWithIndex" +
                        ".proto\032\031ListInsertWithIndex.proto\032\020ListS" +
                        "earch.proto\032\021ListGetItem.proto\"\327\010\n\013ListC" +
                        "ommand\022E\n\004type\030\001 \001(\01627.com.alachisoft.nc" +
                        "ache.common.protobuf.ListCommand.Type\022W\n" +
                        "\023listAddWithoutIndex\030\002 \001(\0132:.com.alachis",
                "oft.ncache.common.protobuf.ListAddWithou" +
                        "tIndex\022Q\n\020listAddWithPivot\030\003 \001(\01327.com.a" +
                        "lachisoft.ncache.common.protobuf.ListAdd" +
                        "WithPivot\022Q\n\020listGetBulkItems\030\004 \001(\01327.co" +
                        "m.alachisoft.ncache.common.protobuf.List" +
                        "GetBulkItems\022]\n\026listRemoveWithoutIndex\030\005" +
                        " \001(\0132=.com.alachisoft.ncache.common.prot" +
                        "obuf.ListRemoveWithoutIndex\022W\n\023listRemov" +
                        "eWithIndex\030\006 \001(\0132:.com.alachisoft.ncache" +
                        ".common.protobuf.ListRemoveWithIndex\022W\n\023",
                "listInsertWithIndex\030\007 \001(\0132:.com.alachiso" +
                        "ft.ncache.common.protobuf.ListInsertWith" +
                        "Index\022E\n\nlistSearch\030\010 \001(\01321.com.alachiso" +
                        "ft.ncache.common.protobuf.ListSearch\022G\n\013" +
                        "listGetItem\030\t \001(\01322.com.alachisoft.ncach" +
                        "e.common.protobuf.ListGetItem\022\021\n\trequest" +
                        "Id\030\n \001(\003\022\014\n\004name\030\013 \001(\t\022A\n\010lockInfo\030\014 \001(\013" +
                        "2/.com.alachisoft.ncache.common.protobuf" +
                        ".LockInfo\022\025\n\rdsWriteOption\030\r \001(\005\022\024\n\014prov" +
                        "iderName\030\016 \001(\t\"\317\001\n\004Type\022\032\n\026LIST_ADD_WITH",
                "OUT_INDEX\020\001\022\027\n\023LIST_ADD_WITH_PIVOT\020\002\022\027\n\023" +
                        "LIST_GET_BULK_ITEMS\020\003\022\035\n\031LIST_REMOVE_WIT" +
                        "HOUT_INDEX\020\004\022\032\n\026LIST_REMOVE_WITH_INDEX\020\005" +
                        "\022\032\n\026LIST_INSERT_WITH_INDEX\020\006\022\017\n\013LIST_SEA" +
                        "RCH\020\007\022\021\n\rLIST_GET_ITEM\020\010B\025B\023ListCommandP" +
                        "rotocol"
        };
        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_ListCommand_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_ListCommand_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_ListCommand_descriptor,
                                new java.lang.String[]{"Type", "ListAddWithoutIndex", "ListAddWithPivot", "ListGetBulkItems", "ListRemoveWithoutIndex", "ListRemoveWithIndex", "ListInsertWithIndex", "ListSearch", "ListGetItem", "RequestId", "Name", "LockInfo", "DsWriteOption", "ProviderName",},
                                com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.class,
                                com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.LockInfoProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListSearchProtocol.getDescriptor(),
                                com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.getDescriptor(),
                        }, assigner);
    }
    private ListCommandProtocol() {
    }

    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 ListCommand extends
            com.google.protobuf.GeneratedMessage {
        // optional .com.alachisoft.ncache.common.protobuf.ListCommand.Type type = 1;
        public static final int TYPE_FIELD_NUMBER = 1;
        // optional .com.alachisoft.ncache.common.protobuf.ListAddWithoutIndex listAddWithoutIndex = 2;
        public static final int LISTADDWITHOUTINDEX_FIELD_NUMBER = 2;
        // optional .com.alachisoft.ncache.common.protobuf.ListAddWithPivot listAddWithPivot = 3;
        public static final int LISTADDWITHPIVOT_FIELD_NUMBER = 3;
        // optional .com.alachisoft.ncache.common.protobuf.ListGetBulkItems listGetBulkItems = 4;
        public static final int LISTGETBULKITEMS_FIELD_NUMBER = 4;
        // optional .com.alachisoft.ncache.common.protobuf.ListRemoveWithoutIndex listRemoveWithoutIndex = 5;
        public static final int LISTREMOVEWITHOUTINDEX_FIELD_NUMBER = 5;
        // optional .com.alachisoft.ncache.common.protobuf.ListRemoveWithIndex listRemoveWithIndex = 6;
        public static final int LISTREMOVEWITHINDEX_FIELD_NUMBER = 6;
        // optional .com.alachisoft.ncache.common.protobuf.ListInsertWithIndex listInsertWithIndex = 7;
        public static final int LISTINSERTWITHINDEX_FIELD_NUMBER = 7;
        // optional .com.alachisoft.ncache.common.protobuf.ListSearch listSearch = 8;
        public static final int LISTSEARCH_FIELD_NUMBER = 8;
        // optional .com.alachisoft.ncache.common.protobuf.ListGetItem listGetItem = 9;
        public static final int LISTGETITEM_FIELD_NUMBER = 9;
        // optional int64 requestId = 10;
        public static final int REQUESTID_FIELD_NUMBER = 10;
        // optional string name = 11;
        public static final int NAME_FIELD_NUMBER = 11;
        // optional .com.alachisoft.ncache.common.protobuf.LockInfo lockInfo = 12;
        public static final int LOCKINFO_FIELD_NUMBER = 12;
        // optional int32 dsWriteOption = 13;
        public static final int DSWRITEOPTION_FIELD_NUMBER = 13;
        // optional string providerName = 14;
        public static final int PROVIDERNAME_FIELD_NUMBER = 14;
        private static final ListCommand defaultInstance;

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

        private boolean hasType;
        private com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type type_;
        private boolean hasListAddWithoutIndex;
        private com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex listAddWithoutIndex_;
        private boolean hasListAddWithPivot;
        private com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot listAddWithPivot_;
        private boolean hasListGetBulkItems;
        private com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems listGetBulkItems_;
        private boolean hasListRemoveWithoutIndex;
        private com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex listRemoveWithoutIndex_;
        private boolean hasListRemoveWithIndex;
        private com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex listRemoveWithIndex_;
        private boolean hasListInsertWithIndex;
        private com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex listInsertWithIndex_;
        private boolean hasListSearch;
        private com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch listSearch_;
        private boolean hasListGetItem;
        private com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem listGetItem_;
        private boolean hasRequestId;
        private long requestId_ = 0L;
        private boolean hasName;
        private java.lang.String name_ = "";
        private boolean hasLockInfo;
        private com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo lockInfo_;
        private boolean hasDsWriteOption;
        private int dsWriteOption_ = 0;
        private boolean hasProviderName;
        private java.lang.String providerName_ = "";
        private int memoizedSerializedSize = -1;
        // Use ListCommand.newBuilder() to construct.
        private ListCommand() {
            initFields();
        }

        private ListCommand(boolean noInit) {
        }

        public static ListCommand getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public ListCommand getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasType() {
            return hasType;
        }

        public com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type getType() {
            return type_;
        }

        public boolean hasListAddWithoutIndex() {
            return hasListAddWithoutIndex;
        }

        public com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex getListAddWithoutIndex() {
            return listAddWithoutIndex_;
        }

        public boolean hasListAddWithPivot() {
            return hasListAddWithPivot;
        }

        public com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot getListAddWithPivot() {
            return listAddWithPivot_;
        }

        public boolean hasListGetBulkItems() {
            return hasListGetBulkItems;
        }

        public com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems getListGetBulkItems() {
            return listGetBulkItems_;
        }

        public boolean hasListRemoveWithoutIndex() {
            return hasListRemoveWithoutIndex;
        }

        public com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex getListRemoveWithoutIndex() {
            return listRemoveWithoutIndex_;
        }

        public boolean hasListRemoveWithIndex() {
            return hasListRemoveWithIndex;
        }

        public com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex getListRemoveWithIndex() {
            return listRemoveWithIndex_;
        }

        public boolean hasListInsertWithIndex() {
            return hasListInsertWithIndex;
        }

        public com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex getListInsertWithIndex() {
            return listInsertWithIndex_;
        }

        public boolean hasListSearch() {
            return hasListSearch;
        }

        public com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch getListSearch() {
            return listSearch_;
        }

        public boolean hasListGetItem() {
            return hasListGetItem;
        }

        public com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem getListGetItem() {
            return listGetItem_;
        }

        public boolean hasRequestId() {
            return hasRequestId;
        }

        public long getRequestId() {
            return requestId_;
        }

        public boolean hasName() {
            return hasName;
        }

        public java.lang.String getName() {
            return name_;
        }

        public boolean hasLockInfo() {
            return hasLockInfo;
        }

        public com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo getLockInfo() {
            return lockInfo_;
        }

        public boolean hasDsWriteOption() {
            return hasDsWriteOption;
        }

        public int getDsWriteOption() {
            return dsWriteOption_;
        }

        public boolean hasProviderName() {
            return hasProviderName;
        }

        public java.lang.String getProviderName() {
            return providerName_;
        }

        private void initFields() {
            type_ = com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type.LIST_ADD_WITHOUT_INDEX;
            listAddWithoutIndex_ = com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.getDefaultInstance();
            listAddWithPivot_ = com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.getDefaultInstance();
            listGetBulkItems_ = com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.getDefaultInstance();
            listRemoveWithoutIndex_ = com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.getDefaultInstance();
            listRemoveWithIndex_ = com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.getDefaultInstance();
            listInsertWithIndex_ = com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.getDefaultInstance();
            listSearch_ = com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.getDefaultInstance();
            listGetItem_ = com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.getDefaultInstance();
            lockInfo_ = com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.getDefaultInstance();
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasType()) {
                output.writeEnum(1, getType().getNumber());
            }
            if (hasListAddWithoutIndex()) {
                output.writeMessage(2, getListAddWithoutIndex());
            }
            if (hasListAddWithPivot()) {
                output.writeMessage(3, getListAddWithPivot());
            }
            if (hasListGetBulkItems()) {
                output.writeMessage(4, getListGetBulkItems());
            }
            if (hasListRemoveWithoutIndex()) {
                output.writeMessage(5, getListRemoveWithoutIndex());
            }
            if (hasListRemoveWithIndex()) {
                output.writeMessage(6, getListRemoveWithIndex());
            }
            if (hasListInsertWithIndex()) {
                output.writeMessage(7, getListInsertWithIndex());
            }
            if (hasListSearch()) {
                output.writeMessage(8, getListSearch());
            }
            if (hasListGetItem()) {
                output.writeMessage(9, getListGetItem());
            }
            if (hasRequestId()) {
                output.writeInt64(10, getRequestId());
            }
            if (hasName()) {
                output.writeString(11, getName());
            }
            if (hasLockInfo()) {
                output.writeMessage(12, getLockInfo());
            }
            if (hasDsWriteOption()) {
                output.writeInt32(13, getDsWriteOption());
            }
            if (hasProviderName()) {
                output.writeString(14, getProviderName());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasType()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeEnumSize(1, getType().getNumber());
            }
            if (hasListAddWithoutIndex()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(2, getListAddWithoutIndex());
            }
            if (hasListAddWithPivot()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(3, getListAddWithPivot());
            }
            if (hasListGetBulkItems()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(4, getListGetBulkItems());
            }
            if (hasListRemoveWithoutIndex()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(5, getListRemoveWithoutIndex());
            }
            if (hasListRemoveWithIndex()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(6, getListRemoveWithIndex());
            }
            if (hasListInsertWithIndex()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(7, getListInsertWithIndex());
            }
            if (hasListSearch()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(8, getListSearch());
            }
            if (hasListGetItem()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(9, getListGetItem());
            }
            if (hasRequestId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(10, getRequestId());
            }
            if (hasName()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(11, getName());
            }
            if (hasLockInfo()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(12, getLockInfo());
            }
            if (hasDsWriteOption()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(13, getDsWriteOption());
            }
            if (hasProviderName()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(14, getProviderName());
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSerializedSize = size;
            return size;
        }

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

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

        public enum Type
                implements com.google.protobuf.ProtocolMessageEnum {
            LIST_ADD_WITHOUT_INDEX(0, 1),
            LIST_ADD_WITH_PIVOT(1, 2),
            LIST_GET_BULK_ITEMS(2, 3),
            LIST_REMOVE_WITHOUT_INDEX(3, 4),
            LIST_REMOVE_WITH_INDEX(4, 5),
            LIST_INSERT_WITH_INDEX(5, 6),
            LIST_SEARCH(6, 7),
            LIST_GET_ITEM(7, 8),
            ;


            private static final Type[] VALUES = {
                    LIST_ADD_WITHOUT_INDEX, LIST_ADD_WITH_PIVOT, LIST_GET_BULK_ITEMS, LIST_REMOVE_WITHOUT_INDEX, LIST_REMOVE_WITH_INDEX, LIST_INSERT_WITH_INDEX, LIST_SEARCH, LIST_GET_ITEM,
            };
            private static com.google.protobuf.Internal.EnumLiteMap
                    internalValueMap =
                    new com.google.protobuf.Internal.EnumLiteMap() {
                        public Type findValueByNumber(int number) {
                            return Type.valueOf(number)
                                    ;
                        }
                    };

            static {
                com.alachisoft.ncache.common.protobuf.ListCommandProtocol.getDescriptor();
            }

            private final int index;
            private final int value;

            private Type(int index, int value) {
                this.index = index;
                this.value = value;
            }

            public static Type valueOf(int value) {
                switch (value) {
                    case 1:
                        return LIST_ADD_WITHOUT_INDEX;
                    case 2:
                        return LIST_ADD_WITH_PIVOT;
                    case 3:
                        return LIST_GET_BULK_ITEMS;
                    case 4:
                        return LIST_REMOVE_WITHOUT_INDEX;
                    case 5:
                        return LIST_REMOVE_WITH_INDEX;
                    case 6:
                        return LIST_INSERT_WITH_INDEX;
                    case 7:
                        return LIST_SEARCH;
                    case 8:
                        return LIST_GET_ITEM;
                    default:
                        return null;
                }
            }

            public static com.google.protobuf.Internal.EnumLiteMap
            internalGetValueMap() {
                return internalValueMap;
            }

            public static final com.google.protobuf.Descriptors.EnumDescriptor
            getDescriptor() {
                return com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.getDescriptor().getEnumTypes().get(0);
            }

            public static Type valueOf(
                    com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
                if (desc.getType() != getDescriptor()) {
                    throw new java.lang.IllegalArgumentException(
                            "EnumValueDescriptor is not for this type.");
                }
                return VALUES[desc.getIndex()];
            }

            public final int getNumber() {
                return value;
            }

            public final com.google.protobuf.Descriptors.EnumValueDescriptor
            getValueDescriptor() {
                return getDescriptor().getValues().get(index);
            }

            public final com.google.protobuf.Descriptors.EnumDescriptor
            getDescriptorForType() {
                return getDescriptor();
            }

            // @@protoc_insertion_point(enum_scope:com.alachisoft.ncache.common.protobuf.ListCommand.Type)
        }

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

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

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

            protected com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand other) {
                if (other == com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.getDefaultInstance())
                    return this;
                if (other.hasType()) {
                    setType(other.getType());
                }
                if (other.hasListAddWithoutIndex()) {
                    mergeListAddWithoutIndex(other.getListAddWithoutIndex());
                }
                if (other.hasListAddWithPivot()) {
                    mergeListAddWithPivot(other.getListAddWithPivot());
                }
                if (other.hasListGetBulkItems()) {
                    mergeListGetBulkItems(other.getListGetBulkItems());
                }
                if (other.hasListRemoveWithoutIndex()) {
                    mergeListRemoveWithoutIndex(other.getListRemoveWithoutIndex());
                }
                if (other.hasListRemoveWithIndex()) {
                    mergeListRemoveWithIndex(other.getListRemoveWithIndex());
                }
                if (other.hasListInsertWithIndex()) {
                    mergeListInsertWithIndex(other.getListInsertWithIndex());
                }
                if (other.hasListSearch()) {
                    mergeListSearch(other.getListSearch());
                }
                if (other.hasListGetItem()) {
                    mergeListGetItem(other.getListGetItem());
                }
                if (other.hasRequestId()) {
                    setRequestId(other.getRequestId());
                }
                if (other.hasName()) {
                    setName(other.getName());
                }
                if (other.hasLockInfo()) {
                    mergeLockInfo(other.getLockInfo());
                }
                if (other.hasDsWriteOption()) {
                    setDsWriteOption(other.getDsWriteOption());
                }
                if (other.hasProviderName()) {
                    setProviderName(other.getProviderName());
                }
                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: {
                            int rawValue = input.readEnum();
                            com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type value = com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type.valueOf(rawValue);
                            if (value == null) {
                                unknownFields.mergeVarintField(1, rawValue);
                            } else {
                                setType(value);
                            }
                            break;
                        }
                        case 18: {
                            com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.newBuilder();
                            if (hasListAddWithoutIndex()) {
                                subBuilder.mergeFrom(getListAddWithoutIndex());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListAddWithoutIndex(subBuilder.buildPartial());
                            break;
                        }
                        case 26: {
                            com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.newBuilder();
                            if (hasListAddWithPivot()) {
                                subBuilder.mergeFrom(getListAddWithPivot());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListAddWithPivot(subBuilder.buildPartial());
                            break;
                        }
                        case 34: {
                            com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.newBuilder();
                            if (hasListGetBulkItems()) {
                                subBuilder.mergeFrom(getListGetBulkItems());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListGetBulkItems(subBuilder.buildPartial());
                            break;
                        }
                        case 42: {
                            com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.newBuilder();
                            if (hasListRemoveWithoutIndex()) {
                                subBuilder.mergeFrom(getListRemoveWithoutIndex());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListRemoveWithoutIndex(subBuilder.buildPartial());
                            break;
                        }
                        case 50: {
                            com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.newBuilder();
                            if (hasListRemoveWithIndex()) {
                                subBuilder.mergeFrom(getListRemoveWithIndex());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListRemoveWithIndex(subBuilder.buildPartial());
                            break;
                        }
                        case 58: {
                            com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.newBuilder();
                            if (hasListInsertWithIndex()) {
                                subBuilder.mergeFrom(getListInsertWithIndex());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListInsertWithIndex(subBuilder.buildPartial());
                            break;
                        }
                        case 66: {
                            com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.newBuilder();
                            if (hasListSearch()) {
                                subBuilder.mergeFrom(getListSearch());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListSearch(subBuilder.buildPartial());
                            break;
                        }
                        case 74: {
                            com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.newBuilder();
                            if (hasListGetItem()) {
                                subBuilder.mergeFrom(getListGetItem());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setListGetItem(subBuilder.buildPartial());
                            break;
                        }
                        case 80: {
                            setRequestId(input.readInt64());
                            break;
                        }
                        case 90: {
                            setName(input.readString());
                            break;
                        }
                        case 98: {
                            com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.newBuilder();
                            if (hasLockInfo()) {
                                subBuilder.mergeFrom(getLockInfo());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setLockInfo(subBuilder.buildPartial());
                            break;
                        }
                        case 104: {
                            setDsWriteOption(input.readInt32());
                            break;
                        }
                        case 114: {
                            setProviderName(input.readString());
                            break;
                        }
                    }
                }
            }


            // optional .com.alachisoft.ncache.common.protobuf.ListCommand.Type type = 1;
            public boolean hasType() {
                return result.hasType();
            }

            public com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type getType() {
                return result.getType();
            }

            public Builder setType(com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasType = true;
                result.type_ = value;
                return this;
            }

            public Builder clearType() {
                result.hasType = false;
                result.type_ = com.alachisoft.ncache.common.protobuf.ListCommandProtocol.ListCommand.Type.LIST_ADD_WITHOUT_INDEX;
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListAddWithoutIndex listAddWithoutIndex = 2;
            public boolean hasListAddWithoutIndex() {
                return result.hasListAddWithoutIndex();
            }

            public com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex getListAddWithoutIndex() {
                return result.getListAddWithoutIndex();
            }

            public Builder setListAddWithoutIndex(com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListAddWithoutIndex = true;
                result.listAddWithoutIndex_ = value;
                return this;
            }

            public Builder setListAddWithoutIndex(com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.Builder builderForValue) {
                result.hasListAddWithoutIndex = true;
                result.listAddWithoutIndex_ = builderForValue.build();
                return this;
            }

            public Builder mergeListAddWithoutIndex(com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex value) {
                if (result.hasListAddWithoutIndex() &&
                        result.listAddWithoutIndex_ != com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.getDefaultInstance()) {
                    result.listAddWithoutIndex_ =
                            com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.newBuilder(result.listAddWithoutIndex_).mergeFrom(value).buildPartial();
                } else {
                    result.listAddWithoutIndex_ = value;
                }
                result.hasListAddWithoutIndex = true;
                return this;
            }

            public Builder clearListAddWithoutIndex() {
                result.hasListAddWithoutIndex = false;
                result.listAddWithoutIndex_ = com.alachisoft.ncache.common.protobuf.ListAddWithoutIndexProtocol.ListAddWithoutIndex.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListAddWithPivot listAddWithPivot = 3;
            public boolean hasListAddWithPivot() {
                return result.hasListAddWithPivot();
            }

            public com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot getListAddWithPivot() {
                return result.getListAddWithPivot();
            }

            public Builder setListAddWithPivot(com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListAddWithPivot = true;
                result.listAddWithPivot_ = value;
                return this;
            }

            public Builder setListAddWithPivot(com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.Builder builderForValue) {
                result.hasListAddWithPivot = true;
                result.listAddWithPivot_ = builderForValue.build();
                return this;
            }

            public Builder mergeListAddWithPivot(com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot value) {
                if (result.hasListAddWithPivot() &&
                        result.listAddWithPivot_ != com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.getDefaultInstance()) {
                    result.listAddWithPivot_ =
                            com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.newBuilder(result.listAddWithPivot_).mergeFrom(value).buildPartial();
                } else {
                    result.listAddWithPivot_ = value;
                }
                result.hasListAddWithPivot = true;
                return this;
            }

            public Builder clearListAddWithPivot() {
                result.hasListAddWithPivot = false;
                result.listAddWithPivot_ = com.alachisoft.ncache.common.protobuf.ListAddWithPivotProtocol.ListAddWithPivot.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListGetBulkItems listGetBulkItems = 4;
            public boolean hasListGetBulkItems() {
                return result.hasListGetBulkItems();
            }

            public com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems getListGetBulkItems() {
                return result.getListGetBulkItems();
            }

            public Builder setListGetBulkItems(com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListGetBulkItems = true;
                result.listGetBulkItems_ = value;
                return this;
            }

            public Builder setListGetBulkItems(com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.Builder builderForValue) {
                result.hasListGetBulkItems = true;
                result.listGetBulkItems_ = builderForValue.build();
                return this;
            }

            public Builder mergeListGetBulkItems(com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems value) {
                if (result.hasListGetBulkItems() &&
                        result.listGetBulkItems_ != com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.getDefaultInstance()) {
                    result.listGetBulkItems_ =
                            com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.newBuilder(result.listGetBulkItems_).mergeFrom(value).buildPartial();
                } else {
                    result.listGetBulkItems_ = value;
                }
                result.hasListGetBulkItems = true;
                return this;
            }

            public Builder clearListGetBulkItems() {
                result.hasListGetBulkItems = false;
                result.listGetBulkItems_ = com.alachisoft.ncache.common.protobuf.ListGetBulkItemsProtocol.ListGetBulkItems.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListRemoveWithoutIndex listRemoveWithoutIndex = 5;
            public boolean hasListRemoveWithoutIndex() {
                return result.hasListRemoveWithoutIndex();
            }

            public com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex getListRemoveWithoutIndex() {
                return result.getListRemoveWithoutIndex();
            }

            public Builder setListRemoveWithoutIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListRemoveWithoutIndex = true;
                result.listRemoveWithoutIndex_ = value;
                return this;
            }

            public Builder setListRemoveWithoutIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.Builder builderForValue) {
                result.hasListRemoveWithoutIndex = true;
                result.listRemoveWithoutIndex_ = builderForValue.build();
                return this;
            }

            public Builder mergeListRemoveWithoutIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex value) {
                if (result.hasListRemoveWithoutIndex() &&
                        result.listRemoveWithoutIndex_ != com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.getDefaultInstance()) {
                    result.listRemoveWithoutIndex_ =
                            com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.newBuilder(result.listRemoveWithoutIndex_).mergeFrom(value).buildPartial();
                } else {
                    result.listRemoveWithoutIndex_ = value;
                }
                result.hasListRemoveWithoutIndex = true;
                return this;
            }

            public Builder clearListRemoveWithoutIndex() {
                result.hasListRemoveWithoutIndex = false;
                result.listRemoveWithoutIndex_ = com.alachisoft.ncache.common.protobuf.ListRemoveWithoutPivotProtocol.ListRemoveWithoutIndex.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListRemoveWithIndex listRemoveWithIndex = 6;
            public boolean hasListRemoveWithIndex() {
                return result.hasListRemoveWithIndex();
            }

            public com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex getListRemoveWithIndex() {
                return result.getListRemoveWithIndex();
            }

            public Builder setListRemoveWithIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListRemoveWithIndex = true;
                result.listRemoveWithIndex_ = value;
                return this;
            }

            public Builder setListRemoveWithIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.Builder builderForValue) {
                result.hasListRemoveWithIndex = true;
                result.listRemoveWithIndex_ = builderForValue.build();
                return this;
            }

            public Builder mergeListRemoveWithIndex(com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex value) {
                if (result.hasListRemoveWithIndex() &&
                        result.listRemoveWithIndex_ != com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.getDefaultInstance()) {
                    result.listRemoveWithIndex_ =
                            com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.newBuilder(result.listRemoveWithIndex_).mergeFrom(value).buildPartial();
                } else {
                    result.listRemoveWithIndex_ = value;
                }
                result.hasListRemoveWithIndex = true;
                return this;
            }

            public Builder clearListRemoveWithIndex() {
                result.hasListRemoveWithIndex = false;
                result.listRemoveWithIndex_ = com.alachisoft.ncache.common.protobuf.ListRemoveWithPivotProtocol.ListRemoveWithIndex.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListInsertWithIndex listInsertWithIndex = 7;
            public boolean hasListInsertWithIndex() {
                return result.hasListInsertWithIndex();
            }

            public com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex getListInsertWithIndex() {
                return result.getListInsertWithIndex();
            }

            public Builder setListInsertWithIndex(com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListInsertWithIndex = true;
                result.listInsertWithIndex_ = value;
                return this;
            }

            public Builder setListInsertWithIndex(com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.Builder builderForValue) {
                result.hasListInsertWithIndex = true;
                result.listInsertWithIndex_ = builderForValue.build();
                return this;
            }

            public Builder mergeListInsertWithIndex(com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex value) {
                if (result.hasListInsertWithIndex() &&
                        result.listInsertWithIndex_ != com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.getDefaultInstance()) {
                    result.listInsertWithIndex_ =
                            com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.newBuilder(result.listInsertWithIndex_).mergeFrom(value).buildPartial();
                } else {
                    result.listInsertWithIndex_ = value;
                }
                result.hasListInsertWithIndex = true;
                return this;
            }

            public Builder clearListInsertWithIndex() {
                result.hasListInsertWithIndex = false;
                result.listInsertWithIndex_ = com.alachisoft.ncache.common.protobuf.ListInsertWithIndexProtocol.ListInsertWithIndex.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListSearch listSearch = 8;
            public boolean hasListSearch() {
                return result.hasListSearch();
            }

            public com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch getListSearch() {
                return result.getListSearch();
            }

            public Builder setListSearch(com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListSearch = true;
                result.listSearch_ = value;
                return this;
            }

            public Builder setListSearch(com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.Builder builderForValue) {
                result.hasListSearch = true;
                result.listSearch_ = builderForValue.build();
                return this;
            }

            public Builder mergeListSearch(com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch value) {
                if (result.hasListSearch() &&
                        result.listSearch_ != com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.getDefaultInstance()) {
                    result.listSearch_ =
                            com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.newBuilder(result.listSearch_).mergeFrom(value).buildPartial();
                } else {
                    result.listSearch_ = value;
                }
                result.hasListSearch = true;
                return this;
            }

            public Builder clearListSearch() {
                result.hasListSearch = false;
                result.listSearch_ = com.alachisoft.ncache.common.protobuf.ListSearchProtocol.ListSearch.getDefaultInstance();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.ListGetItem listGetItem = 9;
            public boolean hasListGetItem() {
                return result.hasListGetItem();
            }

            public com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem getListGetItem() {
                return result.getListGetItem();
            }

            public Builder setListGetItem(com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasListGetItem = true;
                result.listGetItem_ = value;
                return this;
            }

            public Builder setListGetItem(com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.Builder builderForValue) {
                result.hasListGetItem = true;
                result.listGetItem_ = builderForValue.build();
                return this;
            }

            public Builder mergeListGetItem(com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem value) {
                if (result.hasListGetItem() &&
                        result.listGetItem_ != com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.getDefaultInstance()) {
                    result.listGetItem_ =
                            com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.newBuilder(result.listGetItem_).mergeFrom(value).buildPartial();
                } else {
                    result.listGetItem_ = value;
                }
                result.hasListGetItem = true;
                return this;
            }

            public Builder clearListGetItem() {
                result.hasListGetItem = false;
                result.listGetItem_ = com.alachisoft.ncache.common.protobuf.ListGetItemProtocol.ListGetItem.getDefaultInstance();
                return this;
            }

            // optional int64 requestId = 10;
            public boolean hasRequestId() {
                return result.hasRequestId();
            }

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

            public Builder setRequestId(long value) {
                result.hasRequestId = true;
                result.requestId_ = value;
                return this;
            }

            public Builder clearRequestId() {
                result.hasRequestId = false;
                result.requestId_ = 0L;
                return this;
            }

            // optional string name = 11;
            public boolean hasName() {
                return result.hasName();
            }

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

            public Builder setName(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasName = true;
                result.name_ = value;
                return this;
            }

            public Builder clearName() {
                result.hasName = false;
                result.name_ = getDefaultInstance().getName();
                return this;
            }

            // optional .com.alachisoft.ncache.common.protobuf.LockInfo lockInfo = 12;
            public boolean hasLockInfo() {
                return result.hasLockInfo();
            }

            public com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo getLockInfo() {
                return result.getLockInfo();
            }

            public Builder setLockInfo(com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasLockInfo = true;
                result.lockInfo_ = value;
                return this;
            }

            public Builder setLockInfo(com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.Builder builderForValue) {
                result.hasLockInfo = true;
                result.lockInfo_ = builderForValue.build();
                return this;
            }

            public Builder mergeLockInfo(com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo value) {
                if (result.hasLockInfo() &&
                        result.lockInfo_ != com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.getDefaultInstance()) {
                    result.lockInfo_ =
                            com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.newBuilder(result.lockInfo_).mergeFrom(value).buildPartial();
                } else {
                    result.lockInfo_ = value;
                }
                result.hasLockInfo = true;
                return this;
            }

            public Builder clearLockInfo() {
                result.hasLockInfo = false;
                result.lockInfo_ = com.alachisoft.ncache.common.protobuf.LockInfoProtocol.LockInfo.getDefaultInstance();
                return this;
            }

            // optional int32 dsWriteOption = 13;
            public boolean hasDsWriteOption() {
                return result.hasDsWriteOption();
            }

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

            public Builder setDsWriteOption(int value) {
                result.hasDsWriteOption = true;
                result.dsWriteOption_ = value;
                return this;
            }

            public Builder clearDsWriteOption() {
                result.hasDsWriteOption = false;
                result.dsWriteOption_ = 0;
                return this;
            }

            // optional string providerName = 14;
            public boolean hasProviderName() {
                return result.hasProviderName();
            }

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

            public Builder setProviderName(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasProviderName = true;
                result.providerName_ = value;
                return this;
            }

            public Builder clearProviderName() {
                result.hasProviderName = false;
                result.providerName_ = getDefaultInstance().getProviderName();
                return this;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy