@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSequence()) { hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getSequence(); } if (hasSymref()) { hash = (37 * hash) + SYMREF_FIELD_NUMBER; hash = (53 * hash) + getSymref().hashCode(); } if (hasTarget()) { hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); } if (hasIsPeeled()) { hash = (37 * hash) + IS_PEELED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getIsPeeled()); } if (hasPeeled()) { hash = (37 * hash) + PEELED_FIELD_NUMBER; hash = (53 * hash) + getPeeled().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSequence()) { hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getSequence(); } if (hasSymref()) { hash = (37 * hash) + SYMREF_FIELD_NUMBER; hash = (53 * hash) + getSymref().hashCode(); } if (hasTarget()) { hash = (37 * hash) + TARGET_FIELD_NUMBER; hash = (53 * hash) + getTarget().hashCode(); } if (hasIsPeeled()) { hash = (37 * hash) + IS_PEELED_FIELD_NUMBER; hash = (53 * hash) + hashBoolean(getIsPeeled()); } if (hasPeeled()) { hash = (37 * hash) + PEELED_FIELD_NUMBER; hash = (53 * hash) + getPeeled().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.RefData other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.RefData.getDefaultInstance()) return this; if (other.hasSequence()) { setSequence(other.getSequence()); } if (other.hasSymref()) { setSymref(other.getSymref()); } if (other.hasTarget()) { mergeTarget(other.getTarget()); } if (other.hasIsPeeled()) { setIsPeeled(other.getIsPeeled()); } if (other.hasPeeled()) { mergePeeled(other.getPeeled()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.RefData other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.RefData.getDefaultInstance()) return this; if (other.hasSequence()) { setSequence(other.getSequence()); } if (other.hasSymref()) { setSymref(other.getSymref()); } if (other.hasTarget()) { mergeTarget(other.getTarget()); } if (other.hasIsPeeled()) { setIsPeeled(other.getIsPeeled()); } if (other.hasPeeled()) { mergePeeled(other.getPeeled()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
DhtSymbolicRef(String refName,RefData data) { super(refName, new DhtObjectIdRef(data.getSymref(), NONE)); this.data = data; }
DhtSymbolicRef(String refName,RefData data) { super(refName, new DhtObjectIdRef(data.getSymref(), NONE)); this.data = data; }
public Builder clearSymref() { bitField0_ = (bitField0_ & ~0x00000002); symref_ = getDefaultInstance().getSymref(); onChanged(); return this; } void setSymref(com.google.protobuf.ByteString value) {
public Builder clearSymref() { bitField0_ = (bitField0_ & ~0x00000002); symref_ = getDefaultInstance().getSymref(); onChanged(); return this; } void setSymref(com.google.protobuf.ByteString value) {