public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, whole_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, ofsDelta_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, refDelta_); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, whole_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, ofsDelta_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, refDelta_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, whole_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, ofsDelta_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, refDelta_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTotal()) { hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + getTotal(); } if (hasWhole()) { hash = (37 * hash) + WHOLE_FIELD_NUMBER; hash = (53 * hash) + getWhole(); } if (hasOfsDelta()) { hash = (37 * hash) + OFS_DELTA_FIELD_NUMBER; hash = (53 * hash) + getOfsDelta(); } if (hasRefDelta()) { hash = (37 * hash) + REF_DELTA_FIELD_NUMBER; hash = (53 * hash) + getRefDelta(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTotal()) { hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + getTotal(); } if (hasWhole()) { hash = (37 * hash) + WHOLE_FIELD_NUMBER; hash = (53 * hash) + getWhole(); } if (hasOfsDelta()) { hash = (37 * hash) + OFS_DELTA_FIELD_NUMBER; hash = (53 * hash) + getOfsDelta(); } if (hasRefDelta()) { hash = (37 * hash) + REF_DELTA_FIELD_NUMBER; hash = (53 * hash) + getRefDelta(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectCounts other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectCounts.getDefaultInstance()) return this; if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasWhole()) { setWhole(other.getWhole()); } if (other.hasOfsDelta()) { setOfsDelta(other.getOfsDelta()); } if (other.hasRefDelta()) { setRefDelta(other.getRefDelta()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt32(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt32(2, whole_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt32(3, ofsDelta_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, refDelta_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectCounts other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.ObjectCounts.getDefaultInstance()) return this; if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasWhole()) { setWhole(other.getWhole()); } if (other.hasOfsDelta()) { setOfsDelta(other.getOfsDelta()); } if (other.hasRefDelta()) { setRefDelta(other.getRefDelta()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }