public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (searchTerm_ != null) { hash ^= SearchTerm.GetHashCode(); } if (headline_ != null) { hash ^= Headline.GetHashCode(); } if (landingPage_ != null) { hash ^= LandingPage.GetHashCode(); } if (pageUrl_ != null) { hash ^= PageUrl.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasSearchTerm) { hash ^= SearchTerm.GetHashCode(); } if (HasAdGroup) { hash ^= AdGroup.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V8.Enums.SearchTermTargetingStatusEnum.Types.SearchTermTargetingStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return(((SearchTerm != null ? SearchTerm.GetHashCode() : 0) * 397) ^ (Results != null ? Results.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (searchTerm_ != null) { hash ^= SearchTerm.GetHashCode(); } if (adGroup_ != null) { hash ^= AdGroup.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Categories != null) { hashCode = hashCode * 59 + Categories.GetHashCode(); } if (Nutrients != null) { hashCode = hashCode * 59 + Nutrients.GetHashCode(); } if (CalorieConversionFactor != null) { hashCode = hashCode * 59 + CalorieConversionFactor.GetHashCode(); } if (ProteinConversionFactor != null) { hashCode = hashCode * 59 + ProteinConversionFactor.GetHashCode(); } if (Components != null) { hashCode = hashCode * 59 + Components.GetHashCode(); } if (Portions != null) { hashCode = hashCode * 59 + Portions.GetHashCode(); } if (CommonName != null) { hashCode = hashCode * 59 + CommonName.GetHashCode(); } if (Footnote != null) { hashCode = hashCode * 59 + Footnote.GetHashCode(); } if (SearchTerm != null) { hashCode = hashCode * 59 + SearchTerm.GetHashCode(); } if (Score != null) { hashCode = hashCode * 59 + Score.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasSearchTerm) { hash ^= SearchTerm.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasSearchTerm) { hash ^= SearchTerm.GetHashCode(); } if (HasHeadline) { hash ^= Headline.GetHashCode(); } if (HasLandingPage) { hash ^= LandingPage.GetHashCode(); } if (HasPageUrl) { hash ^= PageUrl.GetHashCode(); } if (HasHasNegativeKeyword) { hash ^= HasNegativeKeyword.GetHashCode(); } if (HasHasMatchingKeyword) { hash ^= HasMatchingKeyword.GetHashCode(); } if (HasHasNegativeUrl) { hash ^= HasNegativeUrl.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(SearchTerm != null ? SearchTerm.GetHashCode() : 0); }