public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < objectName_.size(); i++) { output.writeBytes(1, objectName_.getByteString(i)); } getUnknownFields().writeTo(output); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < objectName_.size(); i++) { output.writeBytes(1, objectName_.getByteString(i)); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < objectName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(objectName_.getByteString(i)); } size += dataSize; size += 1 * getObjectNameList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < objectName_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(objectName_.getByteString(i)); } size += dataSize; size += 1 * getObjectNameList().size(); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@java.lang.Override public boolean equals(final Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList other = (org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList) obj; boolean result = true; result = result && getObjectNameList() .equals(other.getObjectNameList()); 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.GitStore.CachedPackInfo.TipObjectList)) { return super.equals(obj); } org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList other = (org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList) obj; boolean result = true; result = result && getObjectNameList() .equals(other.getObjectNameList()); result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList.getDefaultInstance()) return this; if (!other.objectName_.isEmpty()) { if (objectName_.isEmpty()) { objectName_ = other.objectName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureObjectNameIsMutable(); objectName_.addAll(other.objectName_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList other) { if (other == org.eclipse.jgit.generated.storage.dht.proto.GitStore.CachedPackInfo.TipObjectList.getDefaultInstance()) return this; if (!other.objectName_.isEmpty()) { if (objectName_.isEmpty()) { objectName_ = other.objectName_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureObjectNameIsMutable(); objectName_.addAll(other.objectName_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getObjectNameCount() > 0) { hash = (37 * hash) + OBJECT_NAME_FIELD_NUMBER; hash = (53 * hash) + getObjectNameList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }
@java.lang.Override public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (getObjectNameCount() > 0) { hash = (37 * hash) + OBJECT_NAME_FIELD_NUMBER; hash = (53 * hash) + getObjectNameList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); return hash; }