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

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasFeed)
            {
                hash ^= Feed.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            hash ^= placeholderTypes_.GetHashCode();
            if (matchingFunction_ != null)
            {
                hash ^= MatchingFunction.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.FeedLinkStatusEnum.Types.FeedLinkStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (AdGroup.Length != 0)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (CustomizerAttribute.Length != 0)
            {
                hash ^= CustomizerAttribute.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.CustomizerValueStatusEnum.Types.CustomizerValueStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (value_ != null)
            {
                hash ^= Value.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (AdGroup.Length != 0)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (Asset.Length != 0)
            {
                hash ^= Asset.GetHashCode();
            }
            if (FieldType != global::Google.Ads.GoogleAds.V9.Enums.AssetFieldTypeEnum.Types.AssetFieldType.Unspecified)
            {
                hash ^= FieldType.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.AssetLinkStatusEnum.Types.AssetLinkStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (ExtensionType != global::Google.Ads.GoogleAds.V9.Enums.ExtensionTypeEnum.Types.ExtensionType.Unspecified)
            {
                hash ^= ExtensionType.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            hash ^= extensionFeedItems_.GetHashCode();
            if (Device != global::Google.Ads.GoogleAds.V9.Enums.ExtensionSettingDeviceEnum.Types.ExtensionSettingDevice.Unspecified)
            {
                hash ^= Device.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasSearchTerm)
            {
                hash ^= SearchTerm.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.SearchTermTargetingStatusEnum.Types.SearchTermTargetingStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        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.V9.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType.Unspecified)
            {
                hash ^= FeedItemTargetType.GetHashCode();
            }
            if (HasFeedItemTargetId)
            {
                hash ^= FeedItemTargetId.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.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);
        }
Exemplo n.º 7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (HasLabel)
            {
                hash ^= Label.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V9.Enums.AdGroupAdStatusEnum.Types.AdGroupAdStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (ad_ != null)
            {
                hash ^= Ad.GetHashCode();
            }
            if (policySummary_ != null)
            {
                hash ^= PolicySummary.GetHashCode();
            }
            if (AdStrength != global::Google.Ads.GoogleAds.V9.Enums.AdStrengthEnum.Types.AdStrength.Unspecified)
            {
                hash ^= AdStrength.GetHashCode();
            }
            hash ^= actionItems_.GetHashCode();
            hash ^= labels_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }