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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class OpenStreamCommandProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_OpenStreamCommand_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_OpenStreamCommand_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\027OpenStreamCommand.proto\022%com.alachisof" +
                        "t.ncache.common.protobuf\032\020Dependency.pro" +
                        "to\"\223\002\n\021OpenStreamCommand\022\013\n\003key\030\001 \001(\t\022\022\n" +
                        "\nstreamMode\030\002 \001(\005\022\r\n\005group\030\003 \001(\t\022\020\n\010subG" +
                        "roup\030\004 \001(\t\022\032\n\022absoluteExpiration\030\005 \001(\003\022\031" +
                        "\n\021slidingExpiration\030\006 \001(\003\022\020\n\010priority\030\007 " +
                        "\001(\005\022\021\n\trequestId\030\010 \001(\003\022E\n\ndependency\030\t \001" +
                        "(\01321.com.alachisoft.ncache.common.protob" +
                        "uf.Dependency\022\031\n\016MethodOverload\030\n \001(\005:\0010" +
                        "B\033B\031OpenStreamCommandProtocol"
        };
        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_OpenStreamCommand_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_OpenStreamCommand_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_OpenStreamCommand_descriptor,
                                new java.lang.String[]{"Key", "StreamMode", "Group", "SubGroup", "AbsoluteExpiration", "SlidingExpiration", "Priority", "RequestId", "Dependency", "MethodOverload",},
                                com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand.class,
                                com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                                com.alachisoft.ncache.common.protobuf.DependencyProtocol.getDescriptor(),
                        }, assigner);
    }
    private OpenStreamCommandProtocol() {
    }

    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 OpenStreamCommand extends
            com.google.protobuf.GeneratedMessage {
        // optional string key = 1;
        public static final int KEY_FIELD_NUMBER = 1;
        // optional int32 streamMode = 2;
        public static final int STREAMMODE_FIELD_NUMBER = 2;
        // optional string group = 3;
        public static final int GROUP_FIELD_NUMBER = 3;
        // optional string subGroup = 4;
        public static final int SUBGROUP_FIELD_NUMBER = 4;
        // optional int64 absoluteExpiration = 5;
        public static final int ABSOLUTEEXPIRATION_FIELD_NUMBER = 5;
        // optional int64 slidingExpiration = 6;
        public static final int SLIDINGEXPIRATION_FIELD_NUMBER = 6;
        // optional int32 priority = 7;
        public static final int PRIORITY_FIELD_NUMBER = 7;
        // optional int64 requestId = 8;
        public static final int REQUESTID_FIELD_NUMBER = 8;
        // optional .com.alachisoft.ncache.common.protobuf.Dependency dependency = 9;
        public static final int DEPENDENCY_FIELD_NUMBER = 9;
        // optional int32 MethodOverload = 10 [default = 0];
        public static final int METHODOVERLOAD_FIELD_NUMBER = 10;
        private static final OpenStreamCommand defaultInstance;

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

        private boolean hasKey;
        private java.lang.String key_ = "";
        private boolean hasStreamMode;
        private int streamMode_ = 0;
        private boolean hasGroup;
        private java.lang.String group_ = "";
        private boolean hasSubGroup;
        private java.lang.String subGroup_ = "";
        private boolean hasAbsoluteExpiration;
        private long absoluteExpiration_ = 0L;
        private boolean hasSlidingExpiration;
        private long slidingExpiration_ = 0L;
        private boolean hasPriority;
        private int priority_ = 0;
        private boolean hasRequestId;
        private long requestId_ = 0L;
        private boolean hasDependency;
        private com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency dependency_;
        private boolean hasMethodOverload;
        private int methodOverload_ = 0;
        private int memoizedSerializedSize = -1;
        // Use OpenStreamCommand.newBuilder() to construct.
        private OpenStreamCommand() {
            initFields();
        }
        private OpenStreamCommand(boolean noInit) {
        }

        public static OpenStreamCommand getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public OpenStreamCommand getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasKey() {
            return hasKey;
        }

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

        public boolean hasStreamMode() {
            return hasStreamMode;
        }

        public int getStreamMode() {
            return streamMode_;
        }

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

        public long getAbsoluteExpiration() {
            return absoluteExpiration_;
        }

        public boolean hasSlidingExpiration() {
            return hasSlidingExpiration;
        }

        public long getSlidingExpiration() {
            return slidingExpiration_;
        }

        public boolean hasPriority() {
            return hasPriority;
        }

        public int getPriority() {
            return priority_;
        }

        public boolean hasRequestId() {
            return hasRequestId;
        }

        public long getRequestId() {
            return requestId_;
        }

        public boolean hasDependency() {
            return hasDependency;
        }

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

        public boolean hasMethodOverload() {
            return hasMethodOverload;
        }

        public int getMethodOverload() {
            return methodOverload_;
        }

        private void initFields() {
            dependency_ = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance();
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasKey()) {
                output.writeString(1, getKey());
            }
            if (hasStreamMode()) {
                output.writeInt32(2, getStreamMode());
            }
            if (hasGroup()) {
                output.writeString(3, getGroup());
            }
            if (hasSubGroup()) {
                output.writeString(4, getSubGroup());
            }
            if (hasAbsoluteExpiration()) {
                output.writeInt64(5, getAbsoluteExpiration());
            }
            if (hasSlidingExpiration()) {
                output.writeInt64(6, getSlidingExpiration());
            }
            if (hasPriority()) {
                output.writeInt32(7, getPriority());
            }
            if (hasRequestId()) {
                output.writeInt64(8, getRequestId());
            }
            if (hasDependency()) {
                output.writeMessage(9, getDependency());
            }
            if (hasMethodOverload()) {
                output.writeInt32(10, getMethodOverload());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasKey()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(1, getKey());
            }
            if (hasStreamMode()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(2, getStreamMode());
            }
            if (hasGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(3, getGroup());
            }
            if (hasSubGroup()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(4, getSubGroup());
            }
            if (hasAbsoluteExpiration()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(5, getAbsoluteExpiration());
            }
            if (hasSlidingExpiration()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(6, getSlidingExpiration());
            }
            if (hasPriority()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(7, getPriority());
            }
            if (hasRequestId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(8, getRequestId());
            }
            if (hasDependency()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeMessageSize(9, getDependency());
            }
            if (hasMethodOverload()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(10, getMethodOverload());
            }
            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.OpenStreamCommandProtocol.OpenStreamCommand result;

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

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

            protected com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand other) {
                if (other == com.alachisoft.ncache.common.protobuf.OpenStreamCommandProtocol.OpenStreamCommand.getDefaultInstance())
                    return this;
                if (other.hasKey()) {
                    setKey(other.getKey());
                }
                if (other.hasStreamMode()) {
                    setStreamMode(other.getStreamMode());
                }
                if (other.hasGroup()) {
                    setGroup(other.getGroup());
                }
                if (other.hasSubGroup()) {
                    setSubGroup(other.getSubGroup());
                }
                if (other.hasAbsoluteExpiration()) {
                    setAbsoluteExpiration(other.getAbsoluteExpiration());
                }
                if (other.hasSlidingExpiration()) {
                    setSlidingExpiration(other.getSlidingExpiration());
                }
                if (other.hasPriority()) {
                    setPriority(other.getPriority());
                }
                if (other.hasRequestId()) {
                    setRequestId(other.getRequestId());
                }
                if (other.hasDependency()) {
                    mergeDependency(other.getDependency());
                }
                if (other.hasMethodOverload()) {
                    setMethodOverload(other.getMethodOverload());
                }
                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: {
                            setKey(input.readString());
                            break;
                        }
                        case 16: {
                            setStreamMode(input.readInt32());
                            break;
                        }
                        case 26: {
                            setGroup(input.readString());
                            break;
                        }
                        case 34: {
                            setSubGroup(input.readString());
                            break;
                        }
                        case 40: {
                            setAbsoluteExpiration(input.readInt64());
                            break;
                        }
                        case 48: {
                            setSlidingExpiration(input.readInt64());
                            break;
                        }
                        case 56: {
                            setPriority(input.readInt32());
                            break;
                        }
                        case 64: {
                            setRequestId(input.readInt64());
                            break;
                        }
                        case 74: {
                            com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.Builder subBuilder = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.newBuilder();
                            if (hasDependency()) {
                                subBuilder.mergeFrom(getDependency());
                            }
                            input.readMessage(subBuilder, extensionRegistry);
                            setDependency(subBuilder.buildPartial());
                            break;
                        }
                        case 80: {
                            setMethodOverload(input.readInt32());
                            break;
                        }
                    }
                }
            }


            // optional string key = 1;
            public boolean hasKey() {
                return result.hasKey();
            }

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

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

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

            // optional int32 streamMode = 2;
            public boolean hasStreamMode() {
                return result.hasStreamMode();
            }

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

            public Builder setStreamMode(int value) {
                result.hasStreamMode = true;
                result.streamMode_ = value;
                return this;
            }

            public Builder clearStreamMode() {
                result.hasStreamMode = false;
                result.streamMode_ = 0;
                return this;
            }

            // optional string group = 3;
            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 = 4;
            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 int64 absoluteExpiration = 5;
            public boolean hasAbsoluteExpiration() {
                return result.hasAbsoluteExpiration();
            }

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

            public Builder setAbsoluteExpiration(long value) {
                result.hasAbsoluteExpiration = true;
                result.absoluteExpiration_ = value;
                return this;
            }

            public Builder clearAbsoluteExpiration() {
                result.hasAbsoluteExpiration = false;
                result.absoluteExpiration_ = 0L;
                return this;
            }

            // optional int64 slidingExpiration = 6;
            public boolean hasSlidingExpiration() {
                return result.hasSlidingExpiration();
            }

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

            public Builder setSlidingExpiration(long value) {
                result.hasSlidingExpiration = true;
                result.slidingExpiration_ = value;
                return this;
            }

            public Builder clearSlidingExpiration() {
                result.hasSlidingExpiration = false;
                result.slidingExpiration_ = 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 int64 requestId = 8;
            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 .com.alachisoft.ncache.common.protobuf.Dependency dependency = 9;
            public boolean hasDependency() {
                return result.hasDependency();
            }

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

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

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

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

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

            // optional int32 MethodOverload = 10 [default = 0];
            public boolean hasMethodOverload() {
                return result.hasMethodOverload();
            }

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

            public Builder setMethodOverload(int value) {
                result.hasMethodOverload = true;
                result.methodOverload_ = value;
                return this;
            }

            public Builder clearMethodOverload() {
                result.hasMethodOverload = false;
                result.methodOverload_ = 0;
                return this;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy