com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetCacheItemResponse.proto
package com.alachisoft.ncache.common.protobuf;
public final class GetCacheItemResponseProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032GetCacheItemResponse.proto\022%com.alachi" +
"soft.ncache.common.protobuf\032\rTagInfo.pro" +
"to\032\020Dependency.proto\032\022NamedTagInfo.proto" +
"\032\023CacheItemType.proto\032\020ModuleInfo.proto\"" +
"\345\005\n\024GetCacheItemResponse\022\016\n\006lockId\030\001 \001(\t" +
"\022\021\n\tlockTicks\030\002 \001(\003\022\020\n\010priority\030\003 \001(\005\022\022\n" +
"\nhasExpired\030\004 \001(\010\022\023\n\013needsResync\030\005 \001(\010\022\016" +
"\n\006absExp\030\006 \001(\003\022\016\n\006sldExp\030\007 \001(\003\022\014\n\004flag\030\010" +
" \001(\005\022\017\n\007version\030\t \001(\004\022\024\n\014creationTime\030\n " +
"\001(\003\022\030\n\020lastModifiedTime\030\013 \001(\003\022\r\n\005group\030\014",
" \001(\t\022\020\n\010subGroup\030\r \001(\t\022?\n\007tagInfo\030\016 \001(\0132" +
"..com.alachisoft.ncache.common.protobuf." +
"TagInfo\022E\n\ndependency\030\017 \001(\01321.com.alachi" +
"soft.ncache.common.protobuf.Dependency\022\r" +
"\n\005value\030\020 \003(\014\022I\n\014namedTagInfo\030\021 \001(\01323.co" +
"m.alachisoft.ncache.common.protobuf.Name" +
"dTagInfo\022Z\n\010itemType\030\022 \001(\0162=.com.alachis" +
"oft.ncache.common.protobuf.CacheItemType" +
".ItemType:\tCACHEITEM\022\025\n\tcommandID\030\023 \001(\005:" +
"\002-1\022\021\n\trequestId\030\024 \001(\003\022\032\n\022ResyncProvider",
"Name\030\025 \001(\t\022\024\n\014isModuleData\030\026 \001(\010\022E\n\nmodu" +
"leInfo\030\027 \001(\01321.com.alachisoft.ncache.com" +
"mon.protobuf.ModuleInfoB\036B\034GetCacheItemR" +
"esponseProtocol"
};
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_GetCacheItemResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_descriptor,
new java.lang.String[]{"LockId", "LockTicks", "Priority", "HasExpired", "NeedsResync", "AbsExp", "SldExp", "Flag", "Version", "CreationTime", "LastModifiedTime", "Group", "SubGroup", "TagInfo", "Dependency", "Value", "NamedTagInfo", "ItemType", "CommandID", "RequestId", "ResyncProviderName", "IsModuleData", "ModuleInfo",},
com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.class,
com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
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.CacheItemTypeProtocol.getDescriptor(),
com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.getDescriptor(),
}, assigner);
}
private GetCacheItemResponseProtocol() {
}
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 GetCacheItemResponse extends
com.google.protobuf.GeneratedMessage {
// optional string lockId = 1;
public static final int LOCKID_FIELD_NUMBER = 1;
// optional int64 lockTicks = 2;
public static final int LOCKTICKS_FIELD_NUMBER = 2;
// optional int32 priority = 3;
public static final int PRIORITY_FIELD_NUMBER = 3;
// optional bool hasExpired = 4;
public static final int HASEXPIRED_FIELD_NUMBER = 4;
// optional bool needsResync = 5;
public static final int NEEDSRESYNC_FIELD_NUMBER = 5;
// optional int64 absExp = 6;
public static final int ABSEXP_FIELD_NUMBER = 6;
// optional int64 sldExp = 7;
public static final int SLDEXP_FIELD_NUMBER = 7;
// optional int32 flag = 8;
public static final int FLAG_FIELD_NUMBER = 8;
// optional uint64 version = 9;
public static final int VERSION_FIELD_NUMBER = 9;
// optional int64 creationTime = 10;
public static final int CREATIONTIME_FIELD_NUMBER = 10;
// optional int64 lastModifiedTime = 11;
public static final int LASTMODIFIEDTIME_FIELD_NUMBER = 11;
// optional string group = 12;
public static final int GROUP_FIELD_NUMBER = 12;
// optional string subGroup = 13;
public static final int SUBGROUP_FIELD_NUMBER = 13;
// optional .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 14;
public static final int TAGINFO_FIELD_NUMBER = 14;
// optional .com.alachisoft.ncache.common.protobuf.Dependency dependency = 15;
public static final int DEPENDENCY_FIELD_NUMBER = 15;
// repeated bytes value = 16;
public static final int VALUE_FIELD_NUMBER = 16;
// optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 17;
public static final int NAMEDTAGINFO_FIELD_NUMBER = 17;
// optional .com.alachisoft.ncache.common.protobuf.CacheItemType.ItemType itemType = 18 [default = CACHEITEM];
public static final int ITEMTYPE_FIELD_NUMBER = 18;
// optional int32 commandID = 19 [default = -1];
public static final int COMMANDID_FIELD_NUMBER = 19;
// optional int64 requestId = 20;
public static final int REQUESTID_FIELD_NUMBER = 20;
// optional string ResyncProviderName = 21;
public static final int RESYNCPROVIDERNAME_FIELD_NUMBER = 21;
// optional bool isModuleData = 22;
public static final int ISMODULEDATA_FIELD_NUMBER = 22;
// optional .com.alachisoft.ncache.common.protobuf.ModuleInfo moduleInfo = 23;
public static final int MODULEINFO_FIELD_NUMBER = 23;
private static final GetCacheItemResponse defaultInstance;
static {
defaultInstance = new GetCacheItemResponse(true);
com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasLockId;
private java.lang.String lockId_ = "";
private boolean hasLockTicks;
private long lockTicks_ = 0L;
private boolean hasPriority;
private int priority_ = 0;
private boolean hasHasExpired;
private boolean hasExpired_ = false;
private boolean hasNeedsResync;
private boolean needsResync_ = false;
private boolean hasAbsExp;
private long absExp_ = 0L;
private boolean hasSldExp;
private long sldExp_ = 0L;
private boolean hasFlag;
private int flag_ = 0;
private boolean hasVersion;
private long version_ = 0L;
private boolean hasCreationTime;
private long creationTime_ = 0L;
private boolean hasLastModifiedTime;
private long lastModifiedTime_ = 0L;
private boolean hasGroup;
private java.lang.String group_ = "";
private boolean hasSubGroup;
private java.lang.String subGroup_ = "";
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 value_ =
java.util.Collections.emptyList();
private boolean hasNamedTagInfo;
private com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo namedTagInfo_;
private boolean hasItemType;
private com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType itemType_;
private boolean hasCommandID;
private int commandID_ = -1;
private boolean hasRequestId;
private long requestId_ = 0L;
private boolean hasResyncProviderName;
private java.lang.String resyncProviderName_ = "";
private boolean hasIsModuleData;
private boolean isModuleData_ = false;
private boolean hasModuleInfo;
private com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo moduleInfo_;
private int memoizedSerializedSize = -1;
// Use GetCacheItemResponse.newBuilder() to construct.
private GetCacheItemResponse() {
initFields();
}
private GetCacheItemResponse(boolean noInit) {
}
public static GetCacheItemResponse getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse 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.GetCacheItemResponseProtocol.GetCacheItemResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public GetCacheItemResponse getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetCacheItemResponse_fieldAccessorTable;
}
public boolean hasLockId() {
return hasLockId;
}
public java.lang.String getLockId() {
return lockId_;
}
public boolean hasLockTicks() {
return hasLockTicks;
}
public long getLockTicks() {
return lockTicks_;
}
public boolean hasPriority() {
return hasPriority;
}
public int getPriority() {
return priority_;
}
public boolean hasHasExpired() {
return hasHasExpired;
}
public boolean getHasExpired() {
return hasExpired_;
}
public boolean hasNeedsResync() {
return hasNeedsResync;
}
public boolean getNeedsResync() {
return needsResync_;
}
public boolean hasAbsExp() {
return hasAbsExp;
}
public long getAbsExp() {
return absExp_;
}
public boolean hasSldExp() {
return hasSldExp;
}
public long getSldExp() {
return sldExp_;
}
public boolean hasFlag() {
return hasFlag;
}
public int getFlag() {
return flag_;
}
public boolean hasVersion() {
return hasVersion;
}
public long getVersion() {
return version_;
}
public boolean hasCreationTime() {
return hasCreationTime;
}
public long getCreationTime() {
return creationTime_;
}
public boolean hasLastModifiedTime() {
return hasLastModifiedTime;
}
public long getLastModifiedTime() {
return lastModifiedTime_;
}
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 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 getValueList() {
return value_;
}
public int getValueCount() {
return value_.size();
}
public com.google.protobuf.ByteString getValue(int index) {
return value_.get(index);
}
public boolean hasNamedTagInfo() {
return hasNamedTagInfo;
}
public com.alachisoft.ncache.common.protobuf.NamedTagInfoProtocol.NamedTagInfo getNamedTagInfo() {
return namedTagInfo_;
}
public boolean hasItemType() {
return hasItemType;
}
public com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType getItemType() {
return itemType_;
}
public boolean hasCommandID() {
return hasCommandID;
}
public int getCommandID() {
return commandID_;
}
public boolean hasRequestId() {
return hasRequestId;
}
public long getRequestId() {
return requestId_;
}
public boolean hasResyncProviderName() {
return hasResyncProviderName;
}
public java.lang.String getResyncProviderName() {
return resyncProviderName_;
}
public boolean hasIsModuleData() {
return hasIsModuleData;
}
public boolean getIsModuleData() {
return isModuleData_;
}
public boolean hasModuleInfo() {
return hasModuleInfo;
}
public com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo getModuleInfo() {
return moduleInfo_;
}
private void initFields() {
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();
itemType_ = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.CACHEITEM;
moduleInfo_ = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance();
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasLockId()) {
output.writeString(1, getLockId());
}
if (hasLockTicks()) {
output.writeInt64(2, getLockTicks());
}
if (hasPriority()) {
output.writeInt32(3, getPriority());
}
if (hasHasExpired()) {
output.writeBool(4, getHasExpired());
}
if (hasNeedsResync()) {
output.writeBool(5, getNeedsResync());
}
if (hasAbsExp()) {
output.writeInt64(6, getAbsExp());
}
if (hasSldExp()) {
output.writeInt64(7, getSldExp());
}
if (hasFlag()) {
output.writeInt32(8, getFlag());
}
if (hasVersion()) {
output.writeUInt64(9, getVersion());
}
if (hasCreationTime()) {
output.writeInt64(10, getCreationTime());
}
if (hasLastModifiedTime()) {
output.writeInt64(11, getLastModifiedTime());
}
if (hasGroup()) {
output.writeString(12, getGroup());
}
if (hasSubGroup()) {
output.writeString(13, getSubGroup());
}
if (hasTagInfo()) {
output.writeMessage(14, getTagInfo());
}
if (hasDependency()) {
output.writeMessage(15, getDependency());
}
for (com.google.protobuf.ByteString element : getValueList()) {
output.writeBytes(16, element);
}
if (hasNamedTagInfo()) {
output.writeMessage(17, getNamedTagInfo());
}
if (hasItemType()) {
output.writeEnum(18, getItemType().getNumber());
}
if (hasCommandID()) {
output.writeInt32(19, getCommandID());
}
if (hasRequestId()) {
output.writeInt64(20, getRequestId());
}
if (hasResyncProviderName()) {
output.writeString(21, getResyncProviderName());
}
if (hasIsModuleData()) {
output.writeBool(22, getIsModuleData());
}
if (hasModuleInfo()) {
output.writeMessage(23, getModuleInfo());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasLockId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(1, getLockId());
}
if (hasLockTicks()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, getLockTicks());
}
if (hasPriority()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, getPriority());
}
if (hasHasExpired()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, getHasExpired());
}
if (hasNeedsResync()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, getNeedsResync());
}
if (hasAbsExp()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, getAbsExp());
}
if (hasSldExp()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, getSldExp());
}
if (hasFlag()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, getFlag());
}
if (hasVersion()) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(9, getVersion());
}
if (hasCreationTime()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, getCreationTime());
}
if (hasLastModifiedTime()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, getLastModifiedTime());
}
if (hasGroup()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(12, getGroup());
}
if (hasSubGroup()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(13, getSubGroup());
}
if (hasTagInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getTagInfo());
}
if (hasDependency()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getDependency());
}
{
int dataSize = 0;
for (com.google.protobuf.ByteString element : getValueList()) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(element);
}
size += dataSize;
size += 2 * getValueList().size();
}
if (hasNamedTagInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getNamedTagInfo());
}
if (hasItemType()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(18, getItemType().getNumber());
}
if (hasCommandID()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(19, getCommandID());
}
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(20, getRequestId());
}
if (hasResyncProviderName()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(21, getResyncProviderName());
}
if (hasIsModuleData()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(22, getIsModuleData());
}
if (hasModuleInfo()) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, getModuleInfo());
}
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.GetCacheItemResponseProtocol.GetCacheItemResponse result;
// Construct using com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
if (result.value_ != java.util.Collections.EMPTY_LIST) {
result.value_ =
java.util.Collections.unmodifiableList(result.value_);
}
com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse other) {
if (other == com.alachisoft.ncache.common.protobuf.GetCacheItemResponseProtocol.GetCacheItemResponse.getDefaultInstance())
return this;
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasLockTicks()) {
setLockTicks(other.getLockTicks());
}
if (other.hasPriority()) {
setPriority(other.getPriority());
}
if (other.hasHasExpired()) {
setHasExpired(other.getHasExpired());
}
if (other.hasNeedsResync()) {
setNeedsResync(other.getNeedsResync());
}
if (other.hasAbsExp()) {
setAbsExp(other.getAbsExp());
}
if (other.hasSldExp()) {
setSldExp(other.getSldExp());
}
if (other.hasFlag()) {
setFlag(other.getFlag());
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasLastModifiedTime()) {
setLastModifiedTime(other.getLastModifiedTime());
}
if (other.hasGroup()) {
setGroup(other.getGroup());
}
if (other.hasSubGroup()) {
setSubGroup(other.getSubGroup());
}
if (other.hasTagInfo()) {
mergeTagInfo(other.getTagInfo());
}
if (other.hasDependency()) {
mergeDependency(other.getDependency());
}
if (!other.value_.isEmpty()) {
if (result.value_.isEmpty()) {
result.value_ = new java.util.ArrayList();
}
result.value_.addAll(other.value_);
}
if (other.hasNamedTagInfo()) {
mergeNamedTagInfo(other.getNamedTagInfo());
}
if (other.hasItemType()) {
setItemType(other.getItemType());
}
if (other.hasCommandID()) {
setCommandID(other.getCommandID());
}
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
if (other.hasResyncProviderName()) {
setResyncProviderName(other.getResyncProviderName());
}
if (other.hasIsModuleData()) {
setIsModuleData(other.getIsModuleData());
}
if (other.hasModuleInfo()) {
mergeModuleInfo(other.getModuleInfo());
}
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: {
setLockId(input.readString());
break;
}
case 16: {
setLockTicks(input.readInt64());
break;
}
case 24: {
setPriority(input.readInt32());
break;
}
case 32: {
setHasExpired(input.readBool());
break;
}
case 40: {
setNeedsResync(input.readBool());
break;
}
case 48: {
setAbsExp(input.readInt64());
break;
}
case 56: {
setSldExp(input.readInt64());
break;
}
case 64: {
setFlag(input.readInt32());
break;
}
case 72: {
setVersion(input.readUInt64());
break;
}
case 80: {
setCreationTime(input.readInt64());
break;
}
case 88: {
setLastModifiedTime(input.readInt64());
break;
}
case 98: {
setGroup(input.readString());
break;
}
case 106: {
setSubGroup(input.readString());
break;
}
case 114: {
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 122: {
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 130: {
addValue(input.readBytes());
break;
}
case 138: {
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 144: {
int rawValue = input.readEnum();
com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType value = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(18, rawValue);
} else {
setItemType(value);
}
break;
}
case 152: {
setCommandID(input.readInt32());
break;
}
case 160: {
setRequestId(input.readInt64());
break;
}
case 170: {
setResyncProviderName(input.readString());
break;
}
case 176: {
setIsModuleData(input.readBool());
break;
}
case 186: {
com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.Builder subBuilder = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.newBuilder();
if (hasModuleInfo()) {
subBuilder.mergeFrom(getModuleInfo());
}
input.readMessage(subBuilder, extensionRegistry);
setModuleInfo(subBuilder.buildPartial());
break;
}
}
}
}
// optional string lockId = 1;
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 int64 lockTicks = 2;
public boolean hasLockTicks() {
return result.hasLockTicks();
}
public long getLockTicks() {
return result.getLockTicks();
}
public Builder setLockTicks(long value) {
result.hasLockTicks = true;
result.lockTicks_ = value;
return this;
}
public Builder clearLockTicks() {
result.hasLockTicks = false;
result.lockTicks_ = 0L;
return this;
}
// optional int32 priority = 3;
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 bool hasExpired = 4;
public boolean hasHasExpired() {
return result.hasHasExpired();
}
public boolean getHasExpired() {
return result.getHasExpired();
}
public Builder setHasExpired(boolean value) {
result.hasHasExpired = true;
result.hasExpired_ = value;
return this;
}
public Builder clearHasExpired() {
result.hasHasExpired = false;
result.hasExpired_ = false;
return this;
}
// optional bool needsResync = 5;
public boolean hasNeedsResync() {
return result.hasNeedsResync();
}
public boolean getNeedsResync() {
return result.getNeedsResync();
}
public Builder setNeedsResync(boolean value) {
result.hasNeedsResync = true;
result.needsResync_ = value;
return this;
}
public Builder clearNeedsResync() {
result.hasNeedsResync = false;
result.needsResync_ = false;
return this;
}
// optional int64 absExp = 6;
public boolean hasAbsExp() {
return result.hasAbsExp();
}
public long getAbsExp() {
return result.getAbsExp();
}
public Builder setAbsExp(long value) {
result.hasAbsExp = true;
result.absExp_ = value;
return this;
}
public Builder clearAbsExp() {
result.hasAbsExp = false;
result.absExp_ = 0L;
return this;
}
// optional int64 sldExp = 7;
public boolean hasSldExp() {
return result.hasSldExp();
}
public long getSldExp() {
return result.getSldExp();
}
public Builder setSldExp(long value) {
result.hasSldExp = true;
result.sldExp_ = value;
return this;
}
public Builder clearSldExp() {
result.hasSldExp = false;
result.sldExp_ = 0L;
return this;
}
// optional int32 flag = 8;
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 uint64 version = 9;
public boolean hasVersion() {
return result.hasVersion();
}
public long getVersion() {
return result.getVersion();
}
public Builder setVersion(long value) {
result.hasVersion = true;
result.version_ = value;
return this;
}
public Builder clearVersion() {
result.hasVersion = false;
result.version_ = 0L;
return this;
}
// optional int64 creationTime = 10;
public boolean hasCreationTime() {
return result.hasCreationTime();
}
public long getCreationTime() {
return result.getCreationTime();
}
public Builder setCreationTime(long value) {
result.hasCreationTime = true;
result.creationTime_ = value;
return this;
}
public Builder clearCreationTime() {
result.hasCreationTime = false;
result.creationTime_ = 0L;
return this;
}
// optional int64 lastModifiedTime = 11;
public boolean hasLastModifiedTime() {
return result.hasLastModifiedTime();
}
public long getLastModifiedTime() {
return result.getLastModifiedTime();
}
public Builder setLastModifiedTime(long value) {
result.hasLastModifiedTime = true;
result.lastModifiedTime_ = value;
return this;
}
public Builder clearLastModifiedTime() {
result.hasLastModifiedTime = false;
result.lastModifiedTime_ = 0L;
return this;
}
// optional string group = 12;
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 = 13;
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 .com.alachisoft.ncache.common.protobuf.TagInfo tagInfo = 14;
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 = 15;
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 value = 16;
public java.util.List getValueList() {
return java.util.Collections.unmodifiableList(result.value_);
}
public int getValueCount() {
return result.getValueCount();
}
public com.google.protobuf.ByteString getValue(int index) {
return result.getValue(index);
}
public Builder setValue(int index, com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
result.value_.set(index, value);
return this;
}
public Builder addValue(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
if (result.value_.isEmpty()) {
result.value_ = new java.util.ArrayList();
}
result.value_.add(value);
return this;
}
public Builder addAllValue(
java.lang.Iterable extends com.google.protobuf.ByteString> values) {
if (result.value_.isEmpty()) {
result.value_ = new java.util.ArrayList();
}
super.addAll(values, result.value_);
return this;
}
public Builder clearValue() {
result.value_ = java.util.Collections.emptyList();
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.NamedTagInfo namedTagInfo = 17;
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.CacheItemType.ItemType itemType = 18 [default = CACHEITEM];
public boolean hasItemType() {
return result.hasItemType();
}
public com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType getItemType() {
return result.getItemType();
}
public Builder setItemType(com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType value) {
if (value == null) {
throw new NullPointerException();
}
result.hasItemType = true;
result.itemType_ = value;
return this;
}
public Builder clearItemType() {
result.hasItemType = false;
result.itemType_ = com.alachisoft.ncache.common.protobuf.CacheItemTypeProtocol.CacheItemType.ItemType.CACHEITEM;
return this;
}
// optional int32 commandID = 19 [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;
}
// optional int64 requestId = 20;
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 ResyncProviderName = 21;
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 bool isModuleData = 22;
public boolean hasIsModuleData() {
return result.hasIsModuleData();
}
public boolean getIsModuleData() {
return result.getIsModuleData();
}
public Builder setIsModuleData(boolean value) {
result.hasIsModuleData = true;
result.isModuleData_ = value;
return this;
}
public Builder clearIsModuleData() {
result.hasIsModuleData = false;
result.isModuleData_ = false;
return this;
}
// optional .com.alachisoft.ncache.common.protobuf.ModuleInfo moduleInfo = 23;
public boolean hasModuleInfo() {
return result.hasModuleInfo();
}
public com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo getModuleInfo() {
return result.getModuleInfo();
}
public Builder setModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo value) {
if (value == null) {
throw new NullPointerException();
}
result.hasModuleInfo = true;
result.moduleInfo_ = value;
return this;
}
public Builder setModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.Builder builderForValue) {
result.hasModuleInfo = true;
result.moduleInfo_ = builderForValue.build();
return this;
}
public Builder mergeModuleInfo(com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo value) {
if (result.hasModuleInfo() &&
result.moduleInfo_ != com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance()) {
result.moduleInfo_ =
com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.newBuilder(result.moduleInfo_).mergeFrom(value).buildPartial();
} else {
result.moduleInfo_ = value;
}
result.hasModuleInfo = true;
return this;
}
public Builder clearModuleInfo() {
result.hasModuleInfo = false;
result.moduleInfo_ = com.alachisoft.ncache.common.protobuf.ModuleInfoProtocol.ModuleInfo.getDefaultInstance();
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.GetCacheItemResponse)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.GetCacheItemResponse)
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy