コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (avgMonthlySearches_ != null)
            {
                hash ^= AvgMonthlySearches.GetHashCode();
            }
            hash ^= monthlySearchVolumes_.GetHashCode();
            if (Competition != global::Google.Ads.GoogleAds.V5.Enums.KeywordPlanCompetitionLevelEnum.Types.KeywordPlanCompetitionLevel.Unspecified)
            {
                hash ^= Competition.GetHashCode();
            }
            if (competitionIndex_ != null)
            {
                hash ^= CompetitionIndex.GetHashCode();
            }
            if (lowTopOfPageBidMicros_ != null)
            {
                hash ^= LowTopOfPageBidMicros.GetHashCode();
            }
            if (highTopOfPageBidMicros_ != null)
            {
                hash ^= HighTopOfPageBidMicros.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (avgMonthlySearches_ != null)
            {
                hash ^= AvgMonthlySearches.GetHashCode();
            }
            if (Competition != 0)
            {
                hash ^= Competition.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (avgMonthlySearches_ != null)
            {
                hash ^= AvgMonthlySearches.GetHashCode();
            }
            if (Competition != global::Google.Ads.GoogleAds.V2.Enums.KeywordPlanCompetitionLevelEnum.Types.KeywordPlanCompetitionLevel.Unspecified)
            {
                hash ^= Competition.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }