@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBus()) { hash = (37 * hash) + BUS_FIELD_NUMBER; hash = (53 * hash) + getBus(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasFrameFormat()) { hash = (37 * hash) + FRAME_FORMAT_FIELD_NUMBER; hash = (53 * hash) + frameFormat_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
.equals(other.getData()); result = result && (hasFrameFormat() == other.hasFrameFormat()); if (hasFrameFormat()) { result = result && frameFormat_ == other.frameFormat_;
public Builder mergeFrom(com.openxc.BinaryMessages.CanMessage other) { if (other == com.openxc.BinaryMessages.CanMessage.getDefaultInstance()) return this; if (other.hasBus()) { setBus(other.getBus()); } if (other.hasId()) { setId(other.getId()); } if (other.hasData()) { setData(other.getData()); } if (other.hasFrameFormat()) { setFrameFormat(other.getFrameFormat()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }