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

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

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

package com.alachisoft.ncache.common.protobuf;

public final class MapReduceTaskCommandProtocol {
    private static com.google.protobuf.Descriptors.Descriptor
            internal_static_com_alachisoft_ncache_common_protobuf_MapReduceTaskCommand_descriptor;
    private static
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
            internal_static_com_alachisoft_ncache_common_protobuf_MapReduceTaskCommand_fieldAccessorTable;
    private static com.google.protobuf.Descriptors.FileDescriptor
            descriptor;

    static {
        java.lang.String[] descriptorData = {
                "\n\032MapReduceTaskCommand.proto\022%com.alachi" +
                        "soft.ncache.common.protobuf\"\203\002\n\024MapReduc" +
                        "eTaskCommand\022\021\n\trequestId\030\001 \001(\003\022\022\n\ncallb" +
                        "ackId\030\002 \001(\005\022\024\n\014outputOption\030\003 \001(\005\022\016\n\006tas" +
                        "kId\030\004 \001(\t\022\016\n\006mapper\030\005 \001(\014\022\017\n\007reducer\030\006 \001" +
                        "(\014\022\020\n\010combiner\030\007 \001(\014\022\021\n\tkeyFilter\030\010 \001(\014\022" +
                        "\025\n\rinputProvider\030\t \001(\014\022\r\n\005query\030\n \001(\t\022\027\n" +
                        "\017queryParameters\030\013 \001(\014\022\031\n\016MethodOverload" +
                        "\030\014 \001(\005:\0010B\036B\034MapReduceTaskCommandProtoco" +
                        "l"
        };
        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_MapReduceTaskCommand_descriptor =
                                getDescriptor().getMessageTypes().get(0);
                        internal_static_com_alachisoft_ncache_common_protobuf_MapReduceTaskCommand_fieldAccessorTable = new
                                com.google.protobuf.GeneratedMessage.FieldAccessorTable(
                                internal_static_com_alachisoft_ncache_common_protobuf_MapReduceTaskCommand_descriptor,
                                new java.lang.String[]{"RequestId", "CallbackId", "OutputOption", "TaskId", "Mapper", "Reducer", "Combiner", "KeyFilter", "InputProvider", "Query", "QueryParameters", "MethodOverload",},
                                com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand.class,
                                com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand.Builder.class);
                        return null;
                    }
                };
        com.google.protobuf.Descriptors.FileDescriptor
                .internalBuildGeneratedFileFrom(descriptorData,
                        new com.google.protobuf.Descriptors.FileDescriptor[]{
                        }, assigner);
    }
    private MapReduceTaskCommandProtocol() {
    }

    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 MapReduceTaskCommand extends
            com.google.protobuf.GeneratedMessage {
        // optional int64 requestId = 1;
        public static final int REQUESTID_FIELD_NUMBER = 1;
        // optional int32 callbackId = 2;
        public static final int CALLBACKID_FIELD_NUMBER = 2;
        // optional int32 outputOption = 3;
        public static final int OUTPUTOPTION_FIELD_NUMBER = 3;
        // optional string taskId = 4;
        public static final int TASKID_FIELD_NUMBER = 4;
        // optional bytes mapper = 5;
        public static final int MAPPER_FIELD_NUMBER = 5;
        // optional bytes reducer = 6;
        public static final int REDUCER_FIELD_NUMBER = 6;
        // optional bytes combiner = 7;
        public static final int COMBINER_FIELD_NUMBER = 7;
        // optional bytes keyFilter = 8;
        public static final int KEYFILTER_FIELD_NUMBER = 8;
        // optional bytes inputProvider = 9;
        public static final int INPUTPROVIDER_FIELD_NUMBER = 9;
        // optional string query = 10;
        public static final int QUERY_FIELD_NUMBER = 10;
        // optional bytes queryParameters = 11;
        public static final int QUERYPARAMETERS_FIELD_NUMBER = 11;
        // optional int32 MethodOverload = 12 [default = 0];
        public static final int METHODOVERLOAD_FIELD_NUMBER = 12;
        private static final MapReduceTaskCommand defaultInstance;

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

        private boolean hasRequestId;
        private long requestId_ = 0L;
        private boolean hasCallbackId;
        private int callbackId_ = 0;
        private boolean hasOutputOption;
        private int outputOption_ = 0;
        private boolean hasTaskId;
        private java.lang.String taskId_ = "";
        private boolean hasMapper;
        private com.google.protobuf.ByteString mapper_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasReducer;
        private com.google.protobuf.ByteString reducer_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasCombiner;
        private com.google.protobuf.ByteString combiner_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasKeyFilter;
        private com.google.protobuf.ByteString keyFilter_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasInputProvider;
        private com.google.protobuf.ByteString inputProvider_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasQuery;
        private java.lang.String query_ = "";
        private boolean hasQueryParameters;
        private com.google.protobuf.ByteString queryParameters_ = com.google.protobuf.ByteString.EMPTY;
        private boolean hasMethodOverload;
        private int methodOverload_ = 0;
        private int memoizedSerializedSize = -1;
        // Use MapReduceTaskCommand.newBuilder() to construct.
        private MapReduceTaskCommand() {
            initFields();
        }

        private MapReduceTaskCommand(boolean noInit) {
        }

        public static MapReduceTaskCommand getDefaultInstance() {
            return defaultInstance;
        }

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

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

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

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

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

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

        public MapReduceTaskCommand getDefaultInstanceForType() {
            return defaultInstance;
        }

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

        public boolean hasRequestId() {
            return hasRequestId;
        }

        public long getRequestId() {
            return requestId_;
        }

        public boolean hasCallbackId() {
            return hasCallbackId;
        }

        public int getCallbackId() {
            return callbackId_;
        }

        public boolean hasOutputOption() {
            return hasOutputOption;
        }

        public int getOutputOption() {
            return outputOption_;
        }

        public boolean hasTaskId() {
            return hasTaskId;
        }

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

        public boolean hasMapper() {
            return hasMapper;
        }

        public com.google.protobuf.ByteString getMapper() {
            return mapper_;
        }

        public boolean hasReducer() {
            return hasReducer;
        }

        public com.google.protobuf.ByteString getReducer() {
            return reducer_;
        }

        public boolean hasCombiner() {
            return hasCombiner;
        }

        public com.google.protobuf.ByteString getCombiner() {
            return combiner_;
        }

        public boolean hasKeyFilter() {
            return hasKeyFilter;
        }

        public com.google.protobuf.ByteString getKeyFilter() {
            return keyFilter_;
        }

        public boolean hasInputProvider() {
            return hasInputProvider;
        }

        public com.google.protobuf.ByteString getInputProvider() {
            return inputProvider_;
        }

        public boolean hasQuery() {
            return hasQuery;
        }

        public java.lang.String getQuery() {
            return query_;
        }

        public boolean hasQueryParameters() {
            return hasQueryParameters;
        }

        public com.google.protobuf.ByteString getQueryParameters() {
            return queryParameters_;
        }

        public boolean hasMethodOverload() {
            return hasMethodOverload;
        }

        public int getMethodOverload() {
            return methodOverload_;
        }

        private void initFields() {
        }

        public final boolean isInitialized() {
            return true;
        }

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                throws java.io.IOException {
            getSerializedSize();
            if (hasRequestId()) {
                output.writeInt64(1, getRequestId());
            }
            if (hasCallbackId()) {
                output.writeInt32(2, getCallbackId());
            }
            if (hasOutputOption()) {
                output.writeInt32(3, getOutputOption());
            }
            if (hasTaskId()) {
                output.writeString(4, getTaskId());
            }
            if (hasMapper()) {
                output.writeBytes(5, getMapper());
            }
            if (hasReducer()) {
                output.writeBytes(6, getReducer());
            }
            if (hasCombiner()) {
                output.writeBytes(7, getCombiner());
            }
            if (hasKeyFilter()) {
                output.writeBytes(8, getKeyFilter());
            }
            if (hasInputProvider()) {
                output.writeBytes(9, getInputProvider());
            }
            if (hasQuery()) {
                output.writeString(10, getQuery());
            }
            if (hasQueryParameters()) {
                output.writeBytes(11, getQueryParameters());
            }
            if (hasMethodOverload()) {
                output.writeInt32(12, getMethodOverload());
            }
            getUnknownFields().writeTo(output);
        }

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

            size = 0;
            if (hasRequestId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt64Size(1, getRequestId());
            }
            if (hasCallbackId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(2, getCallbackId());
            }
            if (hasOutputOption()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(3, getOutputOption());
            }
            if (hasTaskId()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(4, getTaskId());
            }
            if (hasMapper()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(5, getMapper());
            }
            if (hasReducer()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(6, getReducer());
            }
            if (hasCombiner()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(7, getCombiner());
            }
            if (hasKeyFilter()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(8, getKeyFilter());
            }
            if (hasInputProvider()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(9, getInputProvider());
            }
            if (hasQuery()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeStringSize(10, getQuery());
            }
            if (hasQueryParameters()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeBytesSize(11, getQueryParameters());
            }
            if (hasMethodOverload()) {
                size += com.google.protobuf.CodedOutputStream
                        .computeInt32Size(12, 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.MapReduceTaskCommandProtocol.MapReduceTaskCommand result;

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

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

            protected com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand internalGetResult() {
                return result;
            }

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

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

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

            public com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand getDefaultInstanceForType() {
                return com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand.getDefaultInstance();
            }

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

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

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

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

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

            public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand other) {
                if (other == com.alachisoft.ncache.common.protobuf.MapReduceTaskCommandProtocol.MapReduceTaskCommand.getDefaultInstance())
                    return this;
                if (other.hasRequestId()) {
                    setRequestId(other.getRequestId());
                }
                if (other.hasCallbackId()) {
                    setCallbackId(other.getCallbackId());
                }
                if (other.hasOutputOption()) {
                    setOutputOption(other.getOutputOption());
                }
                if (other.hasTaskId()) {
                    setTaskId(other.getTaskId());
                }
                if (other.hasMapper()) {
                    setMapper(other.getMapper());
                }
                if (other.hasReducer()) {
                    setReducer(other.getReducer());
                }
                if (other.hasCombiner()) {
                    setCombiner(other.getCombiner());
                }
                if (other.hasKeyFilter()) {
                    setKeyFilter(other.getKeyFilter());
                }
                if (other.hasInputProvider()) {
                    setInputProvider(other.getInputProvider());
                }
                if (other.hasQuery()) {
                    setQuery(other.getQuery());
                }
                if (other.hasQueryParameters()) {
                    setQueryParameters(other.getQueryParameters());
                }
                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 8: {
                            setRequestId(input.readInt64());
                            break;
                        }
                        case 16: {
                            setCallbackId(input.readInt32());
                            break;
                        }
                        case 24: {
                            setOutputOption(input.readInt32());
                            break;
                        }
                        case 34: {
                            setTaskId(input.readString());
                            break;
                        }
                        case 42: {
                            setMapper(input.readBytes());
                            break;
                        }
                        case 50: {
                            setReducer(input.readBytes());
                            break;
                        }
                        case 58: {
                            setCombiner(input.readBytes());
                            break;
                        }
                        case 66: {
                            setKeyFilter(input.readBytes());
                            break;
                        }
                        case 74: {
                            setInputProvider(input.readBytes());
                            break;
                        }
                        case 82: {
                            setQuery(input.readString());
                            break;
                        }
                        case 90: {
                            setQueryParameters(input.readBytes());
                            break;
                        }
                        case 96: {
                            setMethodOverload(input.readInt32());
                            break;
                        }
                    }
                }
            }


            // optional int64 requestId = 1;
            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 int32 callbackId = 2;
            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 int32 outputOption = 3;
            public boolean hasOutputOption() {
                return result.hasOutputOption();
            }

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

            public Builder setOutputOption(int value) {
                result.hasOutputOption = true;
                result.outputOption_ = value;
                return this;
            }

            public Builder clearOutputOption() {
                result.hasOutputOption = false;
                result.outputOption_ = 0;
                return this;
            }

            // optional string taskId = 4;
            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 bytes mapper = 5;
            public boolean hasMapper() {
                return result.hasMapper();
            }

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

            public Builder setMapper(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasMapper = true;
                result.mapper_ = value;
                return this;
            }

            public Builder clearMapper() {
                result.hasMapper = false;
                result.mapper_ = getDefaultInstance().getMapper();
                return this;
            }

            // optional bytes reducer = 6;
            public boolean hasReducer() {
                return result.hasReducer();
            }

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

            public Builder setReducer(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasReducer = true;
                result.reducer_ = value;
                return this;
            }

            public Builder clearReducer() {
                result.hasReducer = false;
                result.reducer_ = getDefaultInstance().getReducer();
                return this;
            }

            // optional bytes combiner = 7;
            public boolean hasCombiner() {
                return result.hasCombiner();
            }

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

            public Builder setCombiner(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasCombiner = true;
                result.combiner_ = value;
                return this;
            }

            public Builder clearCombiner() {
                result.hasCombiner = false;
                result.combiner_ = getDefaultInstance().getCombiner();
                return this;
            }

            // optional bytes keyFilter = 8;
            public boolean hasKeyFilter() {
                return result.hasKeyFilter();
            }

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

            public Builder setKeyFilter(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasKeyFilter = true;
                result.keyFilter_ = value;
                return this;
            }

            public Builder clearKeyFilter() {
                result.hasKeyFilter = false;
                result.keyFilter_ = getDefaultInstance().getKeyFilter();
                return this;
            }

            // optional bytes inputProvider = 9;
            public boolean hasInputProvider() {
                return result.hasInputProvider();
            }

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

            public Builder setInputProvider(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasInputProvider = true;
                result.inputProvider_ = value;
                return this;
            }

            public Builder clearInputProvider() {
                result.hasInputProvider = false;
                result.inputProvider_ = getDefaultInstance().getInputProvider();
                return this;
            }

            // optional string query = 10;
            public boolean hasQuery() {
                return result.hasQuery();
            }

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

            public Builder setQuery(java.lang.String value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasQuery = true;
                result.query_ = value;
                return this;
            }

            public Builder clearQuery() {
                result.hasQuery = false;
                result.query_ = getDefaultInstance().getQuery();
                return this;
            }

            // optional bytes queryParameters = 11;
            public boolean hasQueryParameters() {
                return result.hasQueryParameters();
            }

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

            public Builder setQueryParameters(com.google.protobuf.ByteString value) {
                if (value == null) {
                    throw new NullPointerException();
                }
                result.hasQueryParameters = true;
                result.queryParameters_ = value;
                return this;
            }

            public Builder clearQueryParameters() {
                result.hasQueryParameters = false;
                result.queryParameters_ = getDefaultInstance().getQueryParameters();
                return this;
            }

            // optional int32 MethodOverload = 12 [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.MapReduceTaskCommand)
        }

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

    // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy