@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUnixTime()) { hash = (37 * hash) + UNIX_TIME_FIELD_NUMBER; hash = (53 * hash) + getUnixTime(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.openxc.BinaryMessages.RTCConfigurationCommand)) { return super.equals(obj); } com.openxc.BinaryMessages.RTCConfigurationCommand other = (com.openxc.BinaryMessages.RTCConfigurationCommand) obj; boolean result = true; result = result && (hasUnixTime() == other.hasUnixTime()); if (hasUnixTime()) { result = result && (getUnixTime() == other.getUnixTime()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(com.openxc.BinaryMessages.RTCConfigurationCommand other) { if (other == com.openxc.BinaryMessages.RTCConfigurationCommand.getDefaultInstance()) return this; if (other.hasUnixTime()) { setUnixTime(other.getUnixTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }