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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class EventIdCommandProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_EventIdCommand_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_EventIdCommand_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\024EventIdCommand.proto\022%com.alachisoft.n" +
                        "cache.common.protobuf\"\224\001\n\016EventIdCommand" +
                        "\022\025\n\reventUniqueId\030\001 \001(\t\022\030\n\020operationCoun" +
                        "ter\030\002 \001(\003\022\024\n\014eventCounter\030\003 \001(\005\022\027\n\017query" +
                        "ChangeType\030\004 \001(\005\022\017\n\007queryId\030\005 \001(\t\022\021\n\teve" +
                        "ntType\030\006 \001(\005B\030B\026EventIdCommandProtocol"
        };
        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_EventIdCommand_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_EventIdCommand_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_EventIdCommand_descriptor,
                                new java.lang.String[]{"EventUniqueId", "OperationCounter", "EventCounter", "QueryChangeType", "QueryId", "EventType",},
                                com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand.class,
                                com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                        }, assigner);
    }
    private EventIdCommandProtocol() {
    }

    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 EventIdCommand extends
            com.google.protobuf.GeneratedMessage {
        // optional string eventUniqueId = 1;
        public static final int EVENTUNIQUEID_FIELD_NUMBER = 1;
        // optional int64 operationCounter = 2;
        public static final int OPERATIONCOUNTER_FIELD_NUMBER = 2;
        // optional int32 eventCounter = 3;
        public static final int EVENTCOUNTER_FIELD_NUMBER = 3;
        // optional int32 queryChangeType = 4;
        public static final int QUERYCHANGETYPE_FIELD_NUMBER = 4;
        // optional string queryId = 5;
        public static final int QUERYID_FIELD_NUMBER = 5;
        // optional int32 eventType = 6;
        public static final int EVENTTYPE_FIELD_NUMBER = 6;
        private static final EventIdCommand defaultInstance;

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

        private boolean hasEventUniqueId;
        private java.lang.String eventUniqueId_ = "";
        private boolean hasOperationCounter;
        private long operationCounter_ = 0L;
        private boolean hasEventCounter;
        private int eventCounter_ = 0;
        private boolean hasQueryChangeType;
        private int queryChangeType_ = 0;
        private boolean hasQueryId;
        private java.lang.String queryId_ = "";
        private boolean hasEventType;
        private int eventType_ = 0;
        private int memoizedSerializedSize = -1;

        // Use EventIdCommand.newBuilder() to construct.
        private EventIdCommand() {
            initFields();
        }

        private EventIdCommand(boolean noInit) {
        }

        public static EventIdCommand getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public EventIdCommand getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasEventUniqueId() {
            return hasEventUniqueId;
        }

        public java.lang.String getEventUniqueId() {
            return eventUniqueId_;
        }

        public boolean hasOperationCounter() {
            return hasOperationCounter;
        }

        public long getOperationCounter() {
            return operationCounter_;
        }

        public boolean hasEventCounter() {
            return hasEventCounter;
        }

        public int getEventCounter() {
            return eventCounter_;
        }

        public boolean hasQueryChangeType() {
            return hasQueryChangeType;
        }

        public int getQueryChangeType() {
            return queryChangeType_;
        }

        public boolean hasQueryId() {
            return hasQueryId;
        }

        public java.lang.String getQueryId() {
            return queryId_;
        }

        public boolean hasEventType() {
            return hasEventType;
        }

        public int getEventType() {
            return eventType_;
        }

        private void initFields() {
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasEventUniqueId()) {
                output.writeString(1, getEventUniqueId());
            }
            if (hasOperationCounter()) {
                output.writeInt64(2, getOperationCounter());
            }
            if (hasEventCounter()) {
                output.writeInt32(3, getEventCounter());
            }
            if (hasQueryChangeType()) {
                output.writeInt32(4, getQueryChangeType());
            }
            if (hasQueryId()) {
                output.writeString(5, getQueryId());
            }
            if (hasEventType()) {
                output.writeInt32(6, getEventType());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasEventUniqueId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(1, getEventUniqueId());
            }
            if (hasOperationCounter()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(2, getOperationCounter());
            }
            if (hasEventCounter()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(3, getEventCounter());
            }
            if (hasQueryChangeType()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(4, getQueryChangeType());
            }
            if (hasQueryId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(5, getQueryId());
            }
            if (hasEventType()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(6, getEventType());
            }
            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.EventIdCommandProtocol.EventIdCommand result;

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

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

            protected com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand other) {
                if (other == com.alachisoft.ncache.common.protobuf.EventIdCommandProtocol.EventIdCommand.getDefaultInstance())
                    return this;
                if (other.hasEventUniqueId()) {
                    setEventUniqueId(other.getEventUniqueId());
                }
                if (other.hasOperationCounter()) {
                    setOperationCounter(other.getOperationCounter());
                }
                if (other.hasEventCounter()) {
                    setEventCounter(other.getEventCounter());
                }
                if (other.hasQueryChangeType()) {
                    setQueryChangeType(other.getQueryChangeType());
                }
                if (other.hasQueryId()) {
                    setQueryId(other.getQueryId());
                }
                if (other.hasEventType()) {
                    setEventType(other.getEventType());
                }
                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: {
                            setEventUniqueId(input.readString());
                            break;
                        }
                        case 16: {
                            setOperationCounter(input.readInt64());
                            break;
                        }
                        case 24: {
                            setEventCounter(input.readInt32());
                            break;
                        }
                        case 32: {
                            setQueryChangeType(input.readInt32());
                            break;
                        }
                        case 42: {
                            setQueryId(input.readString());
                            break;
                        }
                        case 48: {
                            setEventType(input.readInt32());
                            break;
                        }
                    }
                }
            }


            // optional string eventUniqueId = 1;
            public boolean hasEventUniqueId() {
                return result.hasEventUniqueId();
            }

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

            public Builder setEventUniqueId(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasEventUniqueId = true;
                result.eventUniqueId_ = value;
                return this;
            }

            public Builder clearEventUniqueId() {
                result.hasEventUniqueId = false;
                result.eventUniqueId_ = getDefaultInstance().getEventUniqueId();
                return this;
            }

            // optional int64 operationCounter = 2;
            public boolean hasOperationCounter() {
                return result.hasOperationCounter();
            }

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

            public Builder setOperationCounter(long value) {
                result.hasOperationCounter = true;
                result.operationCounter_ = value;
                return this;
            }

            public Builder clearOperationCounter() {
                result.hasOperationCounter = false;
                result.operationCounter_ = 0L;
                return this;
            }

            // optional int32 eventCounter = 3;
            public boolean hasEventCounter() {
                return result.hasEventCounter();
            }

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

            public Builder setEventCounter(int value) {
                result.hasEventCounter = true;
                result.eventCounter_ = value;
                return this;
            }

            public Builder clearEventCounter() {
                result.hasEventCounter = false;
                result.eventCounter_ = 0;
                return this;
            }

            // optional int32 queryChangeType = 4;
            public boolean hasQueryChangeType() {
                return result.hasQueryChangeType();
            }

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

            public Builder setQueryChangeType(int value) {
                result.hasQueryChangeType = true;
                result.queryChangeType_ = value;
                return this;
            }

            public Builder clearQueryChangeType() {
                result.hasQueryChangeType = false;
                result.queryChangeType_ = 0;
                return this;
            }

            // optional string queryId = 5;
            public boolean hasQueryId() {
                return result.hasQueryId();
            }

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

            public Builder setQueryId(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasQueryId = true;
                result.queryId_ = value;
                return this;
            }

            public Builder clearQueryId() {
                result.hasQueryId = false;
                result.queryId_ = getDefaultInstance().getQueryId();
                return this;
            }

            // optional int32 eventType = 6;
            public boolean hasEventType() {
                return result.hasEventType();
            }

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

            public Builder setEventType(int value) {
                result.hasEventType = true;
                result.eventType_ = value;
                return this;
            }

            public Builder clearEventType() {
                result.hasEventType = false;
                result.eventType_ = 0;
                return this;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy