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

            if (summary_ != null)
            {
                hash ^= Summary.GetHashCode();
            }
            if (processStatus_ != null)
            {
                hash ^= ProcessStatus.GetHashCode();
            }
            if (channelStatus_ != null)
            {
                hash ^= ChannelStatus.GetHashCode();
            }
            if (resourceStatus_ != null)
            {
                hash ^= ResourceStatus.GetHashCode();
            }
            if (otherStatus_ != null)
            {
                hash ^= OtherStatus.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (lastChangeDateTime_ != null)
            {
                hash ^= LastChangeDateTime.GetHashCode();
            }
            if (ResourceType != 0)
            {
                hash ^= ResourceType.GetHashCode();
            }
            if (campaign_ != null)
            {
                hash ^= Campaign.GetHashCode();
            }
            if (adGroup_ != null)
            {
                hash ^= AdGroup.GetHashCode();
            }
            if (ResourceStatus != 0)
            {
                hash ^= ResourceStatus.GetHashCode();
            }
            if (adGroupAd_ != null)
            {
                hash ^= AdGroupAd.GetHashCode();
            }
            if (adGroupCriterion_ != null)
            {
                hash ^= AdGroupCriterion.GetHashCode();
            }
            if (campaignCriterion_ != null)
            {
                hash ^= CampaignCriterion.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 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);
        }