Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (adGroup_ != null)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (ad_ != null)
            {
                hash ^= Ad.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (AdStrength != 0)
            {
                hash ^= AdStrength.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (adGroupAd_ != null)
            {
                hash ^= AdGroupAd.GetHashCode();
            }
            if (asset_ != null)
            {
                hash ^= Asset.GetHashCode();
            }
            if (FieldType != 0)
            {
                hash ^= FieldType.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (PerformanceLabel != 0)
            {
                hash ^= PerformanceLabel.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V4.Enums.AdGroupAdStatusEnum.Types.AdGroupAdStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (adGroup_ != null)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (ad_ != null)
            {
                hash ^= Ad.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (AdStrength != global::Google.Ads.GoogleAds.V4.Enums.AdStrengthEnum.Types.AdStrength.Unspecified)
            {
                hash ^= AdStrength.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (adGroupAd_ != null)
            {
                hash ^= AdGroupAd.GetHashCode();
            }
            if (asset_ != null)
            {
                hash ^= Asset.GetHashCode();
            }
            if (FieldType != global::Google.Ads.GoogleAds.V3.Enums.AssetFieldTypeEnum.Types.AssetFieldType.Unspecified)
            {
                hash ^= FieldType.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (PerformanceLabel != global::Google.Ads.GoogleAds.V3.Enums.AssetPerformanceLabelEnum.Types.AssetPerformanceLabel.Unspecified)
            {
                hash ^= PerformanceLabel.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }