public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasFeed)
            {
                hash ^= Feed.GetHashCode();
            }
            hash ^= placeholderTypes_.GetHashCode();
            if (matchingFunction_ != null)
            {
                hash ^= MatchingFunction.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V6.Enums.FeedLinkStatusEnum.Types.FeedLinkStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (Feed.Length != 0)
            {
                hash ^= Feed.GetHashCode();
            }
            if (FeedItemSetId != 0L)
            {
                hash ^= FeedItemSetId.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V6.Enums.FeedItemSetStatusEnum.Types.FeedItemSetStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicLocationSetFilter)
            {
                hash ^= DynamicLocationSetFilter.GetHashCode();
            }
            if (dynamicSetFilterCase_ == DynamicSetFilterOneofCase.DynamicAffiliateLocationSetFilter)
            {
                hash ^= DynamicAffiliateLocationSetFilter.GetHashCode();
            }
            hash ^= (int)dynamicSetFilterCase_;
            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 (HasLastChangeDateTime)
            {
                hash ^= LastChangeDateTime.GetHashCode();
            }
            if (ResourceType != global::Google.Ads.GoogleAds.V6.Enums.ChangeStatusResourceTypeEnum.Types.ChangeStatusResourceType.Unspecified)
            {
                hash ^= ResourceType.GetHashCode();
            }
            if (HasCampaign)
            {
                hash ^= Campaign.GetHashCode();
            }
            if (HasAdGroup)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (ResourceStatus != global::Google.Ads.GoogleAds.V6.Enums.ChangeStatusOperationEnum.Types.ChangeStatusOperation.Unspecified)
            {
                hash ^= ResourceStatus.GetHashCode();
            }
            if (HasAdGroupAd)
            {
                hash ^= AdGroupAd.GetHashCode();
            }
            if (HasAdGroupCriterion)
            {
                hash ^= AdGroupCriterion.GetHashCode();
            }
            if (HasCampaignCriterion)
            {
                hash ^= CampaignCriterion.GetHashCode();
            }
            if (HasFeed)
            {
                hash ^= Feed.GetHashCode();
            }
            if (HasFeedItem)
            {
                hash ^= FeedItem.GetHashCode();
            }
            if (HasAdGroupFeed)
            {
                hash ^= AdGroupFeed.GetHashCode();
            }
            if (HasCampaignFeed)
            {
                hash ^= CampaignFeed.GetHashCode();
            }
            if (HasAdGroupBidModifier)
            {
                hash ^= AdGroupBidModifier.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }