Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasKeywordPlanCampaign)
            {
                hash ^= KeywordPlanCampaign.GetHashCode();
            }
            if (HasId)
            {
                hash ^= Id.GetHashCode();
            }
            if (HasName)
            {
                hash ^= Name.GetHashCode();
            }
            if (HasCpcBidMicros)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasKeywordPlanAdGroup)
            {
                hash ^= KeywordPlanAdGroup.GetHashCode();
            }
            if (HasId)
            {
                hash ^= Id.GetHashCode();
            }
            if (HasText)
            {
                hash ^= Text.GetHashCode();
            }
            if (MatchType != global::Google.Ads.GoogleAds.V10.Enums.KeywordMatchTypeEnum.Types.KeywordMatchType.Unspecified)
            {
                hash ^= MatchType.GetHashCode();
            }
            if (HasCpcBidMicros)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            if (HasNegative)
            {
                hash ^= Negative.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (keywordPlan_ != null)
            {
                hash ^= KeywordPlan.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= languageConstants_.GetHashCode();
            if (KeywordPlanNetwork != global::Google.Ads.GoogleAds.V4.Enums.KeywordPlanNetworkEnum.Types.KeywordPlanNetwork.Unspecified)
            {
                hash ^= KeywordPlanNetwork.GetHashCode();
            }
            if (cpcBidMicros_ != null)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            hash ^= geoTargets_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (keywordPlan_ != null)
            {
                hash ^= KeywordPlan.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= languageConstants_.GetHashCode();
            if (KeywordPlanNetwork != 0)
            {
                hash ^= KeywordPlanNetwork.GetHashCode();
            }
            if (cpcBidMicros_ != null)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            hash ^= geoTargets_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (AdRotationMode != 0)
            {
                hash ^= AdRotationMode.GetHashCode();
            }
            if (trackingUrlTemplate_ != null)
            {
                hash ^= TrackingUrlTemplate.GetHashCode();
            }
            hash ^= urlCustomParameters_.GetHashCode();
            if (campaign_ != null)
            {
                hash ^= Campaign.GetHashCode();
            }
            if (cpcBidMicros_ != null)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            if (cpmBidMicros_ != null)
            {
                hash ^= CpmBidMicros.GetHashCode();
            }
            if (cpaBidMicros_ != null)
            {
                hash ^= CpaBidMicros.GetHashCode();
            }
            if (cpvBidMicros_ != null)
            {
                hash ^= CpvBidMicros.GetHashCode();
            }
            if (targetRoasOverride_ != null)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(TargetRoasOverride);
            }
            if (percentCpcBidMicros_ != null)
            {
                hash ^= PercentCpcBidMicros.GetHashCode();
            }
            if (explorerAutoOptimizerSetting_ != null)
            {
                hash ^= ExplorerAutoOptimizerSetting.GetHashCode();
            }
            if (DisplayCustomBidDimension != 0)
            {
                hash ^= DisplayCustomBidDimension.GetHashCode();
            }
            if (finalUrlSuffix_ != null)
            {
                hash ^= FinalUrlSuffix.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }