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

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (HasKeywordPlanCampaign)
            {
                hash ^= KeywordPlanCampaign.GetHashCode();
            }
            if (HasId)
            {
                hash ^= Id.GetHashCode();
            }
            if (HasText)
            {
                hash ^= Text.GetHashCode();
            }
            if (MatchType != global::Google.Ads.GoogleAds.V10.Enums.KeywordMatchTypeEnum.Types.KeywordMatchType.Unspecified)
            {
                hash ^= MatchType.GetHashCode();
            }
            if (HasNegative)
            {
                hash ^= Negative.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }