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

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (TaxonomyType != 0)
            {
                hash ^= TaxonomyType.GetHashCode();
            }
            if (userInterestId_ != null)
            {
                hash ^= UserInterestId.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            if (userInterestParent_ != null)
            {
                hash ^= UserInterestParent.GetHashCode();
            }
            if (launchedToAll_ != null)
            {
                hash ^= LaunchedToAll.GetHashCode();
            }
            hash ^= availabilities_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (TaxonomyType != global::Google.Ads.GoogleAds.V3.Enums.UserInterestTaxonomyTypeEnum.Types.UserInterestTaxonomyType.Unspecified)
            {
                hash ^= TaxonomyType.GetHashCode();
            }
            if (userInterestId_ != null)
            {
                hash ^= UserInterestId.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            if (userInterestParent_ != null)
            {
                hash ^= UserInterestParent.GetHashCode();
            }
            if (launchedToAll_ != null)
            {
                hash ^= LaunchedToAll.GetHashCode();
            }
            hash ^= availabilities_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }