ObjectId getDeltaBase() { if (data.hasDeltaBase()) return ObjectId.fromRaw(data.getDeltaBase().toByteArray(), 0); return null; }
ObjectId getDeltaBase() { if (data.hasDeltaBase()) return ObjectId.fromRaw(data.getDeltaBase().toByteArray(), 0); return null; }
hash = (53 * hash) + hashLong(getInflatedSize()); if (hasDeltaBase()) { hash = (37 * hash) + DELTA_BASE_FIELD_NUMBER; hash = (53 * hash) + getDeltaBase().hashCode();
== other.getInflatedSize()); result = result && (hasDeltaBase() == other.hasDeltaBase()); if (hasDeltaBase()) { result = result && getDeltaBase() .equals(other.getDeltaBase());
== other.getInflatedSize()); result = result && (hasDeltaBase() == other.hasDeltaBase()); if (hasDeltaBase()) { result = result && getDeltaBase() .equals(other.getDeltaBase());
hash = (53 * hash) + hashLong(getInflatedSize()); if (hasDeltaBase()) { hash = (37 * hash) + DELTA_BASE_FIELD_NUMBER; hash = (53 * hash) + getDeltaBase().hashCode();
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ObjectInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ObjectInfo.getDefaultInstance()) return this; if (other.hasObjectType()) { setObjectType(other.getObjectType()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasPackedSize()) { setPackedSize(other.getPackedSize()); } if (other.hasInflatedSize()) { setInflatedSize(other.getInflatedSize()); } if (other.hasDeltaBase()) { setDeltaBase(other.getDeltaBase()); } if (other.hasIsFragmented()) { setIsFragmented(other.getIsFragmented()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ObjectInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ObjectInfo.getDefaultInstance()) return this; if (other.hasObjectType()) { setObjectType(other.getObjectType()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasPackedSize()) { setPackedSize(other.getPackedSize()); } if (other.hasInflatedSize()) { setInflatedSize(other.getInflatedSize()); } if (other.hasDeltaBase()) { setDeltaBase(other.getDeltaBase()); } if (other.hasIsFragmented()) { setIsFragmented(other.getIsFragmented()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** @return true if the object storage uses delta compression. */ public boolean isDelta() { return data.hasDeltaBase(); }
/** @return true if the object storage uses delta compression. */ public boolean isDelta() { return data.hasDeltaBase(); }