Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.alachisoft.ncache.common.protobuf.InitCommandProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: InitCommand.proto
package com.alachisoft.ncache.common.protobuf;
public final class InitCommandProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021InitCommand.proto\022%com.alachisoft.ncac" +
"he.common.protobuf\032\024ProductVersion.proto" +
"\032\020ClientInfo.proto\"\337\004\n\013InitCommand\022\017\n\007ca" +
"cheId\030\001 \001(\t\022\021\n\trequestId\030\002 \001(\003\022\020\n\010client" +
"Id\030\003 \001(\t\022\031\n\006userId\030\004 \001(\t:\tdummyUser\022\032\n\003p" +
"wd\030\005 \001(\t:\rdummypassword\022\023\n\013licenceCode\030\006" +
" \001(\t\022\023\n\013licenceInfo\030\007 \001(\t\022\026\n\016isDotnetCli" +
"ent\030\010 \001(\010\022\026\n\016isBridgeClient\030\t \001(\010\022\024\n\014bin" +
"aryUserid\030\n \001(\014\022\021\n\tbinaryPwd\030\013 \001(\014\022\027\n\017cl" +
"ientEditionId\030\014 \001(\t\022\025\n\rclientVersion\030\r \001",
"(\005\022\020\n\010clientIP\030\016 \001(\t\022\025\n\risAzureClient\030\017 " +
"\001(\010\022M\n\016productVersion\030\020 \001(\01325.com.alachi" +
"soft.ncache.common.protobuf.ProductVersi" +
"on\022E\n\nclientInfo\030\021 \001(\01321.com.alachisoft." +
"ncache.common.protobuf.ClientInfo\022&\n\027sec" +
"ureConnectionEnabled\030\022 \001(\010:\005false\022\034\n\020ope" +
"rationTimeout\030\023 \001(\005:\002-1\022\022\n\nmacAddress\030\024 " +
"\001(\t\022\027\n\017FromClientCache\030\025 \001(\010B\025B\023InitComm" +
"andProtocol"
};
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_InitCommand_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_descriptor,
new java.lang.String[]{"CacheId", "RequestId", "ClientId", "UserId", "Pwd", "LicenceCode", "LicenceInfo", "IsDotnetClient", "IsBridgeClient", "BinaryUserid", "BinaryPwd", "ClientEditionId", "ClientVersion", "ClientIP", "IsAzureClient", "ProductVersion", "ClientInfo", "SecureConnectionEnabled", "OperationTimeout", "MacAddress", "FromClientCache",},
com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.class,
com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.getDescriptor(),
}, assigner);
}
private InitCommandProtocol() {
}
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 InitCommand extends
com.google.protobuf.GeneratedMessage {
// optional string cacheId = 1;
public static final int CACHEID_FIELD_NUMBER = 1;
// optional int64 requestId = 2;
public static final int REQUESTID_FIELD_NUMBER = 2;
// optional string clientId = 3;
public static final int CLIENTID_FIELD_NUMBER = 3;
// optional string userId = 4 [default = "dummyUser"];
public static final int USERID_FIELD_NUMBER = 4;
// optional string pwd = 5 [default = "dummypassword"];
public static final int PWD_FIELD_NUMBER = 5;
// optional string licenceCode = 6;
public static final int LICENCECODE_FIELD_NUMBER = 6;
// optional string licenceInfo = 7;
public static final int LICENCEINFO_FIELD_NUMBER = 7;
// optional bool isDotnetClient = 8;
public static final int ISDOTNETCLIENT_FIELD_NUMBER = 8;
// optional bool isBridgeClient = 9;
public static final int ISBRIDGECLIENT_FIELD_NUMBER = 9;
// optional bytes binaryUserid = 10;
public static final int BINARYUSERID_FIELD_NUMBER = 10;
// optional bytes binaryPwd = 11;
public static final int BINARYPWD_FIELD_NUMBER = 11;
// optional string clientEditionId = 12;
public static final int CLIENTEDITIONID_FIELD_NUMBER = 12;
// optional int32 clientVersion = 13;
public static final int CLIENTVERSION_FIELD_NUMBER = 13;
// optional string clientIP = 14;
public static final int CLIENTIP_FIELD_NUMBER = 14;
// optional bool isAzureClient = 15;
public static final int ISAZURECLIENT_FIELD_NUMBER = 15;
// optional .com.alachisoft.ncache.common.protobuf.ProductVersion productVersion = 16;
public static final int PRODUCTVERSION_FIELD_NUMBER = 16;
// optional .com.alachisoft.ncache.common.protobuf.ClientInfo clientInfo = 17;
public static final int CLIENTINFO_FIELD_NUMBER = 17;
// optional bool secureConnectionEnabled = 18 [default = false];
public static final int SECURECONNECTIONENABLED_FIELD_NUMBER = 18;
// optional int32 operationTimeout = 19 [default = -1];
public static final int OPERATIONTIMEOUT_FIELD_NUMBER = 19;
// optional string macAddress = 20;
public static final int MACADDRESS_FIELD_NUMBER = 20;
// optional bool FromClientCache = 21;
public static final int FROMCLIENTCACHE_FIELD_NUMBER = 21;
private static final InitCommand defaultInstance;
static {
defaultInstance = new InitCommand(true);
com.alachisoft.ncache.common.protobuf.InitCommandProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasCacheId;
private java.lang.String cacheId_ = "";
private boolean hasRequestId;
private long requestId_ = 0L;
private boolean hasClientId;
private java.lang.String clientId_ = "";
private boolean hasUserId;
private java.lang.String userId_ = "dummyUser";
private boolean hasPwd;
private java.lang.String pwd_ = "dummypassword";
private boolean hasLicenceCode;
private java.lang.String licenceCode_ = "";
private boolean hasLicenceInfo;
private java.lang.String licenceInfo_ = "";
private boolean hasIsDotnetClient;
private boolean isDotnetClient_ = false;
private boolean hasIsBridgeClient;
private boolean isBridgeClient_ = false;
private boolean hasBinaryUserid;
private com.google.protobuf.ByteString binaryUserid_ = com.google.protobuf.ByteString.EMPTY;
private boolean hasBinaryPwd;
private com.google.protobuf.ByteString binaryPwd_ = com.google.protobuf.ByteString.EMPTY;
private boolean hasClientEditionId;
private java.lang.String clientEditionId_ = "";
private boolean hasClientVersion;
private int clientVersion_ = 0;
private boolean hasClientIP;
private java.lang.String clientIP_ = "";
private boolean hasIsAzureClient;
private boolean isAzureClient_ = false;
private boolean hasProductVersion;
private com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion productVersion_;
private boolean hasClientInfo;
private com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo clientInfo_;
private boolean hasSecureConnectionEnabled;
private boolean secureConnectionEnabled_ = false;
private boolean hasOperationTimeout;
private int operationTimeout_ = -1;
private boolean hasMacAddress;
private java.lang.String macAddress_ = "";
private boolean hasFromClientCache;
private boolean fromClientCache_ = false;
private int memoizedSerializedSize = -1;
// Use InitCommand.newBuilder() to construct.
private InitCommand() {
initFields();
}
private InitCommand(boolean noInit) {
}
public static InitCommand getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.InitCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand 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.InitCommandProtocol.InitCommand prototype) {
return newBuilder().mergeFrom(prototype);
}
public InitCommand getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.InitCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_InitCommand_fieldAccessorTable;
}
public boolean hasCacheId() {
return hasCacheId;
}
public java.lang.String getCacheId() {
return cacheId_;
}
public boolean hasRequestId() {
return hasRequestId;
}
public long getRequestId() {
return requestId_;
}
public boolean hasClientId() {
return hasClientId;
}
public java.lang.String getClientId() {
return clientId_;
}
public boolean hasUserId() {
return hasUserId;
}
public java.lang.String getUserId() {
return userId_;
}
public boolean hasPwd() {
return hasPwd;
}
public java.lang.String getPwd() {
return pwd_;
}
public boolean hasLicenceCode() {
return hasLicenceCode;
}
public java.lang.String getLicenceCode() {
return licenceCode_;
}
public boolean hasLicenceInfo() {
return hasLicenceInfo;
}
public java.lang.String getLicenceInfo() {
return licenceInfo_;
}
public boolean hasIsDotnetClient() {
return hasIsDotnetClient;
}
public boolean getIsDotnetClient() {
return isDotnetClient_;
}
public boolean hasIsBridgeClient() {
return hasIsBridgeClient;
}
public boolean getIsBridgeClient() {
return isBridgeClient_;
}
public boolean hasBinaryUserid() {
return hasBinaryUserid;
}
public com.google.protobuf.ByteString getBinaryUserid() {
return binaryUserid_;
}
public boolean hasBinaryPwd() {
return hasBinaryPwd;
}
public com.google.protobuf.ByteString getBinaryPwd() {
return binaryPwd_;
}
public boolean hasClientEditionId() {
return hasClientEditionId;
}
public java.lang.String getClientEditionId() {
return clientEditionId_;
}
public boolean hasClientVersion() {
return hasClientVersion;
}
public int getClientVersion() {
return clientVersion_;
}
public boolean hasClientIP() {
return hasClientIP;
}
public java.lang.String getClientIP() {
return clientIP_;
}
public boolean hasIsAzureClient() {
return hasIsAzureClient;
}
public boolean getIsAzureClient() {
return isAzureClient_;
}
public boolean hasProductVersion() {
return hasProductVersion;
}
public com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion getProductVersion() {
return productVersion_;
}
public boolean hasClientInfo() {
return hasClientInfo;
}
public com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo getClientInfo() {
return clientInfo_;
}
public boolean hasSecureConnectionEnabled() {
return hasSecureConnectionEnabled;
}
public boolean getSecureConnectionEnabled() {
return secureConnectionEnabled_;
}
public boolean hasOperationTimeout() {
return hasOperationTimeout;
}
public int getOperationTimeout() {
return operationTimeout_;
}
public boolean hasMacAddress() {
return hasMacAddress;
}
public java.lang.String getMacAddress() {
return macAddress_;
}
public boolean hasFromClientCache() {
return hasFromClientCache;
}
public boolean getFromClientCache() {
return fromClientCache_;
}
private void initFields() {
productVersion_ = com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.getDefaultInstance();
clientInfo_ = com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.getDefaultInstance();
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasCacheId()) {
output.writeString(1, getCacheId());
}
if (hasRequestId()) {
output.writeInt64(2, getRequestId());
}
if (hasClientId()) {
output.writeString(3, getClientId());
}
if (hasUserId()) {
output.writeString(4, getUserId());
}
if (hasPwd()) {
output.writeString(5, getPwd());
}
if (hasLicenceCode()) {
output.writeString(6, getLicenceCode());
}
if (hasLicenceInfo()) {
output.writeString(7, getLicenceInfo());
}
if (hasIsDotnetClient()) {
output.writeBool(8, getIsDotnetClient());
}
if (hasIsBridgeClient()) {
output.writeBool(9, getIsBridgeClient());
}
if (hasBinaryUserid()) {
output.writeBytes(10, getBinaryUserid());
}
if (hasBinaryPwd()) {
output.writeBytes(11, getBinaryPwd());
}
if (hasClientEditionId()) {
output.writeString(12, getClientEditionId());
}
if (hasClientVersion()) {
output.writeInt32(13, getClientVersion());
}
if (hasClientIP()) {
output.writeString(14, getClientIP());
}
if (hasIsAzureClient()) {
output.writeBool(15, getIsAzureClient());
}
if (hasProductVersion()) {
output.writeMessage(16, getProductVersion());
}
if (hasClientInfo()) {
output.writeMessage(17, getClientInfo());
}
if (hasSecureConnectionEnabled()) {
output.writeBool(18, getSecureConnectionEnabled());
}
if (hasOperationTimeout()) {
output.writeInt32(19, getOperationTimeout());
}
if (hasMacAddress()) {
output.writeString(20, getMacAddress());
}
if (hasFromClientCache()) {
output.writeBool(21, getFromClientCache());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasCacheId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(1, getCacheId());
}
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, getRequestId());
}
if (hasClientId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(3, getClientId());
}
if (hasUserId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(4, getUserId());
}
if (hasPwd()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(5, getPwd());
}
if (hasLicenceCode()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(6, getLicenceCode());
}
if (hasLicenceInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(7, getLicenceInfo());
}
if (hasIsDotnetClient()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, getIsDotnetClient());
}
if (hasIsBridgeClient()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, getIsBridgeClient());
}
if (hasBinaryUserid()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(10, getBinaryUserid());
}
if (hasBinaryPwd()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, getBinaryPwd());
}
if (hasClientEditionId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(12, getClientEditionId());
}
if (hasClientVersion()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(13, getClientVersion());
}
if (hasClientIP()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(14, getClientIP());
}
if (hasIsAzureClient()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, getIsAzureClient());
}
if (hasProductVersion()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getProductVersion());
}
if (hasClientInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getClientInfo());
}
if (hasSecureConnectionEnabled()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(18, getSecureConnectionEnabled());
}
if (hasOperationTimeout()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(19, getOperationTimeout());
}
if (hasMacAddress()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(20, getMacAddress());
}
if (hasFromClientCache()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(21, getFromClientCache());
}
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.InitCommandProtocol.InitCommand result;
// Construct using com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand other) {
if (other == com.alachisoft.ncache.common.protobuf.InitCommandProtocol.InitCommand.getDefaultInstance())
return this;
if (other.hasCacheId()) {
setCacheId(other.getCacheId());
}
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
if (other.hasClientId()) {
setClientId(other.getClientId());
}
if (other.hasUserId()) {
setUserId(other.getUserId());
}
if (other.hasPwd()) {
setPwd(other.getPwd());
}
if (other.hasLicenceCode()) {
setLicenceCode(other.getLicenceCode());
}
if (other.hasLicenceInfo()) {
setLicenceInfo(other.getLicenceInfo());
}
if (other.hasIsDotnetClient()) {
setIsDotnetClient(other.getIsDotnetClient());
}
if (other.hasIsBridgeClient()) {
setIsBridgeClient(other.getIsBridgeClient());
}
if (other.hasBinaryUserid()) {
setBinaryUserid(other.getBinaryUserid());
}
if (other.hasBinaryPwd()) {
setBinaryPwd(other.getBinaryPwd());
}
if (other.hasClientEditionId()) {
setClientEditionId(other.getClientEditionId());
}
if (other.hasClientVersion()) {
setClientVersion(other.getClientVersion());
}
if (other.hasClientIP()) {
setClientIP(other.getClientIP());
}
if (other.hasIsAzureClient()) {
setIsAzureClient(other.getIsAzureClient());
}
if (other.hasProductVersion()) {
mergeProductVersion(other.getProductVersion());
}
if (other.hasClientInfo()) {
mergeClientInfo(other.getClientInfo());
}
if (other.hasSecureConnectionEnabled()) {
setSecureConnectionEnabled(other.getSecureConnectionEnabled());
}
if (other.hasOperationTimeout()) {
setOperationTimeout(other.getOperationTimeout());
}
if (other.hasMacAddress()) {
setMacAddress(other.getMacAddress());
}
if (other.hasFromClientCache()) {
setFromClientCache(other.getFromClientCache());
}
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: {
setCacheId(input.readString());
break;
}
case 16: {
setRequestId(input.readInt64());
break;
}
case 26: {
setClientId(input.readString());
break;
}
case 34: {
setUserId(input.readString());
break;
}
case 42: {
setPwd(input.readString());
break;
}
case 50: {
setLicenceCode(input.readString());
break;
}
case 58: {
setLicenceInfo(input.readString());
break;
}
case 64: {
setIsDotnetClient(input.readBool());
break;
}
case 72: {
setIsBridgeClient(input.readBool());
break;
}
case 82: {
setBinaryUserid(input.readBytes());
break;
}
case 90: {
setBinaryPwd(input.readBytes());
break;
}
case 98: {
setClientEditionId(input.readString());
break;
}
case 104: {
setClientVersion(input.readInt32());
break;
}
case 114: {
setClientIP(input.readString());
break;
}
case 120: {
setIsAzureClient(input.readBool());
break;
}
case 130: {
com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.newBuilder();
if (hasProductVersion()) {
subBuilder.mergeFrom(getProductVersion());
}
input.readMessage(subBuilder, extensionRegistry);
setProductVersion(subBuilder.buildPartial());
break;
}
case 138: {
com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.newBuilder();
if (hasClientInfo()) {
subBuilder.mergeFrom(getClientInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setClientInfo(subBuilder.buildPartial());
break;
}
case 144: {
setSecureConnectionEnabled(input.readBool());
break;
}
case 152: {
setOperationTimeout(input.readInt32());
break;
}
case 162: {
setMacAddress(input.readString());
break;
}
case 168: {
setFromClientCache(input.readBool());
break;
}
}
}
}
// optional string cacheId = 1;
public boolean hasCacheId() {
return result.hasCacheId();
}
public java.lang.String getCacheId() {
return result.getCacheId();
}
public Builder setCacheId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasCacheId = true;
result.cacheId_ = value;
return this;
}
public Builder clearCacheId() {
result.hasCacheId = false;
result.cacheId_ = getDefaultInstance().getCacheId();
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 string clientId = 3;
public boolean hasClientId() {
return result.hasClientId();
}
public java.lang.String getClientId() {
return result.getClientId();
}
public Builder setClientId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientId = true;
result.clientId_ = value;
return this;
}
public Builder clearClientId() {
result.hasClientId = false;
result.clientId_ = getDefaultInstance().getClientId();
return this;
}
// optional string userId = 4 [default = "dummyUser"];
public boolean hasUserId() {
return result.hasUserId();
}
public java.lang.String getUserId() {
return result.getUserId();
}
public Builder setUserId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasUserId = true;
result.userId_ = value;
return this;
}
public Builder clearUserId() {
result.hasUserId = false;
result.userId_ = getDefaultInstance().getUserId();
return this;
}
// optional string pwd = 5 [default = "dummypassword"];
public boolean hasPwd() {
return result.hasPwd();
}
public java.lang.String getPwd() {
return result.getPwd();
}
public Builder setPwd(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasPwd = true;
result.pwd_ = value;
return this;
}
public Builder clearPwd() {
result.hasPwd = false;
result.pwd_ = getDefaultInstance().getPwd();
return this;
}
// optional string licenceCode = 6;
public boolean hasLicenceCode() {
return result.hasLicenceCode();
}
public java.lang.String getLicenceCode() {
return result.getLicenceCode();
}
public Builder setLicenceCode(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasLicenceCode = true;
result.licenceCode_ = value;
return this;
}
public Builder clearLicenceCode() {
result.hasLicenceCode = false;
result.licenceCode_ = getDefaultInstance().getLicenceCode();
return this;
}
// optional string licenceInfo = 7;
public boolean hasLicenceInfo() {
return result.hasLicenceInfo();
}
public java.lang.String getLicenceInfo() {
return result.getLicenceInfo();
}
public Builder setLicenceInfo(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasLicenceInfo = true;
result.licenceInfo_ = value;
return this;
}
public Builder clearLicenceInfo() {
result.hasLicenceInfo = false;
result.licenceInfo_ = getDefaultInstance().getLicenceInfo();
return this;
}
// optional bool isDotnetClient = 8;
public boolean hasIsDotnetClient() {
return result.hasIsDotnetClient();
}
public boolean getIsDotnetClient() {
return result.getIsDotnetClient();
}
public Builder setIsDotnetClient(boolean value) {
result.hasIsDotnetClient = true;
result.isDotnetClient_ = value;
return this;
}
public Builder clearIsDotnetClient() {
result.hasIsDotnetClient = false;
result.isDotnetClient_ = false;
return this;
}
// optional bool isBridgeClient = 9;
public boolean hasIsBridgeClient() {
return result.hasIsBridgeClient();
}
public boolean getIsBridgeClient() {
return result.getIsBridgeClient();
}
public Builder setIsBridgeClient(boolean value) {
result.hasIsBridgeClient = true;
result.isBridgeClient_ = value;
return this;
}
public Builder clearIsBridgeClient() {
result.hasIsBridgeClient = false;
result.isBridgeClient_ = false;
return this;
}
// optional bytes binaryUserid = 10;
public boolean hasBinaryUserid() {
return result.hasBinaryUserid();
}
public com.google.protobuf.ByteString getBinaryUserid() {
return result.getBinaryUserid();
}
public Builder setBinaryUserid(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.hasBinaryUserid = true;
result.binaryUserid_ = value;
return this;
}
public Builder clearBinaryUserid() {
result.hasBinaryUserid = false;
result.binaryUserid_ = getDefaultInstance().getBinaryUserid();
return this;
}
// optional bytes binaryPwd = 11;
public boolean hasBinaryPwd() {
return result.hasBinaryPwd();
}
public com.google.protobuf.ByteString getBinaryPwd() {
return result.getBinaryPwd();
}
public Builder setBinaryPwd(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.hasBinaryPwd = true;
result.binaryPwd_ = value;
return this;
}
public Builder clearBinaryPwd() {
result.hasBinaryPwd = false;
result.binaryPwd_ = getDefaultInstance().getBinaryPwd();
return this;
}
// optional string clientEditionId = 12;
public boolean hasClientEditionId() {
return result.hasClientEditionId();
}
public java.lang.String getClientEditionId() {
return result.getClientEditionId();
}
public Builder setClientEditionId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientEditionId = true;
result.clientEditionId_ = value;
return this;
}
public Builder clearClientEditionId() {
result.hasClientEditionId = false;
result.clientEditionId_ = getDefaultInstance().getClientEditionId();
return this;
}
// optional int32 clientVersion = 13;
public boolean hasClientVersion() {
return result.hasClientVersion();
}
public int getClientVersion() {
return result.getClientVersion();
}
public Builder setClientVersion(int value) {
result.hasClientVersion = true;
result.clientVersion_ = value;
return this;
}
public Builder clearClientVersion() {
result.hasClientVersion = false;
result.clientVersion_ = 0;
return this;
}
// optional string clientIP = 14;
public boolean hasClientIP() {
return result.hasClientIP();
}
public java.lang.String getClientIP() {
return result.getClientIP();
}
public Builder setClientIP(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientIP = true;
result.clientIP_ = value;
return this;
}
public Builder clearClientIP() {
result.hasClientIP = false;
result.clientIP_ = getDefaultInstance().getClientIP();
return this;
}
// optional bool isAzureClient = 15;
public boolean hasIsAzureClient() {
return result.hasIsAzureClient();
}
public boolean getIsAzureClient() {
return result.getIsAzureClient();
}
public Builder setIsAzureClient(boolean value) {
result.hasIsAzureClient = true;
result.isAzureClient_ = value;
return this;
}
public Builder clearIsAzureClient() {
result.hasIsAzureClient = false;
result.isAzureClient_ = false;
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.ProductVersion productVersion = 16;
public boolean hasProductVersion() {
return result.hasProductVersion();
}
public com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion getProductVersion() {
return result.getProductVersion();
}
public Builder setProductVersion(com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion value) {
if (value == null) {
throw new NullPointerException();
}
result.hasProductVersion = true;
result.productVersion_ = value;
return this;
}
public Builder setProductVersion(com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.Builder builderForValue) {
result.hasProductVersion = true;
result.productVersion_ = builderForValue.build();
return this;
}
public Builder mergeProductVersion(com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion value) {
if (result.hasProductVersion() &&
result.productVersion_ != com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.getDefaultInstance()) {
result.productVersion_ =
com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.newBuilder(result.productVersion_).mergeFrom(value).buildPartial();
} else {
result.productVersion_ = value;
}
result.hasProductVersion = true;
return this;
}
public Builder clearProductVersion() {
result.hasProductVersion = false;
result.productVersion_ = com.alachisoft.ncache.common.protobuf.ProductVersionProtocol.ProductVersion.getDefaultInstance();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.ClientInfo clientInfo = 17;
public boolean hasClientInfo() {
return result.hasClientInfo();
}
public com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo getClientInfo() {
return result.getClientInfo();
}
public Builder setClientInfo(com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientInfo = true;
result.clientInfo_ = value;
return this;
}
public Builder setClientInfo(com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.Builder builderForValue) {
result.hasClientInfo = true;
result.clientInfo_ = builderForValue.build();
return this;
}
public Builder mergeClientInfo(com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo value) {
if (result.hasClientInfo() &&
result.clientInfo_ != com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.getDefaultInstance()) {
result.clientInfo_ =
com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.newBuilder(result.clientInfo_).mergeFrom(value).buildPartial();
} else {
result.clientInfo_ = value;
}
result.hasClientInfo = true;
return this;
}
public Builder clearClientInfo() {
result.hasClientInfo = false;
result.clientInfo_ = com.alachisoft.ncache.common.protobuf.ClientInfoProtocol.ClientInfo.getDefaultInstance();
return this;
}
// optional bool secureConnectionEnabled = 18 [default = false];
public boolean hasSecureConnectionEnabled() {
return result.hasSecureConnectionEnabled();
}
public boolean getSecureConnectionEnabled() {
return result.getSecureConnectionEnabled();
}
public Builder setSecureConnectionEnabled(boolean value) {
result.hasSecureConnectionEnabled = true;
result.secureConnectionEnabled_ = value;
return this;
}
public Builder clearSecureConnectionEnabled() {
result.hasSecureConnectionEnabled = false;
result.secureConnectionEnabled_ = false;
return this;
}
// optional int32 operationTimeout = 19 [default = -1];
public boolean hasOperationTimeout() {
return result.hasOperationTimeout();
}
public int getOperationTimeout() {
return result.getOperationTimeout();
}
public Builder setOperationTimeout(int value) {
result.hasOperationTimeout = true;
result.operationTimeout_ = value;
return this;
}
public Builder clearOperationTimeout() {
result.hasOperationTimeout = false;
result.operationTimeout_ = -1;
return this;
}
// optional string macAddress = 20;
public boolean hasMacAddress() {
return result.hasMacAddress();
}
public java.lang.String getMacAddress() {
return result.getMacAddress();
}
public Builder setMacAddress(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasMacAddress = true;
result.macAddress_ = value;
return this;
}
public Builder clearMacAddress() {
result.hasMacAddress = false;
result.macAddress_ = getDefaultInstance().getMacAddress();
return this;
}
// optional bool FromClientCache = 21;
public boolean hasFromClientCache() {
return result.hasFromClientCache();
}
public boolean getFromClientCache() {
return result.getFromClientCache();
}
public Builder setFromClientCache(boolean value) {
result.hasFromClientCache = true;
result.fromClientCache_ = value;
return this;
}
public Builder clearFromClientCache() {
result.hasFromClientCache = false;
result.fromClientCache_ = false;
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.InitCommand)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.InitCommand)
}
// @@protoc_insertion_point(outer_class_scope)
}