@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getPackCount() > 0) { hash = (37 * hash) + PACK_FIELD_NUMBER; hash = (53 * hash) + getPackList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getPackCount() > 0) { hash = (37 * hash) + PACK_FIELD_NUMBER; hash = (53 * hash) + getPackList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList) obj; boolean result = true; result = result && getPackList() .equals(other.getPackList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
if (data != null) { try { return CachedPackInfoList.parseFrom(data).getPackList(); } catch (InvalidProtocolBufferException e) {
if (data != null) { try { return CachedPackInfoList.parseFrom(data).getPackList(); } catch (InvalidProtocolBufferException e) {
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedPackInfoList) obj; boolean result = true; result = result && getPackList() .equals(other.getPackList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }