public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(1, getSymrefBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(2, target_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(3, isPeeled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(4, peeled_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(5, sequence_); } getUnknownFields().writeTo(output); }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getSymrefBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, target_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isPeeled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, peeled_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, sequence_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(1, getSymrefBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(2, target_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(3, isPeeled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(4, peeled_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(5, sequence_); } getUnknownFields().writeTo(output); }
getUnknownFields().equals(other.getUnknownFields()); return result;
getUnknownFields().equals(other.getUnknownFields()); return result;
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getSymrefBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, target_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, isPeeled_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, peeled_); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, sequence_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
@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; }