Ejemplo n.º 1
0
 public override int GetHashCode() {
   int hash = 1;
   if (CustomerId.Length != 0) hash ^= CustomerId.GetHashCode();
   if (language_ != null) hash ^= Language.GetHashCode();
   hash ^= geoTargetConstants_.GetHashCode();
   if (KeywordPlanNetwork != 0) hash ^= KeywordPlanNetwork.GetHashCode();
   if (seedCase_ == SeedOneofCase.KeywordAndUrlSeed) hash ^= KeywordAndUrlSeed.GetHashCode();
   if (seedCase_ == SeedOneofCase.KeywordSeed) hash ^= KeywordSeed.GetHashCode();
   if (seedCase_ == SeedOneofCase.UrlSeed) hash ^= UrlSeed.GetHashCode();
   hash ^= (int) seedCase_;
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (keywordPlan_ != null)
            {
                hash ^= KeywordPlan.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= languageConstants_.GetHashCode();
            if (KeywordPlanNetwork != global::Google.Ads.GoogleAds.V4.Enums.KeywordPlanNetworkEnum.Types.KeywordPlanNetwork.Unspecified)
            {
                hash ^= KeywordPlanNetwork.GetHashCode();
            }
            if (cpcBidMicros_ != null)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            hash ^= geoTargets_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (keywordPlan_ != null)
            {
                hash ^= KeywordPlan.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (name_ != null)
            {
                hash ^= Name.GetHashCode();
            }
            hash ^= languageConstants_.GetHashCode();
            if (KeywordPlanNetwork != 0)
            {
                hash ^= KeywordPlanNetwork.GetHashCode();
            }
            if (cpcBidMicros_ != null)
            {
                hash ^= CpcBidMicros.GetHashCode();
            }
            hash ^= geoTargets_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }