public void MergeFrom(SecurityLoginLog other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.Login.Length != 0) { Login = other.Login; } if (other.SourceIP.Length != 0) { SourceIP = other.SourceIP; } if (other.logonDate_ != null) { if (logonDate_ == null) { LogonDate = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } LogonDate.MergeFrom(other.LogonDate); } if (other.IsSuccesful != false) { IsSuccesful = other.IsSuccesful; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Login.Length != 0) { hash ^= Login.GetHashCode(); } if (SourceIP.Length != 0) { hash ^= SourceIP.GetHashCode(); } if (logonDate_ != null) { hash ^= LogonDate.GetHashCode(); } if (IsSuccesful != false) { hash ^= IsSuccesful.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }