com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InvokeEntryProcessorCommand.proto
package com.alachisoft.ncache.common.protobuf;
public final class InvokeEntryProcessorProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n!InvokeEntryProcessorCommand.proto\022%com" +
".alachisoft.ncache.common.protobuf\"\372\001\n\033I" +
"nvokeEntryProcessorCommand\022\014\n\004keys\030\001 \003(\t" +
"\022\026\n\016entryprocessor\030\002 \001(\014\022\021\n\targuments\030\003 " +
"\003(\014\022\024\n\014dsReadOption\030\004 \001(\003\022\027\n\017defaultRead" +
"Thru\030\005 \001(\t\022\025\n\rdsWriteOption\030\006 \001(\003\022\030\n\020def" +
"aultWriteThru\030\007 \001(\t\022\024\n\010readMode\030\010 \001(\005:\002-" +
"1\022\031\n\016MethodOverload\030\t \001(\005:\0010\022\021\n\trequestI" +
"d\030\n \001(\003B\036B\034InvokeEntryProcessorProtocol"
};
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_InvokeEntryProcessorCommand_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_descriptor,
new java.lang.String[]{"Keys", "Entryprocessor", "Arguments", "DsReadOption", "DefaultReadThru", "DsWriteOption", "DefaultWriteThru", "ReadMode", "MethodOverload", "RequestId",},
com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.class,
com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
}, assigner);
}
private InvokeEntryProcessorProtocol() {
}
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 InvokeEntryProcessorCommand extends
com.google.protobuf.GeneratedMessage {
// repeated string keys = 1;
public static final int KEYS_FIELD_NUMBER = 1;
// optional bytes entryprocessor = 2;
public static final int ENTRYPROCESSOR_FIELD_NUMBER = 2;
// repeated bytes arguments = 3;
public static final int ARGUMENTS_FIELD_NUMBER = 3;
// optional int64 dsReadOption = 4;
public static final int DSREADOPTION_FIELD_NUMBER = 4;
// optional string defaultReadThru = 5;
public static final int DEFAULTREADTHRU_FIELD_NUMBER = 5;
// optional int64 dsWriteOption = 6;
public static final int DSWRITEOPTION_FIELD_NUMBER = 6;
// optional string defaultWriteThru = 7;
public static final int DEFAULTWRITETHRU_FIELD_NUMBER = 7;
// optional int32 readMode = 8 [default = -1];
public static final int READMODE_FIELD_NUMBER = 8;
// optional int32 MethodOverload = 9 [default = 0];
public static final int METHODOVERLOAD_FIELD_NUMBER = 9;
// optional int64 requestId = 10;
public static final int REQUESTID_FIELD_NUMBER = 10;
private static final InvokeEntryProcessorCommand defaultInstance;
static {
defaultInstance = new InvokeEntryProcessorCommand(true);
com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.internalForceInit();
defaultInstance.initFields();
}
private java.util.List keys_ =
java.util.Collections.emptyList();
private boolean hasEntryprocessor;
private com.google.protobuf.ByteString entryprocessor_ = com.google.protobuf.ByteString.EMPTY;
private java.util.List arguments_ =
java.util.Collections.emptyList();
private boolean hasDsReadOption;
private long dsReadOption_ = 0L;
private boolean hasDefaultReadThru;
private java.lang.String defaultReadThru_ = "";
private boolean hasDsWriteOption;
private long dsWriteOption_ = 0L;
private boolean hasDefaultWriteThru;
private java.lang.String defaultWriteThru_ = "";
private boolean hasReadMode;
private int readMode_ = -1;
private boolean hasMethodOverload;
private int methodOverload_ = 0;
private boolean hasRequestId;
private long requestId_ = 0L;
private int memoizedSerializedSize = -1;
// Use InvokeEntryProcessorCommand.newBuilder() to construct.
private InvokeEntryProcessorCommand() {
initFields();
}
private InvokeEntryProcessorCommand(boolean noInit) {
}
public static InvokeEntryProcessorCommand getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand prototype) {
return newBuilder().mergeFrom(prototype);
}
public InvokeEntryProcessorCommand getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InvokeEntryProcessorCommand_fieldAccessorTable;
}
public java.util.List getKeysList() {
return keys_;
}
public int getKeysCount() {
return keys_.size();
}
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
public boolean hasEntryprocessor() {
return hasEntryprocessor;
}
public com.google.protobuf.ByteString getEntryprocessor() {
return entryprocessor_;
}
public java.util.List getArgumentsList() {
return arguments_;
}
public int getArgumentsCount() {
return arguments_.size();
}
public com.google.protobuf.ByteString getArguments(int index) {
return arguments_.get(index);
}
public boolean hasDsReadOption() {
return hasDsReadOption;
}
public long getDsReadOption() {
return dsReadOption_;
}
public boolean hasDefaultReadThru() {
return hasDefaultReadThru;
}
public java.lang.String getDefaultReadThru() {
return defaultReadThru_;
}
public boolean hasDsWriteOption() {
return hasDsWriteOption;
}
public long getDsWriteOption() {
return dsWriteOption_;
}
public boolean hasDefaultWriteThru() {
return hasDefaultWriteThru;
}
public java.lang.String getDefaultWriteThru() {
return defaultWriteThru_;
}
public boolean hasReadMode() {
return hasReadMode;
}
public int getReadMode() {
return readMode_;
}
public boolean hasMethodOverload() {
return hasMethodOverload;
}
public int getMethodOverload() {
return methodOverload_;
}
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();
for (java.lang.String element : getKeysList()) {
output.writeString(1, element);
}
if (hasEntryprocessor()) {
output.writeBytes(2, getEntryprocessor());
}
for (com.google.protobuf.ByteString element : getArgumentsList()) {
output.writeBytes(3, element);
}
if (hasDsReadOption()) {
output.writeInt64(4, getDsReadOption());
}
if (hasDefaultReadThru()) {
output.writeString(5, getDefaultReadThru());
}
if (hasDsWriteOption()) {
output.writeInt64(6, getDsWriteOption());
}
if (hasDefaultWriteThru()) {
output.writeString(7, getDefaultWriteThru());
}
if (hasReadMode()) {
output.writeInt32(8, getReadMode());
}
if (hasMethodOverload()) {
output.writeInt32(9, getMethodOverload());
}
if (hasRequestId()) {
output.writeInt64(10, getRequestId());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (java.lang.String element : getKeysList()) {
dataSize += com.google.protobuf.CodedOutputStream
.computeStringSizeNoTag(element);
}
size += dataSize;
size += 1 * getKeysList().size();
}
if (hasEntryprocessor()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getEntryprocessor());
}
{
int dataSize = 0;
for (com.google.protobuf.ByteString element : getArgumentsList()) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(element);
}
size += dataSize;
size += 1 * getArgumentsList().size();
}
if (hasDsReadOption()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, getDsReadOption());
}
if (hasDefaultReadThru()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(5, getDefaultReadThru());
}
if (hasDsWriteOption()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, getDsWriteOption());
}
if (hasDefaultWriteThru()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(7, getDefaultWriteThru());
}
if (hasReadMode()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, getReadMode());
}
if (hasMethodOverload()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, getMethodOverload());
}
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, 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.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand result;
// Construct using com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
if (result.keys_ != java.util.Collections.EMPTY_LIST) {
result.keys_ =
java.util.Collections.unmodifiableList(result.keys_);
}
if (result.arguments_ != java.util.Collections.EMPTY_LIST) {
result.arguments_ =
java.util.Collections.unmodifiableList(result.arguments_);
}
com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand other) {
if (other == com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorProtocol.InvokeEntryProcessorCommand.getDefaultInstance())
return this;
if (!other.keys_.isEmpty()) {
if (result.keys_.isEmpty()) {
result.keys_ = new java.util.ArrayList();
}
result.keys_.addAll(other.keys_);
}
if (other.hasEntryprocessor()) {
setEntryprocessor(other.getEntryprocessor());
}
if (!other.arguments_.isEmpty()) {
if (result.arguments_.isEmpty()) {
result.arguments_ = new java.util.ArrayList();
}
result.arguments_.addAll(other.arguments_);
}
if (other.hasDsReadOption()) {
setDsReadOption(other.getDsReadOption());
}
if (other.hasDefaultReadThru()) {
setDefaultReadThru(other.getDefaultReadThru());
}
if (other.hasDsWriteOption()) {
setDsWriteOption(other.getDsWriteOption());
}
if (other.hasDefaultWriteThru()) {
setDefaultWriteThru(other.getDefaultWriteThru());
}
if (other.hasReadMode()) {
setReadMode(other.getReadMode());
}
if (other.hasMethodOverload()) {
setMethodOverload(other.getMethodOverload());
}
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: {
addKeys(input.readString());
break;
}
case 18: {
setEntryprocessor(input.readBytes());
break;
}
case 26: {
addArguments(input.readBytes());
break;
}
case 32: {
setDsReadOption(input.readInt64());
break;
}
case 42: {
setDefaultReadThru(input.readString());
break;
}
case 48: {
setDsWriteOption(input.readInt64());
break;
}
case 58: {
setDefaultWriteThru(input.readString());
break;
}
case 64: {
setReadMode(input.readInt32());
break;
}
case 72: {
setMethodOverload(input.readInt32());
break;
}
case 80: {
setRequestId(input.readInt64());
break;
}
}
}
}
// repeated string keys = 1;
public java.util.List getKeysList() {
return java.util.Collections.unmodifiableList(result.keys_);
}
public int getKeysCount() {
return result.getKeysCount();
}
public java.lang.String getKeys(int index) {
return result.getKeys(index);
}
public Builder setKeys(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.keys_.set(index, value);
return this;
}
public Builder addKeys(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
if (result.keys_.isEmpty()) {
result.keys_ = new java.util.ArrayList();
}
result.keys_.add(value);
return this;
}
public Builder addAllKeys(
java.lang.Iterable extends java.lang.String> values) {
if (result.keys_.isEmpty()) {
result.keys_ = new java.util.ArrayList();
}
super.addAll(values, result.keys_);
return this;
}
public Builder clearKeys() {
result.keys_ = java.util.Collections.emptyList();
return this;
}
// optional bytes entryprocessor = 2;
public boolean hasEntryprocessor() {
return result.hasEntryprocessor();
}
public com.google.protobuf.ByteString getEntryprocessor() {
return result.getEntryprocessor();
}
public Builder setEntryprocessor(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.hasEntryprocessor = true;
result.entryprocessor_ = value;
return this;
}
public Builder clearEntryprocessor() {
result.hasEntryprocessor = false;
result.entryprocessor_ = getDefaultInstance().getEntryprocessor();
return this;
}
// repeated bytes arguments = 3;
public java.util.List getArgumentsList() {
return java.util.Collections.unmodifiableList(result.arguments_);
}
public int getArgumentsCount() {
return result.getArgumentsCount();
}
public com.google.protobuf.ByteString getArguments(int index) {
return result.getArguments(index);
}
public Builder setArguments(int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.arguments_.set(index, value);
return this;
}
public Builder addArguments(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
if (result.arguments_.isEmpty()) {
result.arguments_ = new java.util.ArrayList();
}
result.arguments_.add(value);
return this;
}
public Builder addAllArguments(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
if (result.arguments_.isEmpty()) {
result.arguments_ = new java.util.ArrayList();
}
super.addAll(values, result.arguments_);
return this;
}
public Builder clearArguments() {
result.arguments_ = java.util.Collections.emptyList();
return this;
}
// optional int64 dsReadOption = 4;
public boolean hasDsReadOption() {
return result.hasDsReadOption();
}
public long getDsReadOption() {
return result.getDsReadOption();
}
public Builder setDsReadOption(long value) {
result.hasDsReadOption = true;
result.dsReadOption_ = value;
return this;
}
public Builder clearDsReadOption() {
result.hasDsReadOption = false;
result.dsReadOption_ = 0L;
return this;
}
// optional string defaultReadThru = 5;
public boolean hasDefaultReadThru() {
return result.hasDefaultReadThru();
}
public java.lang.String getDefaultReadThru() {
return result.getDefaultReadThru();
}
public Builder setDefaultReadThru(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasDefaultReadThru = true;
result.defaultReadThru_ = value;
return this;
}
public Builder clearDefaultReadThru() {
result.hasDefaultReadThru = false;
result.defaultReadThru_ = getDefaultInstance().getDefaultReadThru();
return this;
}
// optional int64 dsWriteOption = 6;
public boolean hasDsWriteOption() {
return result.hasDsWriteOption();
}
public long getDsWriteOption() {
return result.getDsWriteOption();
}
public Builder setDsWriteOption(long value) {
result.hasDsWriteOption = true;
result.dsWriteOption_ = value;
return this;
}
public Builder clearDsWriteOption() {
result.hasDsWriteOption = false;
result.dsWriteOption_ = 0L;
return this;
}
// optional string defaultWriteThru = 7;
public boolean hasDefaultWriteThru() {
return result.hasDefaultWriteThru();
}
public java.lang.String getDefaultWriteThru() {
return result.getDefaultWriteThru();
}
public Builder setDefaultWriteThru(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasDefaultWriteThru = true;
result.defaultWriteThru_ = value;
return this;
}
public Builder clearDefaultWriteThru() {
result.hasDefaultWriteThru = false;
result.defaultWriteThru_ = getDefaultInstance().getDefaultWriteThru();
return this;
}
// optional int32 readMode = 8 [default = -1];
public boolean hasReadMode() {
return result.hasReadMode();
}
public int getReadMode() {
return result.getReadMode();
}
public Builder setReadMode(int value) {
result.hasReadMode = true;
result.readMode_ = value;
return this;
}
public Builder clearReadMode() {
result.hasReadMode = false;
result.readMode_ = -1;
return this;
}
// optional int32 MethodOverload = 9 [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;
}
// optional int64 requestId = 10;
public boolean hasRequestId() {
return result.hasRequestId();
}
public long getRequestId() {
return result.getRequestId();
}
public Builder setRequestId(long value) {
result.hasRequestId = true;
result.requestId_ = value;
return this;
}
public Builder clearRequestId() {
result.hasRequestId = false;
result.requestId_ = 0L;
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorCommand)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.InvokeEntryProcessorCommand)
}
// @@protoc_insertion_point(outer_class_scope)
}