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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class GetNextRecordResponseProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordResponse_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordResponse_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\033GetNextRecordResponse.proto\022%com.alach" +
                        "isoft.ncache.common.protobuf\"\210\002\n\025GetNext" +
                        "RecordResponse\022\013\n\003Key\030\001 \001(\014\022\r\n\005Value\030\002 \001" +
                        "(\014\022\020\n\010ClientId\030\003 \001(\t\022\020\n\010ClientIp\030\004 \001(\t\022\022" +
                        "\n\nClientPort\030\005 \001(\005\022\021\n\tClusterIp\030\006 \001(\t\022\023\n" +
                        "\013ClusterPort\030\007 \001(\005\022\022\n\nCallbackId\030\010 \001(\005\022\016" +
                        "\n\006TaskId\030\t \001(\t\022\024\n\014IsLastResult\030\n \001(\010\022\023\n\013" +
                        "NodeAddress\030\013 \001(\t\022\021\n\tcommandID\030\014 \001(\005\022\021\n\t" +
                        "requestId\030\r \001(\003B\037B\035GetNextRecordResponse" +
                        "Protocol"
        };
        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_GetNextRecordResponse_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordResponse_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordResponse_descriptor,
                                new java.lang.String[]{"Key", "Value", "ClientId", "ClientIp", "ClientPort", "ClusterIp", "ClusterPort", "CallbackId", "TaskId", "IsLastResult", "NodeAddress", "CommandID", "RequestId",},
                                com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse.class,
                                com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                        }, assigner);
    }
    private GetNextRecordResponseProtocol() {
    }

    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 GetNextRecordResponse extends
            com.google.protobuf.GeneratedMessage {
        // optional bytes Key = 1;
        public static final int KEY_FIELD_NUMBER = 1;
        // optional bytes Value = 2;
        public static final int VALUE_FIELD_NUMBER = 2;
        // optional string ClientId = 3;
        public static final int CLIENTID_FIELD_NUMBER = 3;
        // optional string ClientIp = 4;
        public static final int CLIENTIP_FIELD_NUMBER = 4;
        // optional int32 ClientPort = 5;
        public static final int CLIENTPORT_FIELD_NUMBER = 5;
        // optional string ClusterIp = 6;
        public static final int CLUSTERIP_FIELD_NUMBER = 6;
        // optional int32 ClusterPort = 7;
        public static final int CLUSTERPORT_FIELD_NUMBER = 7;
        // optional int32 CallbackId = 8;
        public static final int CALLBACKID_FIELD_NUMBER = 8;
        // optional string TaskId = 9;
        public static final int TASKID_FIELD_NUMBER = 9;
        // optional bool IsLastResult = 10;
        public static final int ISLASTRESULT_FIELD_NUMBER = 10;
        // optional string NodeAddress = 11;
        public static final int NODEADDRESS_FIELD_NUMBER = 11;
        // optional int32 commandID = 12;
        public static final int COMMANDID_FIELD_NUMBER = 12;
        // optional int64 requestId = 13;
        public static final int REQUESTID_FIELD_NUMBER = 13;
        private static final GetNextRecordResponse defaultInstance;

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

        private boolean hasKey;
        private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasValue;
        private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasClientId;
        private java.lang.String clientId_ = "";
        private boolean hasClientIp;
        private java.lang.String clientIp_ = "";
        private boolean hasClientPort;
        private int clientPort_ = 0;
        private boolean hasClusterIp;
        private java.lang.String clusterIp_ = "";
        private boolean hasClusterPort;
        private int clusterPort_ = 0;
        private boolean hasCallbackId;
        private int callbackId_ = 0;
        private boolean hasTaskId;
        private java.lang.String taskId_ = "";
        private boolean hasIsLastResult;
        private boolean isLastResult_ = false;
        private boolean hasNodeAddress;
        private java.lang.String nodeAddress_ = "";
        private boolean hasCommandID;
        private int commandID_ = 0;
        private boolean hasRequestId;
        private long requestId_ = 0L;
        private int memoizedSerializedSize = -1;

        // Use GetNextRecordResponse.newBuilder() to construct.
        private GetNextRecordResponse() {
            initFields();
        }
        private GetNextRecordResponse(boolean noInit) {
        }

        public static GetNextRecordResponse getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public GetNextRecordResponse getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasKey() {
            return hasKey;
        }

        public com.google.protobuf.ByteString getKey() {
            return key_;
        }

        public boolean hasValue() {
            return hasValue;
        }

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

        public boolean hasClientId() {
            return hasClientId;
        }

        public java.lang.String getClientId() {
            return clientId_;
        }

        public boolean hasClientIp() {
            return hasClientIp;
        }

        public java.lang.String getClientIp() {
            return clientIp_;
        }

        public boolean hasClientPort() {
            return hasClientPort;
        }

        public int getClientPort() {
            return clientPort_;
        }

        public boolean hasClusterIp() {
            return hasClusterIp;
        }

        public java.lang.String getClusterIp() {
            return clusterIp_;
        }

        public boolean hasClusterPort() {
            return hasClusterPort;
        }

        public int getClusterPort() {
            return clusterPort_;
        }

        public boolean hasCallbackId() {
            return hasCallbackId;
        }

        public int getCallbackId() {
            return callbackId_;
        }

        public boolean hasTaskId() {
            return hasTaskId;
        }

        public java.lang.String getTaskId() {
            return taskId_;
        }

        public boolean hasIsLastResult() {
            return hasIsLastResult;
        }

        public boolean getIsLastResult() {
            return isLastResult_;
        }

        public boolean hasNodeAddress() {
            return hasNodeAddress;
        }

        public java.lang.String getNodeAddress() {
            return nodeAddress_;
        }

        public boolean hasCommandID() {
            return hasCommandID;
        }

        public int getCommandID() {
            return commandID_;
        }

        public boolean hasRequestId() {
            return hasRequestId;
        }

        public long getRequestId() {
            return requestId_;
        }

        private void initFields() {
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasKey()) {
                output.writeBytes(1, getKey());
            }
            if (hasValue()) {
                output.writeBytes(2, getValue());
            }
            if (hasClientId()) {
                output.writeString(3, getClientId());
            }
            if (hasClientIp()) {
                output.writeString(4, getClientIp());
            }
            if (hasClientPort()) {
                output.writeInt32(5, getClientPort());
            }
            if (hasClusterIp()) {
                output.writeString(6, getClusterIp());
            }
            if (hasClusterPort()) {
                output.writeInt32(7, getClusterPort());
            }
            if (hasCallbackId()) {
                output.writeInt32(8, getCallbackId());
            }
            if (hasTaskId()) {
                output.writeString(9, getTaskId());
            }
            if (hasIsLastResult()) {
                output.writeBool(10, getIsLastResult());
            }
            if (hasNodeAddress()) {
                output.writeString(11, getNodeAddress());
            }
            if (hasCommandID()) {
                output.writeInt32(12, getCommandID());
            }
            if (hasRequestId()) {
                output.writeInt64(13, getRequestId());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasKey()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(1, getKey());
            }
            if (hasValue()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(2, getValue());
            }
            if (hasClientId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(3, getClientId());
            }
            if (hasClientIp()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(4, getClientIp());
            }
            if (hasClientPort()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(5, getClientPort());
            }
            if (hasClusterIp()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(6, getClusterIp());
            }
            if (hasClusterPort()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(7, getClusterPort());
            }
            if (hasCallbackId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(8, getCallbackId());
            }
            if (hasTaskId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(9, getTaskId());
            }
            if (hasIsLastResult()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBoolSize(10, getIsLastResult());
            }
            if (hasNodeAddress()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(11, getNodeAddress());
            }
            if (hasCommandID()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(12, getCommandID());
            }
            if (hasRequestId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(13, getRequestId());
            }
            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.GetNextRecordResponseProtocol.GetNextRecordResponse result;

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

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

            protected com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse other) {
                if (other == com.alachisoft.ncache.common.protobuf.GetNextRecordResponseProtocol.GetNextRecordResponse.getDefaultInstance())
                    return this;
                if (other.hasKey()) {
                    setKey(other.getKey());
                }
                if (other.hasValue()) {
                    setValue(other.getValue());
                }
                if (other.hasClientId()) {
                    setClientId(other.getClientId());
                }
                if (other.hasClientIp()) {
                    setClientIp(other.getClientIp());
                }
                if (other.hasClientPort()) {
                    setClientPort(other.getClientPort());
                }
                if (other.hasClusterIp()) {
                    setClusterIp(other.getClusterIp());
                }
                if (other.hasClusterPort()) {
                    setClusterPort(other.getClusterPort());
                }
                if (other.hasCallbackId()) {
                    setCallbackId(other.getCallbackId());
                }
                if (other.hasTaskId()) {
                    setTaskId(other.getTaskId());
                }
                if (other.hasIsLastResult()) {
                    setIsLastResult(other.getIsLastResult());
                }
                if (other.hasNodeAddress()) {
                    setNodeAddress(other.getNodeAddress());
                }
                if (other.hasCommandID()) {
                    setCommandID(other.getCommandID());
                }
                if (other.hasRequestId()) {
                    setRequestId(other.getRequestId());
                }
                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.readBytes());
                            break;
                        }
                        case 18: {
                            setValue(input.readBytes());
                            break;
                        }
                        case 26: {
                            setClientId(input.readString());
                            break;
                        }
                        case 34: {
                            setClientIp(input.readString());
                            break;
                        }
                        case 40: {
                            setClientPort(input.readInt32());
                            break;
                        }
                        case 50: {
                            setClusterIp(input.readString());
                            break;
                        }
                        case 56: {
                            setClusterPort(input.readInt32());
                            break;
                        }
                        case 64: {
                            setCallbackId(input.readInt32());
                            break;
                        }
                        case 74: {
                            setTaskId(input.readString());
                            break;
                        }
                        case 80: {
                            setIsLastResult(input.readBool());
                            break;
                        }
                        case 90: {
                            setNodeAddress(input.readString());
                            break;
                        }
                        case 96: {
                            setCommandID(input.readInt32());
                            break;
                        }
                        case 104: {
                            setRequestId(input.readInt64());
                            break;
                        }
                    }
                }
            }


            // optional bytes Key = 1;
            public boolean hasKey() {
                return result.hasKey();
            }

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

            public Builder setKey(com.google.protobuf.ByteString 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 bytes Value = 2;
            public boolean hasValue() {
                return result.hasValue();
            }

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

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

            public Builder clearValue() {
                result.hasValue = false;
                result.value_ = getDefaultInstance().getValue();
                return this;
            }

            // optional string ClientId = 3;
            public boolean hasClientId() {
                return result.hasClientId();
            }

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

            public Builder setClientId(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasClientId = true;
                result.clientId_ = value;
                return this;
            }

            public Builder clearClientId() {
                result.hasClientId = false;
                result.clientId_ = getDefaultInstance().getClientId();
                return this;
            }

            // optional string ClientIp = 4;
            public boolean hasClientIp() {
                return result.hasClientIp();
            }

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

            public Builder setClientIp(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasClientIp = true;
                result.clientIp_ = value;
                return this;
            }

            public Builder clearClientIp() {
                result.hasClientIp = false;
                result.clientIp_ = getDefaultInstance().getClientIp();
                return this;
            }

            // optional int32 ClientPort = 5;
            public boolean hasClientPort() {
                return result.hasClientPort();
            }

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

            public Builder setClientPort(int value) {
                result.hasClientPort = true;
                result.clientPort_ = value;
                return this;
            }

            public Builder clearClientPort() {
                result.hasClientPort = false;
                result.clientPort_ = 0;
                return this;
            }

            // optional string ClusterIp = 6;
            public boolean hasClusterIp() {
                return result.hasClusterIp();
            }

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

            public Builder setClusterIp(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasClusterIp = true;
                result.clusterIp_ = value;
                return this;
            }

            public Builder clearClusterIp() {
                result.hasClusterIp = false;
                result.clusterIp_ = getDefaultInstance().getClusterIp();
                return this;
            }

            // optional int32 ClusterPort = 7;
            public boolean hasClusterPort() {
                return result.hasClusterPort();
            }

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

            public Builder setClusterPort(int value) {
                result.hasClusterPort = true;
                result.clusterPort_ = value;
                return this;
            }

            public Builder clearClusterPort() {
                result.hasClusterPort = false;
                result.clusterPort_ = 0;
                return this;
            }

            // optional int32 CallbackId = 8;
            public boolean hasCallbackId() {
                return result.hasCallbackId();
            }

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

            public Builder setCallbackId(int value) {
                result.hasCallbackId = true;
                result.callbackId_ = value;
                return this;
            }

            public Builder clearCallbackId() {
                result.hasCallbackId = false;
                result.callbackId_ = 0;
                return this;
            }

            // optional string TaskId = 9;
            public boolean hasTaskId() {
                return result.hasTaskId();
            }

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

            public Builder setTaskId(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasTaskId = true;
                result.taskId_ = value;
                return this;
            }

            public Builder clearTaskId() {
                result.hasTaskId = false;
                result.taskId_ = getDefaultInstance().getTaskId();
                return this;
            }

            // optional bool IsLastResult = 10;
            public boolean hasIsLastResult() {
                return result.hasIsLastResult();
            }

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

            public Builder setIsLastResult(boolean value) {
                result.hasIsLastResult = true;
                result.isLastResult_ = value;
                return this;
            }

            public Builder clearIsLastResult() {
                result.hasIsLastResult = false;
                result.isLastResult_ = false;
                return this;
            }

            // optional string NodeAddress = 11;
            public boolean hasNodeAddress() {
                return result.hasNodeAddress();
            }

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

            public Builder setNodeAddress(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasNodeAddress = true;
                result.nodeAddress_ = value;
                return this;
            }

            public Builder clearNodeAddress() {
                result.hasNodeAddress = false;
                result.nodeAddress_ = getDefaultInstance().getNodeAddress();
                return this;
            }

            // optional int32 commandID = 12;
            public boolean hasCommandID() {
                return result.hasCommandID();
            }

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

            public Builder setCommandID(int value) {
                result.hasCommandID = true;
                result.commandID_ = value;
                return this;
            }

            public Builder clearCommandID() {
                result.hasCommandID = false;
                result.commandID_ = 0;
                return this;
            }

            // optional int64 requestId = 13;
            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;
            }

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

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy