public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, source_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, objectType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isFragment_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCachedPackKeyBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, objectCounts_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, chunkSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, indexSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, metaSize_); } getUnknownFields().writeTo(output); }
.computeInt32Size(8, metaSize_); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, source_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, objectType_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBool(3, isFragment_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getCachedPackKeyBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, objectCounts_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeInt32(6, chunkSize_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeInt32(7, indexSize_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, metaSize_); } getUnknownFields().writeTo(output); }
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
.computeInt32Size(8, metaSize_); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;
hash = (53 * hash) + getMetaSize(); hash = (29 * hash) + getUnknownFields().hashCode(); return hash;
hash = (53 * hash) + getMetaSize(); hash = (29 * hash) + getUnknownFields().hashCode(); return hash;
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.getDefaultInstance()) return this; if (other.hasSource()) { setSource(other.getSource()); } if (other.hasObjectType()) { setObjectType(other.getObjectType()); } if (other.hasIsFragment()) { setIsFragment(other.getIsFragment()); } if (other.hasCachedPackKey()) { setCachedPackKey(other.getCachedPackKey()); } if (other.hasObjectCounts()) { mergeObjectCounts(other.getObjectCounts()); } if (other.hasChunkSize()) { setChunkSize(other.getChunkSize()); } if (other.hasIndexSize()) { setIndexSize(other.getIndexSize()); } if (other.hasMetaSize()) { setMetaSize(other.getMetaSize()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.ChunkInfo.getDefaultInstance()) return this; if (other.hasSource()) { setSource(other.getSource()); } if (other.hasObjectType()) { setObjectType(other.getObjectType()); } if (other.hasIsFragment()) { setIsFragment(other.getIsFragment()); } if (other.hasCachedPackKey()) { setCachedPackKey(other.getCachedPackKey()); } if (other.hasObjectCounts()) { mergeObjectCounts(other.getObjectCounts()); } if (other.hasChunkSize()) { setChunkSize(other.getChunkSize()); } if (other.hasIndexSize()) { setIndexSize(other.getIndexSize()); } if (other.hasMetaSize()) { setMetaSize(other.getMetaSize()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }