@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.CachedChunk)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedChunk other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedChunk) obj; boolean result = true; result = result && (hasData() == other.hasData()); if (hasData()) { result = result && getData() .equals(other.getData()); } result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && getIndex() .equals(other.getIndex()); } result = result && (hasMeta() == other.hasMeta()); if (hasMeta()) { result = result && getMeta() .equals(other.getMeta()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
@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.CachedChunk)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedChunk other = (org.eclipse.jgit.generated.storage.dht.proto.GitCache.CachedChunk) obj; boolean result = true; result = result && (hasData() == other.hasData()); if (hasData()) { result = result && getData() .equals(other.getData()); } result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && getIndex() .equals(other.getIndex()); } result = result && (hasMeta() == other.hasMeta()); if (hasMeta()) { result = result && getMeta() .equals(other.getMeta()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }