public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasFeedItem) { hash ^= FeedItem.GetHashCode(); } if (FeedItemTargetType != global::Google.Ads.GoogleAds.V10.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType.Unspecified) { hash ^= FeedItemTargetType.GetHashCode(); } if (HasFeedItemTargetId) { hash ^= FeedItemTargetId.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V10.Enums.FeedItemTargetStatusEnum.Types.FeedItemTargetStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (targetCase_ == TargetOneofCase.Campaign) { hash ^= Campaign.GetHashCode(); } if (targetCase_ == TargetOneofCase.AdGroup) { hash ^= AdGroup.GetHashCode(); } if (targetCase_ == TargetOneofCase.Keyword) { hash ^= Keyword.GetHashCode(); } if (targetCase_ == TargetOneofCase.GeoTargetConstant) { hash ^= GeoTargetConstant.GetHashCode(); } if (targetCase_ == TargetOneofCase.Device) { hash ^= Device.GetHashCode(); } if (targetCase_ == TargetOneofCase.AdSchedule) { hash ^= AdSchedule.GetHashCode(); } hash ^= (int)targetCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (FeedItem.Length != 0) { hash ^= FeedItem.GetHashCode(); } if (FeedItemSet.Length != 0) { hash ^= FeedItemSet.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }