hash = (53 * hash) + getVersion().hashCode();
hash = (53 * hash) + getVersion().hashCode();
result = result && getVersion() .equals(other.getVersion());
result = result && getVersion() .equals(other.getVersion());
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasObjectsTotal()) { setObjectsTotal(other.getObjectsTotal()); } if (other.hasObjectsDelta()) { setObjectsDelta(other.getObjectsDelta()); } if (other.hasBytesTotal()) { setBytesTotal(other.getBytesTotal()); } if (other.hasTipList()) { mergeTipList(other.getTipList()); } if (other.hasChunkList()) { mergeChunkList(other.getChunkList()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.getDefaultInstance()) return this; if (other.hasName()) { setName(other.getName()); } if (other.hasVersion()) { setVersion(other.getVersion()); } if (other.hasObjectsTotal()) { setObjectsTotal(other.getObjectsTotal()); } if (other.hasObjectsDelta()) { setObjectsDelta(other.getObjectsDelta()); } if (other.hasBytesTotal()) { setBytesTotal(other.getBytesTotal()); } if (other.hasTipList()) { mergeTipList(other.getTipList()); } if (other.hasChunkList()) { mergeChunkList(other.getChunkList()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } void setVersion(com.google.protobuf.ByteString value) {
private String rowKey() { return info.getName() + "." + info.getVersion(); } }
private String rowKey() { return info.getName() + "." + info.getVersion(); } }
/** * @param info * @return the key */ public static CachedPackKey fromInfo(CachedPackInfo info) { ObjectId name = ObjectId.fromString(info.getName()); ObjectId vers = ObjectId.fromString(info.getVersion()); return new CachedPackKey(name, vers); }
public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00000002); version_ = getDefaultInstance().getVersion(); onChanged(); return this; } void setVersion(com.google.protobuf.ByteString value) {
/** * @param info * @return the key */ public static CachedPackKey fromInfo(CachedPackInfo info) { ObjectId name = ObjectId.fromString(info.getName()); ObjectId vers = ObjectId.fromString(info.getVersion()); return new CachedPackKey(name, vers); }