com.alachisoft.ncache.common.protobuf.InsertCommandProtocol 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: InsertCommand.proto
package com.alachisoft.ncache.common.protobuf;
public final class InsertCommandProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023InsertCommand.proto\022%com.alachisoft.nc" +
"ache.common.protobuf\032\024SyncDependency.pro" +
"to\032\017QueryInfo.proto\032\rTagInfo.proto\032\020Depe" +
"ndency.proto\032\022NamedTagInfo.proto\032\025Object" +
"QueryInfo.proto\"\253\010\n\rInsertCommand\022\013\n\003key" +
"\030\001 \001(\t\022\021\n\trequestId\030\002 \001(\003\022\030\n\020updateCallb" +
"ackId\030\003 \001(\021\022\030\n\020removeCallbackId\030\004 \001(\021\022#\n" +
"\033datasourceUpdatedCallbackId\030\005 \001(\021\022\017\n\007is" +
"Async\030\006 \001(\010\022\020\n\010priority\030\007 \001(\005\022\025\n\rabsExpi" +
"ration\030\010 \001(\003\022\025\n\rsldExpiration\030\t \001(\003\022\020\n\010i",
"sResync\030\n \001(\010\022\r\n\005group\030\013 \001(\t\022\020\n\010subGroup" +
"\030\014 \001(\t\022\014\n\004flag\030\r \001(\005\022\024\n\014providerName\030\016 \001" +
"(\t\022\032\n\022resyncProviderName\030\017 \001(\t\022M\n\016syncDe" +
"pendency\030\020 \001(\01325.com.alachisoft.ncache.c" +
"ommon.protobuf.SyncDependency\022\016\n\006lockId\030" +
"\021 \001(\t\022\026\n\016lockAccessType\030\022 \001(\005\022\023\n\013itemVer" +
"sion\030\023 \001(\004\022C\n\tqueryInfo\030\024 \001(\01320.com.alac" +
"hisoft.ncache.common.protobuf.QueryInfo\022" +
"?\n\007tagInfo\030\025 \001(\0132..com.alachisoft.ncache" +
".common.protobuf.TagInfo\022E\n\ndependency\030\026",
" \001(\01321.com.alachisoft.ncache.common.prot" +
"obuf.Dependency\022\014\n\004data\030\027 \003(\014\022I\n\014namedTa" +
"gInfo\030\030 \001(\01323.com.alachisoft.ncache.comm" +
"on.protobuf.NamedTagInfo\022O\n\017objectQueryI" +
"nfo\030\031 \001(\01326.com.alachisoft.ncache.common" +
".protobuf.ObjectQueryInfo\022 \n\030objectQuery" +
"InfoEncrypted\030\032 \003(\014\022\034\n\020updateDataFilter\030" +
"\033 \001(\021:\002-1\022\034\n\020removeDataFilter\030\034 \001(\021:\002-1\022" +
"\020\n\010clientID\030\035 \001(\t\022\024\n\014CallbackType\030\036 \001(\021\022" +
"\021\n\tgroupType\030\037 \001(\t\022\017\n\007version\030 \001(\t\022\031\n\016M",
"ethodOverload\030! \001(\005:\0010\022\025\n\tcommandID\030\" \001(" +
"\005:\002-1B\027B\025InsertCommandProtocol"
};
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_InsertCommand_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_descriptor,
new java.lang.String[]{"Key", "RequestId", "UpdateCallbackId", "RemoveCallbackId", "DatasourceUpdatedCallbackId", "IsAsync", "Priority", "AbsExpiration", "SldExpiration", "IsResync", "Group", "SubGroup", "Flag", "ProviderName", "ResyncProviderName", "SyncDependency", "LockId", "LockAccessType", "ItemVersion", "QueryInfo", "TagInfo", "Dependency", "Data", "NamedTagInfo", "ObjectQueryInfo", "ObjectQueryInfoEncrypted", "UpdateDataFilter", "RemoveDataFilter", "ClientID", "CallbackType", "GroupType", "Version", "MethodOverload", "CommandID",},
com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.class,
com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.TagInfoProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.DependencyProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.getDescriptor(),
}, assigner);
}
private InsertCommandProtocol() {
}
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 InsertCommand extends
com.google.protobuf.GeneratedMessage {
// optional string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
// optional int64 requestId = 2;
public static final int REQUESTID_FIELD_NUMBER = 2;
// optional sint32 updateCallbackId = 3;
public static final int UPDATECALLBACKID_FIELD_NUMBER = 3;
// optional sint32 removeCallbackId = 4;
public static final int REMOVECALLBACKID_FIELD_NUMBER = 4;
// optional sint32 datasourceUpdatedCallbackId = 5;
public static final int DATASOURCEUPDATEDCALLBACKID_FIELD_NUMBER = 5;
// optional bool isAsync = 6;
public static final int ISASYNC_FIELD_NUMBER = 6;
// optional int32 priority = 7;
public static final int PRIORITY_FIELD_NUMBER = 7;
// optional int64 absExpiration = 8;
public static final int ABSEXPIRATION_FIELD_NUMBER = 8;
// optional int64 sldExpiration = 9;
public static final int SLDEXPIRATION_FIELD_NUMBER = 9;
// optional bool isResync = 10;
public static final int ISRESYNC_FIELD_NUMBER = 10;
// optional string group = 11;
public static final int GROUP_FIELD_NUMBER = 11;
// optional string subGroup = 12;
public static final int SUBGROUP_FIELD_NUMBER = 12;
// optional int32 flag = 13;
public static final int FLAG_FIELD_NUMBER = 13;
// optional string providerName = 14;
public static final int PROVIDERNAME_FIELD_NUMBER = 14;
// optional string resyncProviderName = 15;
public static final int RESYNCPROVIDERNAME_FIELD_NUMBER = 15;
// optional .com.alachisoft.ncache.common.protobuf.SyncDependency syncDependency = 16;
public static final int SYNCDEPENDENCY_FIELD_NUMBER = 16;
// optional string lockId = 17;
public static final int LOCKID_FIELD_NUMBER = 17;
// optional int32 lockAccessType = 18;
public static final int LOCKACCESSTYPE_FIELD_NUMBER = 18;
// optional uint64 itemVersion = 19;
public static final int ITEMVERSION_FIELD_NUMBER = 19;
// optional .com.alachisoft.ncache.common.protobuf.QueryInfo queryInfo = 20;
public static final int QUERYINFO_FIELD_NUMBER = 20;
// optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 21;
public static final int TAGINFO_FIELD_NUMBER = 21;
// optional .com.alachisoft.ncache.common.protobuf.Dependency dependency = 22;
public static final int DEPENDENCY_FIELD_NUMBER = 22;
// repeated bytes data = 23;
public static final int DATA_FIELD_NUMBER = 23;
// optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 24;
public static final int NAMEDTAGINFO_FIELD_NUMBER = 24;
// optional .com.alachisoft.ncache.common.protobuf.ObjectQueryInfo objectQueryInfo = 25;
public static final int OBJECTQUERYINFO_FIELD_NUMBER = 25;
// repeated bytes objectQueryInfoEncrypted = 26;
public static final int OBJECTQUERYINFOENCRYPTED_FIELD_NUMBER = 26;
// optional sint32 updateDataFilter = 27 [default = -1];
public static final int UPDATEDATAFILTER_FIELD_NUMBER = 27;
// optional sint32 removeDataFilter = 28 [default = -1];
public static final int REMOVEDATAFILTER_FIELD_NUMBER = 28;
// optional string clientID = 29;
public static final int CLIENTID_FIELD_NUMBER = 29;
// optional sint32 CallbackType = 30;
public static final int CALLBACKTYPE_FIELD_NUMBER = 30;
// optional string groupType = 31;
public static final int GROUPTYPE_FIELD_NUMBER = 31;
// optional string version = 32;
public static final int VERSION_FIELD_NUMBER = 32;
// optional int32 MethodOverload = 33 [default = 0];
public static final int METHODOVERLOAD_FIELD_NUMBER = 33;
// optional int32 commandID = 34 [default = -1];
public static final int COMMANDID_FIELD_NUMBER = 34;
private static final InsertCommand defaultInstance;
static {
defaultInstance = new InsertCommand(true);
com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasKey;
private java.lang.String key_ = "";
private boolean hasRequestId;
private long requestId_ = 0L;
private boolean hasUpdateCallbackId;
private int updateCallbackId_ = 0;
private boolean hasRemoveCallbackId;
private int removeCallbackId_ = 0;
private boolean hasDatasourceUpdatedCallbackId;
private int datasourceUpdatedCallbackId_ = 0;
private boolean hasIsAsync;
private boolean isAsync_ = false;
private boolean hasPriority;
private int priority_ = 0;
private boolean hasAbsExpiration;
private long absExpiration_ = 0L;
private boolean hasSldExpiration;
private long sldExpiration_ = 0L;
private boolean hasIsResync;
private boolean isResync_ = false;
private boolean hasGroup;
private java.lang.String group_ = "";
private boolean hasSubGroup;
private java.lang.String subGroup_ = "";
private boolean hasFlag;
private int flag_ = 0;
private boolean hasProviderName;
private java.lang.String providerName_ = "";
private boolean hasResyncProviderName;
private java.lang.String resyncProviderName_ = "";
private boolean hasSyncDependency;
private com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency syncDependency_;
private boolean hasLockId;
private java.lang.String lockId_ = "";
private boolean hasLockAccessType;
private int lockAccessType_ = 0;
private boolean hasItemVersion;
private long itemVersion_ = 0L;
private boolean hasQueryInfo;
private com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo queryInfo_;
private boolean hasTagInfo;
private com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo tagInfo_;
private boolean hasDependency;
private com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency dependency_;
private java.util.List data_ =
java.util.Collections.emptyList();
private boolean hasNamedTagInfo;
private com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo namedTagInfo_;
private boolean hasObjectQueryInfo;
private com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo objectQueryInfo_;
private java.util.List objectQueryInfoEncrypted_ =
java.util.Collections.emptyList();
private boolean hasUpdateDataFilter;
private int updateDataFilter_ = -1;
private boolean hasRemoveDataFilter;
private int removeDataFilter_ = -1;
private boolean hasClientID;
private java.lang.String clientID_ = "";
private boolean hasCallbackType;
private int callbackType_ = 0;
private boolean hasGroupType;
private java.lang.String groupType_ = "";
private boolean hasVersion;
private java.lang.String version_ = "";
private boolean hasMethodOverload;
private int methodOverload_ = 0;
private boolean hasCommandID;
private int commandID_ = -1;
private int memoizedSerializedSize = -1;
// Use InsertCommand.newBuilder() to construct.
private InsertCommand() {
initFields();
}
private InsertCommand(boolean noInit) {
}
public static InsertCommand getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand 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.InsertCommandProtocol.InsertCommand prototype) {
return newBuilder().mergeFrom(prototype);
}
public InsertCommand getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InsertCommand_fieldAccessorTable;
}
public boolean hasKey() {
return hasKey;
}
public java.lang.String getKey() {
return key_;
}
public boolean hasRequestId() {
return hasRequestId;
}
public long getRequestId() {
return requestId_;
}
public boolean hasUpdateCallbackId() {
return hasUpdateCallbackId;
}
public int getUpdateCallbackId() {
return updateCallbackId_;
}
public boolean hasRemoveCallbackId() {
return hasRemoveCallbackId;
}
public int getRemoveCallbackId() {
return removeCallbackId_;
}
public boolean hasDatasourceUpdatedCallbackId() {
return hasDatasourceUpdatedCallbackId;
}
public int getDatasourceUpdatedCallbackId() {
return datasourceUpdatedCallbackId_;
}
public boolean hasIsAsync() {
return hasIsAsync;
}
public boolean getIsAsync() {
return isAsync_;
}
public boolean hasPriority() {
return hasPriority;
}
public int getPriority() {
return priority_;
}
public boolean hasAbsExpiration() {
return hasAbsExpiration;
}
public long getAbsExpiration() {
return absExpiration_;
}
public boolean hasSldExpiration() {
return hasSldExpiration;
}
public long getSldExpiration() {
return sldExpiration_;
}
public boolean hasIsResync() {
return hasIsResync;
}
public boolean getIsResync() {
return isResync_;
}
public boolean hasGroup() {
return hasGroup;
}
public java.lang.String getGroup() {
return group_;
}
public boolean hasSubGroup() {
return hasSubGroup;
}
public java.lang.String getSubGroup() {
return subGroup_;
}
public boolean hasFlag() {
return hasFlag;
}
public int getFlag() {
return flag_;
}
public boolean hasProviderName() {
return hasProviderName;
}
public java.lang.String getProviderName() {
return providerName_;
}
public boolean hasResyncProviderName() {
return hasResyncProviderName;
}
public java.lang.String getResyncProviderName() {
return resyncProviderName_;
}
public boolean hasSyncDependency() {
return hasSyncDependency;
}
public com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency getSyncDependency() {
return syncDependency_;
}
public boolean hasLockId() {
return hasLockId;
}
public java.lang.String getLockId() {
return lockId_;
}
public boolean hasLockAccessType() {
return hasLockAccessType;
}
public int getLockAccessType() {
return lockAccessType_;
}
public boolean hasItemVersion() {
return hasItemVersion;
}
public long getItemVersion() {
return itemVersion_;
}
public boolean hasQueryInfo() {
return hasQueryInfo;
}
public com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo getQueryInfo() {
return queryInfo_;
}
public boolean hasTagInfo() {
return hasTagInfo;
}
public com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo getTagInfo() {
return tagInfo_;
}
public boolean hasDependency() {
return hasDependency;
}
public com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency getDependency() {
return dependency_;
}
public java.util.List getDataList() {
return data_;
}
public int getDataCount() {
return data_.size();
}
public com.google.protobuf.ByteString getData(int index) {
return data_.get(index);
}
public boolean hasNamedTagInfo() {
return hasNamedTagInfo;
}
public com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo getNamedTagInfo() {
return namedTagInfo_;
}
public boolean hasObjectQueryInfo() {
return hasObjectQueryInfo;
}
public com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo getObjectQueryInfo() {
return objectQueryInfo_;
}
public java.util.List getObjectQueryInfoEncryptedList() {
return objectQueryInfoEncrypted_;
}
public int getObjectQueryInfoEncryptedCount() {
return objectQueryInfoEncrypted_.size();
}
public com.google.protobuf.ByteString getObjectQueryInfoEncrypted(int index) {
return objectQueryInfoEncrypted_.get(index);
}
public boolean hasUpdateDataFilter() {
return hasUpdateDataFilter;
}
public int getUpdateDataFilter() {
return updateDataFilter_;
}
public boolean hasRemoveDataFilter() {
return hasRemoveDataFilter;
}
public int getRemoveDataFilter() {
return removeDataFilter_;
}
public boolean hasClientID() {
return hasClientID;
}
public java.lang.String getClientID() {
return clientID_;
}
public boolean hasCallbackType() {
return hasCallbackType;
}
public int getCallbackType() {
return callbackType_;
}
public boolean hasGroupType() {
return hasGroupType;
}
public java.lang.String getGroupType() {
return groupType_;
}
public boolean hasVersion() {
return hasVersion;
}
public java.lang.String getVersion() {
return version_;
}
public boolean hasMethodOverload() {
return hasMethodOverload;
}
public int getMethodOverload() {
return methodOverload_;
}
public boolean hasCommandID() {
return hasCommandID;
}
public int getCommandID() {
return commandID_;
}
private void initFields() {
syncDependency_ = com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.getDefaultInstance();
queryInfo_ = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance();
tagInfo_ = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance();
dependency_ = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance();
namedTagInfo_ = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance();
objectQueryInfo_ = com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDefaultInstance();
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasKey()) {
output.writeString(1, getKey());
}
if (hasRequestId()) {
output.writeInt64(2, getRequestId());
}
if (hasUpdateCallbackId()) {
output.writeSInt32(3, getUpdateCallbackId());
}
if (hasRemoveCallbackId()) {
output.writeSInt32(4, getRemoveCallbackId());
}
if (hasDatasourceUpdatedCallbackId()) {
output.writeSInt32(5, getDatasourceUpdatedCallbackId());
}
if (hasIsAsync()) {
output.writeBool(6, getIsAsync());
}
if (hasPriority()) {
output.writeInt32(7, getPriority());
}
if (hasAbsExpiration()) {
output.writeInt64(8, getAbsExpiration());
}
if (hasSldExpiration()) {
output.writeInt64(9, getSldExpiration());
}
if (hasIsResync()) {
output.writeBool(10, getIsResync());
}
if (hasGroup()) {
output.writeString(11, getGroup());
}
if (hasSubGroup()) {
output.writeString(12, getSubGroup());
}
if (hasFlag()) {
output.writeInt32(13, getFlag());
}
if (hasProviderName()) {
output.writeString(14, getProviderName());
}
if (hasResyncProviderName()) {
output.writeString(15, getResyncProviderName());
}
if (hasSyncDependency()) {
output.writeMessage(16, getSyncDependency());
}
if (hasLockId()) {
output.writeString(17, getLockId());
}
if (hasLockAccessType()) {
output.writeInt32(18, getLockAccessType());
}
if (hasItemVersion()) {
output.writeUInt64(19, getItemVersion());
}
if (hasQueryInfo()) {
output.writeMessage(20, getQueryInfo());
}
if (hasTagInfo()) {
output.writeMessage(21, getTagInfo());
}
if (hasDependency()) {
output.writeMessage(22, getDependency());
}
for (com.google.protobuf.ByteString element : getDataList()) {
output.writeBytes(23, element);
}
if (hasNamedTagInfo()) {
output.writeMessage(24, getNamedTagInfo());
}
if (hasObjectQueryInfo()) {
output.writeMessage(25, getObjectQueryInfo());
}
for (com.google.protobuf.ByteString element : getObjectQueryInfoEncryptedList()) {
output.writeBytes(26, element);
}
if (hasUpdateDataFilter()) {
output.writeSInt32(27, getUpdateDataFilter());
}
if (hasRemoveDataFilter()) {
output.writeSInt32(28, getRemoveDataFilter());
}
if (hasClientID()) {
output.writeString(29, getClientID());
}
if (hasCallbackType()) {
output.writeSInt32(30, getCallbackType());
}
if (hasGroupType()) {
output.writeString(31, getGroupType());
}
if (hasVersion()) {
output.writeString(32, getVersion());
}
if (hasMethodOverload()) {
output.writeInt32(33, getMethodOverload());
}
if (hasCommandID()) {
output.writeInt32(34, getCommandID());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasKey()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(1, getKey());
}
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, getRequestId());
}
if (hasUpdateCallbackId()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(3, getUpdateCallbackId());
}
if (hasRemoveCallbackId()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(4, getRemoveCallbackId());
}
if (hasDatasourceUpdatedCallbackId()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(5, getDatasourceUpdatedCallbackId());
}
if (hasIsAsync()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, getIsAsync());
}
if (hasPriority()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, getPriority());
}
if (hasAbsExpiration()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, getAbsExpiration());
}
if (hasSldExpiration()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, getSldExpiration());
}
if (hasIsResync()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, getIsResync());
}
if (hasGroup()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(11, getGroup());
}
if (hasSubGroup()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(12, getSubGroup());
}
if (hasFlag()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, getFlag());
}
if (hasProviderName()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(14, getProviderName());
}
if (hasResyncProviderName()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(15, getResyncProviderName());
}
if (hasSyncDependency()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getSyncDependency());
}
if (hasLockId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(17, getLockId());
}
if (hasLockAccessType()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(18, getLockAccessType());
}
if (hasItemVersion()) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(19, getItemVersion());
}
if (hasQueryInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getQueryInfo());
}
if (hasTagInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, getTagInfo());
}
if (hasDependency()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, getDependency());
}
{
int dataSize = 0;
for (com.google.protobuf.ByteString element : getDataList()) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(element);
}
size += dataSize;
size += 2 * getDataList().size();
}
if (hasNamedTagInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, getNamedTagInfo());
}
if (hasObjectQueryInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, getObjectQueryInfo());
}
{
int dataSize = 0;
for (com.google.protobuf.ByteString element : getObjectQueryInfoEncryptedList()) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(element);
}
size += dataSize;
size += 2 * getObjectQueryInfoEncryptedList().size();
}
if (hasUpdateDataFilter()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(27, getUpdateDataFilter());
}
if (hasRemoveDataFilter()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(28, getRemoveDataFilter());
}
if (hasClientID()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(29, getClientID());
}
if (hasCallbackType()) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(30, getCallbackType());
}
if (hasGroupType()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(31, getGroupType());
}
if (hasVersion()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(32, getVersion());
}
if (hasMethodOverload()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(33, getMethodOverload());
}
if (hasCommandID()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(34, getCommandID());
}
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.InsertCommandProtocol.InsertCommand result;
// Construct using com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
if (result.data_ != java.util.Collections.EMPTY_LIST) {
result.data_ =
java.util.Collections.unmodifiableList(result.data_);
}
if (result.objectQueryInfoEncrypted_ != java.util.Collections.EMPTY_LIST) {
result.objectQueryInfoEncrypted_ =
java.util.Collections.unmodifiableList(result.objectQueryInfoEncrypted_);
}
com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand other) {
if (other == com.alachisoft.ncache.common.protobuf.InsertCommandProtocol.InsertCommand.getDefaultInstance())
return this;
if (other.hasKey()) {
setKey(other.getKey());
}
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
if (other.hasUpdateCallbackId()) {
setUpdateCallbackId(other.getUpdateCallbackId());
}
if (other.hasRemoveCallbackId()) {
setRemoveCallbackId(other.getRemoveCallbackId());
}
if (other.hasDatasourceUpdatedCallbackId()) {
setDatasourceUpdatedCallbackId(other.getDatasourceUpdatedCallbackId());
}
if (other.hasIsAsync()) {
setIsAsync(other.getIsAsync());
}
if (other.hasPriority()) {
setPriority(other.getPriority());
}
if (other.hasAbsExpiration()) {
setAbsExpiration(other.getAbsExpiration());
}
if (other.hasSldExpiration()) {
setSldExpiration(other.getSldExpiration());
}
if (other.hasIsResync()) {
setIsResync(other.getIsResync());
}
if (other.hasGroup()) {
setGroup(other.getGroup());
}
if (other.hasSubGroup()) {
setSubGroup(other.getSubGroup());
}
if (other.hasFlag()) {
setFlag(other.getFlag());
}
if (other.hasProviderName()) {
setProviderName(other.getProviderName());
}
if (other.hasResyncProviderName()) {
setResyncProviderName(other.getResyncProviderName());
}
if (other.hasSyncDependency()) {
mergeSyncDependency(other.getSyncDependency());
}
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasLockAccessType()) {
setLockAccessType(other.getLockAccessType());
}
if (other.hasItemVersion()) {
setItemVersion(other.getItemVersion());
}
if (other.hasQueryInfo()) {
mergeQueryInfo(other.getQueryInfo());
}
if (other.hasTagInfo()) {
mergeTagInfo(other.getTagInfo());
}
if (other.hasDependency()) {
mergeDependency(other.getDependency());
}
if (!other.data_.isEmpty()) {
if (result.data_.isEmpty()) {
result.data_ = new java.util.ArrayList();
}
result.data_.addAll(other.data_);
}
if (other.hasNamedTagInfo()) {
mergeNamedTagInfo(other.getNamedTagInfo());
}
if (other.hasObjectQueryInfo()) {
mergeObjectQueryInfo(other.getObjectQueryInfo());
}
if (!other.objectQueryInfoEncrypted_.isEmpty()) {
if (result.objectQueryInfoEncrypted_.isEmpty()) {
result.objectQueryInfoEncrypted_ = new java.util.ArrayList();
}
result.objectQueryInfoEncrypted_.addAll(other.objectQueryInfoEncrypted_);
}
if (other.hasUpdateDataFilter()) {
setUpdateDataFilter(other.getUpdateDataFilter());
}
if (other.hasRemoveDataFilter()) {
setRemoveDataFilter(other.getRemoveDataFilter());
}
if (other.hasClientID()) {
setClientID(other.getClientID());
}
if (other.hasCallbackType()) {
setCallbackType(other.getCallbackType());
}
if (other.hasGroupType()) {
setGroupType(other.getGroupType());
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasMethodOverload()) {
setMethodOverload(other.getMethodOverload());
}
if (other.hasCommandID()) {
setCommandID(other.getCommandID());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
return this;
}
break;
}
case 10: {
setKey(input.readString());
break;
}
case 16: {
setRequestId(input.readInt64());
break;
}
case 24: {
setUpdateCallbackId(input.readSInt32());
break;
}
case 32: {
setRemoveCallbackId(input.readSInt32());
break;
}
case 40: {
setDatasourceUpdatedCallbackId(input.readSInt32());
break;
}
case 48: {
setIsAsync(input.readBool());
break;
}
case 56: {
setPriority(input.readInt32());
break;
}
case 64: {
setAbsExpiration(input.readInt64());
break;
}
case 72: {
setSldExpiration(input.readInt64());
break;
}
case 80: {
setIsResync(input.readBool());
break;
}
case 90: {
setGroup(input.readString());
break;
}
case 98: {
setSubGroup(input.readString());
break;
}
case 104: {
setFlag(input.readInt32());
break;
}
case 114: {
setProviderName(input.readString());
break;
}
case 122: {
setResyncProviderName(input.readString());
break;
}
case 130: {
com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.Builder subBuilder = com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.newBuilder();
if (hasSyncDependency()) {
subBuilder.mergeFrom(getSyncDependency());
}
input.readMessage(subBuilder, extensionRegistry);
setSyncDependency(subBuilder.buildPartial());
break;
}
case 138: {
setLockId(input.readString());
break;
}
case 144: {
setLockAccessType(input.readInt32());
break;
}
case 152: {
setItemVersion(input.readUInt64());
break;
}
case 162: {
com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.newBuilder();
if (hasQueryInfo()) {
subBuilder.mergeFrom(getQueryInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setQueryInfo(subBuilder.buildPartial());
break;
}
case 170: {
com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.newBuilder();
if (hasTagInfo()) {
subBuilder.mergeFrom(getTagInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setTagInfo(subBuilder.buildPartial());
break;
}
case 178: {
com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.Builder subBuilder = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.newBuilder();
if (hasDependency()) {
subBuilder.mergeFrom(getDependency());
}
input.readMessage(subBuilder, extensionRegistry);
setDependency(subBuilder.buildPartial());
break;
}
case 186: {
addData(input.readBytes());
break;
}
case 194: {
com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.newBuilder();
if (hasNamedTagInfo()) {
subBuilder.mergeFrom(getNamedTagInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setNamedTagInfo(subBuilder.buildPartial());
break;
}
case 202: {
com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.newBuilder();
if (hasObjectQueryInfo()) {
subBuilder.mergeFrom(getObjectQueryInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setObjectQueryInfo(subBuilder.buildPartial());
break;
}
case 210: {
addObjectQueryInfoEncrypted(input.readBytes());
break;
}
case 216: {
setUpdateDataFilter(input.readSInt32());
break;
}
case 224: {
setRemoveDataFilter(input.readSInt32());
break;
}
case 234: {
setClientID(input.readString());
break;
}
case 240: {
setCallbackType(input.readSInt32());
break;
}
case 250: {
setGroupType(input.readString());
break;
}
case 258: {
setVersion(input.readString());
break;
}
case 264: {
setMethodOverload(input.readInt32());
break;
}
case 272: {
setCommandID(input.readInt32());
break;
}
}
}
}
// optional string key = 1;
public boolean hasKey() {
return result.hasKey();
}
public java.lang.String getKey() {
return result.getKey();
}
public Builder setKey(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasKey = true;
result.key_ = value;
return this;
}
public Builder clearKey() {
result.hasKey = false;
result.key_ = getDefaultInstance().getKey();
return this;
}
// optional int64 requestId = 2;
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 sint32 updateCallbackId = 3;
public boolean hasUpdateCallbackId() {
return result.hasUpdateCallbackId();
}
public int getUpdateCallbackId() {
return result.getUpdateCallbackId();
}
public Builder setUpdateCallbackId(int value) {
result.hasUpdateCallbackId = true;
result.updateCallbackId_ = value;
return this;
}
public Builder clearUpdateCallbackId() {
result.hasUpdateCallbackId = false;
result.updateCallbackId_ = 0;
return this;
}
// optional sint32 removeCallbackId = 4;
public boolean hasRemoveCallbackId() {
return result.hasRemoveCallbackId();
}
public int getRemoveCallbackId() {
return result.getRemoveCallbackId();
}
public Builder setRemoveCallbackId(int value) {
result.hasRemoveCallbackId = true;
result.removeCallbackId_ = value;
return this;
}
public Builder clearRemoveCallbackId() {
result.hasRemoveCallbackId = false;
result.removeCallbackId_ = 0;
return this;
}
// optional sint32 datasourceUpdatedCallbackId = 5;
public boolean hasDatasourceUpdatedCallbackId() {
return result.hasDatasourceUpdatedCallbackId();
}
public int getDatasourceUpdatedCallbackId() {
return result.getDatasourceUpdatedCallbackId();
}
public Builder setDatasourceUpdatedCallbackId(int value) {
result.hasDatasourceUpdatedCallbackId = true;
result.datasourceUpdatedCallbackId_ = value;
return this;
}
public Builder clearDatasourceUpdatedCallbackId() {
result.hasDatasourceUpdatedCallbackId = false;
result.datasourceUpdatedCallbackId_ = 0;
return this;
}
// optional bool isAsync = 6;
public boolean hasIsAsync() {
return result.hasIsAsync();
}
public boolean getIsAsync() {
return result.getIsAsync();
}
public Builder setIsAsync(boolean value) {
result.hasIsAsync = true;
result.isAsync_ = value;
return this;
}
public Builder clearIsAsync() {
result.hasIsAsync = false;
result.isAsync_ = false;
return this;
}
// optional int32 priority = 7;
public boolean hasPriority() {
return result.hasPriority();
}
public int getPriority() {
return result.getPriority();
}
public Builder setPriority(int value) {
result.hasPriority = true;
result.priority_ = value;
return this;
}
public Builder clearPriority() {
result.hasPriority = false;
result.priority_ = 0;
return this;
}
// optional int64 absExpiration = 8;
public boolean hasAbsExpiration() {
return result.hasAbsExpiration();
}
public long getAbsExpiration() {
return result.getAbsExpiration();
}
public Builder setAbsExpiration(long value) {
result.hasAbsExpiration = true;
result.absExpiration_ = value;
return this;
}
public Builder clearAbsExpiration() {
result.hasAbsExpiration = false;
result.absExpiration_ = 0L;
return this;
}
// optional int64 sldExpiration = 9;
public boolean hasSldExpiration() {
return result.hasSldExpiration();
}
public long getSldExpiration() {
return result.getSldExpiration();
}
public Builder setSldExpiration(long value) {
result.hasSldExpiration = true;
result.sldExpiration_ = value;
return this;
}
public Builder clearSldExpiration() {
result.hasSldExpiration = false;
result.sldExpiration_ = 0L;
return this;
}
// optional bool isResync = 10;
public boolean hasIsResync() {
return result.hasIsResync();
}
public boolean getIsResync() {
return result.getIsResync();
}
public Builder setIsResync(boolean value) {
result.hasIsResync = true;
result.isResync_ = value;
return this;
}
public Builder clearIsResync() {
result.hasIsResync = false;
result.isResync_ = false;
return this;
}
// optional string group = 11;
public boolean hasGroup() {
return result.hasGroup();
}
public java.lang.String getGroup() {
return result.getGroup();
}
public Builder setGroup(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasGroup = true;
result.group_ = value;
return this;
}
public Builder clearGroup() {
result.hasGroup = false;
result.group_ = getDefaultInstance().getGroup();
return this;
}
// optional string subGroup = 12;
public boolean hasSubGroup() {
return result.hasSubGroup();
}
public java.lang.String getSubGroup() {
return result.getSubGroup();
}
public Builder setSubGroup(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasSubGroup = true;
result.subGroup_ = value;
return this;
}
public Builder clearSubGroup() {
result.hasSubGroup = false;
result.subGroup_ = getDefaultInstance().getSubGroup();
return this;
}
// optional int32 flag = 13;
public boolean hasFlag() {
return result.hasFlag();
}
public int getFlag() {
return result.getFlag();
}
public Builder setFlag(int value) {
result.hasFlag = true;
result.flag_ = value;
return this;
}
public Builder clearFlag() {
result.hasFlag = false;
result.flag_ = 0;
return this;
}
// optional string providerName = 14;
public boolean hasProviderName() {
return result.hasProviderName();
}
public java.lang.String getProviderName() {
return result.getProviderName();
}
public Builder setProviderName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasProviderName = true;
result.providerName_ = value;
return this;
}
public Builder clearProviderName() {
result.hasProviderName = false;
result.providerName_ = getDefaultInstance().getProviderName();
return this;
}
// optional string resyncProviderName = 15;
public boolean hasResyncProviderName() {
return result.hasResyncProviderName();
}
public java.lang.String getResyncProviderName() {
return result.getResyncProviderName();
}
public Builder setResyncProviderName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasResyncProviderName = true;
result.resyncProviderName_ = value;
return this;
}
public Builder clearResyncProviderName() {
result.hasResyncProviderName = false;
result.resyncProviderName_ = getDefaultInstance().getResyncProviderName();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.SyncDependency syncDependency = 16;
public boolean hasSyncDependency() {
return result.hasSyncDependency();
}
public com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency getSyncDependency() {
return result.getSyncDependency();
}
public Builder setSyncDependency(com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency value) {
if (value == null) {
throw new NullPointerException();
}
result.hasSyncDependency = true;
result.syncDependency_ = value;
return this;
}
public Builder setSyncDependency(com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.Builder builderForValue) {
result.hasSyncDependency = true;
result.syncDependency_ = builderForValue.build();
return this;
}
public Builder mergeSyncDependency(com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency value) {
if (result.hasSyncDependency() &&
result.syncDependency_ != com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.getDefaultInstance()) {
result.syncDependency_ =
com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.newBuilder(result.syncDependency_).mergeFrom(value).buildPartial();
} else {
result.syncDependency_ = value;
}
result.hasSyncDependency = true;
return this;
}
public Builder clearSyncDependency() {
result.hasSyncDependency = false;
result.syncDependency_ = com.alachisoft.ncache.common.protobuf.SyncDependencyProtocol.SyncDependency.getDefaultInstance();
return this;
}
// optional string lockId = 17;
public boolean hasLockId() {
return result.hasLockId();
}
public java.lang.String getLockId() {
return result.getLockId();
}
public Builder setLockId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasLockId = true;
result.lockId_ = value;
return this;
}
public Builder clearLockId() {
result.hasLockId = false;
result.lockId_ = getDefaultInstance().getLockId();
return this;
}
// optional int32 lockAccessType = 18;
public boolean hasLockAccessType() {
return result.hasLockAccessType();
}
public int getLockAccessType() {
return result.getLockAccessType();
}
public Builder setLockAccessType(int value) {
result.hasLockAccessType = true;
result.lockAccessType_ = value;
return this;
}
public Builder clearLockAccessType() {
result.hasLockAccessType = false;
result.lockAccessType_ = 0;
return this;
}
// optional uint64 itemVersion = 19;
public boolean hasItemVersion() {
return result.hasItemVersion();
}
public long getItemVersion() {
return result.getItemVersion();
}
public Builder setItemVersion(long value) {
result.hasItemVersion = true;
result.itemVersion_ = value;
return this;
}
public Builder clearItemVersion() {
result.hasItemVersion = false;
result.itemVersion_ = 0L;
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.QueryInfo queryInfo = 20;
public boolean hasQueryInfo() {
return result.hasQueryInfo();
}
public com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo getQueryInfo() {
return result.getQueryInfo();
}
public Builder setQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasQueryInfo = true;
result.queryInfo_ = value;
return this;
}
public Builder setQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.Builder builderForValue) {
result.hasQueryInfo = true;
result.queryInfo_ = builderForValue.build();
return this;
}
public Builder mergeQueryInfo(com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo value) {
if (result.hasQueryInfo() &&
result.queryInfo_ != com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance()) {
result.queryInfo_ =
com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.newBuilder(result.queryInfo_).mergeFrom(value).buildPartial();
} else {
result.queryInfo_ = value;
}
result.hasQueryInfo = true;
return this;
}
public Builder clearQueryInfo() {
result.hasQueryInfo = false;
result.queryInfo_ = com.alachisoft.ncache.common.protobuf.QueryInfoProtocol.QueryInfo.getDefaultInstance();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 21;
public boolean hasTagInfo() {
return result.hasTagInfo();
}
public com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo getTagInfo() {
return result.getTagInfo();
}
public Builder setTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasTagInfo = true;
result.tagInfo_ = value;
return this;
}
public Builder setTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.Builder builderForValue) {
result.hasTagInfo = true;
result.tagInfo_ = builderForValue.build();
return this;
}
public Builder mergeTagInfo(com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo value) {
if (result.hasTagInfo() &&
result.tagInfo_ != com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance()) {
result.tagInfo_ =
com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.newBuilder(result.tagInfo_).mergeFrom(value).buildPartial();
} else {
result.tagInfo_ = value;
}
result.hasTagInfo = true;
return this;
}
public Builder clearTagInfo() {
result.hasTagInfo = false;
result.tagInfo_ = com.alachisoft.ncache.common.protobuf.TagInfoProtocol.TagInfo.getDefaultInstance();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.Dependency dependency = 22;
public boolean hasDependency() {
return result.hasDependency();
}
public com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency getDependency() {
return result.getDependency();
}
public Builder setDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency value) {
if (value == null) {
throw new NullPointerException();
}
result.hasDependency = true;
result.dependency_ = value;
return this;
}
public Builder setDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.Builder builderForValue) {
result.hasDependency = true;
result.dependency_ = builderForValue.build();
return this;
}
public Builder mergeDependency(com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency value) {
if (result.hasDependency() &&
result.dependency_ != com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance()) {
result.dependency_ =
com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.newBuilder(result.dependency_).mergeFrom(value).buildPartial();
} else {
result.dependency_ = value;
}
result.hasDependency = true;
return this;
}
public Builder clearDependency() {
result.hasDependency = false;
result.dependency_ = com.alachisoft.ncache.common.protobuf.DependencyProtocol.Dependency.getDefaultInstance();
return this;
}
// repeated bytes data = 23;
public java.util.List getDataList() {
return java.util.Collections.unmodifiableList(result.data_);
}
public int getDataCount() {
return result.getDataCount();
}
public com.google.protobuf.ByteString getData(int index) {
return result.getData(index);
}
public Builder setData(int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.data_.set(index, value);
return this;
}
public Builder addData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
if (result.data_.isEmpty()) {
result.data_ = new java.util.ArrayList();
}
result.data_.add(value);
return this;
}
public Builder addAllData(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
if (result.data_.isEmpty()) {
result.data_ = new java.util.ArrayList();
}
super.addAll(values, result.data_);
return this;
}
public Builder clearData() {
result.data_ = java.util.Collections.emptyList();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 24;
public boolean hasNamedTagInfo() {
return result.hasNamedTagInfo();
}
public com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo getNamedTagInfo() {
return result.getNamedTagInfo();
}
public Builder setNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasNamedTagInfo = true;
result.namedTagInfo_ = value;
return this;
}
public Builder setNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.Builder builderForValue) {
result.hasNamedTagInfo = true;
result.namedTagInfo_ = builderForValue.build();
return this;
}
public Builder mergeNamedTagInfo(com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo value) {
if (result.hasNamedTagInfo() &&
result.namedTagInfo_ != com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance()) {
result.namedTagInfo_ =
com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.newBuilder(result.namedTagInfo_).mergeFrom(value).buildPartial();
} else {
result.namedTagInfo_ = value;
}
result.hasNamedTagInfo = true;
return this;
}
public Builder clearNamedTagInfo() {
result.hasNamedTagInfo = false;
result.namedTagInfo_ = com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo.getDefaultInstance();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.ObjectQueryInfo objectQueryInfo = 25;
public boolean hasObjectQueryInfo() {
return result.hasObjectQueryInfo();
}
public com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo getObjectQueryInfo() {
return result.getObjectQueryInfo();
}
public Builder setObjectQueryInfo(com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasObjectQueryInfo = true;
result.objectQueryInfo_ = value;
return this;
}
public Builder setObjectQueryInfo(com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.Builder builderForValue) {
result.hasObjectQueryInfo = true;
result.objectQueryInfo_ = builderForValue.build();
return this;
}
public Builder mergeObjectQueryInfo(com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo value) {
if (result.hasObjectQueryInfo() &&
result.objectQueryInfo_ != com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDefaultInstance()) {
result.objectQueryInfo_ =
com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.newBuilder(result.objectQueryInfo_).mergeFrom(value).buildPartial();
} else {
result.objectQueryInfo_ = value;
}
result.hasObjectQueryInfo = true;
return this;
}
public Builder clearObjectQueryInfo() {
result.hasObjectQueryInfo = false;
result.objectQueryInfo_ = com.alachisoft.ncache.common.protobuf.ObjectQueryInfoProtocol.ObjectQueryInfo.getDefaultInstance();
return this;
}
// repeated bytes objectQueryInfoEncrypted = 26;
public java.util.List getObjectQueryInfoEncryptedList() {
return java.util.Collections.unmodifiableList(result.objectQueryInfoEncrypted_);
}
public int getObjectQueryInfoEncryptedCount() {
return result.getObjectQueryInfoEncryptedCount();
}
public com.google.protobuf.ByteString getObjectQueryInfoEncrypted(int index) {
return result.getObjectQueryInfoEncrypted(index);
}
public Builder setObjectQueryInfoEncrypted(int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.objectQueryInfoEncrypted_.set(index, value);
return this;
}
public Builder addObjectQueryInfoEncrypted(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
if (result.objectQueryInfoEncrypted_.isEmpty()) {
result.objectQueryInfoEncrypted_ = new java.util.ArrayList();
}
result.objectQueryInfoEncrypted_.add(value);
return this;
}
public Builder addAllObjectQueryInfoEncrypted(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
if (result.objectQueryInfoEncrypted_.isEmpty()) {
result.objectQueryInfoEncrypted_ = new java.util.ArrayList();
}
super.addAll(values, result.objectQueryInfoEncrypted_);
return this;
}
public Builder clearObjectQueryInfoEncrypted() {
result.objectQueryInfoEncrypted_ = java.util.Collections.emptyList();
return this;
}
// optional sint32 updateDataFilter = 27 [default = -1];
public boolean hasUpdateDataFilter() {
return result.hasUpdateDataFilter();
}
public int getUpdateDataFilter() {
return result.getUpdateDataFilter();
}
public Builder setUpdateDataFilter(int value) {
result.hasUpdateDataFilter = true;
result.updateDataFilter_ = value;
return this;
}
public Builder clearUpdateDataFilter() {
result.hasUpdateDataFilter = false;
result.updateDataFilter_ = -1;
return this;
}
// optional sint32 removeDataFilter = 28 [default = -1];
public boolean hasRemoveDataFilter() {
return result.hasRemoveDataFilter();
}
public int getRemoveDataFilter() {
return result.getRemoveDataFilter();
}
public Builder setRemoveDataFilter(int value) {
result.hasRemoveDataFilter = true;
result.removeDataFilter_ = value;
return this;
}
public Builder clearRemoveDataFilter() {
result.hasRemoveDataFilter = false;
result.removeDataFilter_ = -1;
return this;
}
// optional string clientID = 29;
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 sint32 CallbackType = 30;
public boolean hasCallbackType() {
return result.hasCallbackType();
}
public int getCallbackType() {
return result.getCallbackType();
}
public Builder setCallbackType(int value) {
result.hasCallbackType = true;
result.callbackType_ = value;
return this;
}
public Builder clearCallbackType() {
result.hasCallbackType = false;
result.callbackType_ = 0;
return this;
}
// optional string groupType = 31;
public boolean hasGroupType() {
return result.hasGroupType();
}
public java.lang.String getGroupType() {
return result.getGroupType();
}
public Builder setGroupType(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasGroupType = true;
result.groupType_ = value;
return this;
}
public Builder clearGroupType() {
result.hasGroupType = false;
result.groupType_ = getDefaultInstance().getGroupType();
return this;
}
// optional string version = 32;
public boolean hasVersion() {
return result.hasVersion();
}
public java.lang.String getVersion() {
return result.getVersion();
}
public Builder setVersion(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasVersion = true;
result.version_ = value;
return this;
}
public Builder clearVersion() {
result.hasVersion = false;
result.version_ = getDefaultInstance().getVersion();
return this;
}
// optional int32 MethodOverload = 33 [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 int32 commandID = 34 [default = -1];
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_ = -1;
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.InsertCommand)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.InsertCommand)
}
// @@protoc_insertion_point(outer_class_scope)
}