Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (Id != 0L)
            {
                hash ^= Id.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Parent.Length != 0)
            {
                hash ^= Parent.GetHashCode();
            }
            if (LaunchedToAll != false)
            {
                hash ^= LaunchedToAll.GetHashCode();
            }
            hash ^= availabilities_.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 (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);
        }