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.V8.Enums.FeedItemTargetTypeEnum.Types.FeedItemTargetType.Unspecified)
            {
                hash ^= FeedItemTargetType.GetHashCode();
            }
            if (HasFeedItemTargetId)
            {
                hash ^= FeedItemTargetId.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V8.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);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (feedItem_ != null)
            {
                hash ^= FeedItem.GetHashCode();
            }
            if (FeedItemTargetType != 0)
            {
                hash ^= FeedItemTargetType.GetHashCode();
            }
            if (feedItemTargetId_ != null)
            {
                hash ^= FeedItemTargetId.GetHashCode();
            }
            if (Status != 0)
            {
                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);
        }