public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Parent.Length != 0) { hash ^= Parent.GetHashCode(); } if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (State != global::Google.Cloud.SecurityCenter.V1P1Beta1.Finding.Types.State.Unspecified) { hash ^= State.GetHashCode(); } if (Category.Length != 0) { hash ^= Category.GetHashCode(); } if (ExternalUri.Length != 0) { hash ^= ExternalUri.GetHashCode(); } hash ^= SourceProperties.GetHashCode(); if (securityMarks_ != null) { hash ^= SecurityMarks.GetHashCode(); } if (eventTime_ != null) { hash ^= EventTime.GetHashCode(); } if (createTime_ != null) { hash ^= CreateTime.GetHashCode(); } if (Severity != global::Google.Cloud.SecurityCenter.V1P1Beta1.Finding.Types.Severity.Unspecified) { hash ^= Severity.GetHashCode(); } if (CanonicalName.Length != 0) { hash ^= CanonicalName.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Parent.Length != 0) { hash ^= Parent.GetHashCode(); } if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (State != 0) { hash ^= State.GetHashCode(); } if (Category.Length != 0) { hash ^= Category.GetHashCode(); } if (ExternalUri.Length != 0) { hash ^= ExternalUri.GetHashCode(); } hash ^= SourceProperties.GetHashCode(); if (securityMarks_ != null) { hash ^= SecurityMarks.GetHashCode(); } if (eventTime_ != null) { hash ^= EventTime.GetHashCode(); } if (createTime_ != null) { hash ^= CreateTime.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }