Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (descriptiveName_ != null)
            {
                hash ^= DescriptiveName.GetHashCode();
            }
            if (currencyCode_ != null)
            {
                hash ^= CurrencyCode.GetHashCode();
            }
            if (timeZone_ != null)
            {
                hash ^= TimeZone.GetHashCode();
            }
            if (trackingUrlTemplate_ != null)
            {
                hash ^= TrackingUrlTemplate.GetHashCode();
            }
            if (finalUrlSuffix_ != null)
            {
                hash ^= FinalUrlSuffix.GetHashCode();
            }
            if (autoTaggingEnabled_ != null)
            {
                hash ^= AutoTaggingEnabled.GetHashCode();
            }
            if (hasPartnersBadge_ != null)
            {
                hash ^= HasPartnersBadge.GetHashCode();
            }
            if (callReportingSetting_ != null)
            {
                hash ^= CallReportingSetting.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasUrlCollectionId)
            {
                hash ^= UrlCollectionId.GetHashCode();
            }
            hash ^= finalUrls_.GetHashCode();
            hash ^= finalMobileUrls_.GetHashCode();
            if (HasTrackingUrlTemplate)
            {
                hash ^= TrackingUrlTemplate.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
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);
        }