public override int GetHashCode() { int hash = 1; if (AvailabilityMode != 0) { hash ^= AvailabilityMode.GetHashCode(); } if (AdvertisingChannelType != 0) { hash ^= AdvertisingChannelType.GetHashCode(); } hash ^= advertisingChannelSubType_.GetHashCode(); if (includeDefaultChannelSubType_ != null) { hash ^= IncludeDefaultChannelSubType.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (AvailabilityMode != global::Google.Ads.GoogleAds.V8.Enums.CriterionCategoryChannelAvailabilityModeEnum.Types.CriterionCategoryChannelAvailabilityMode.Unspecified) { hash ^= AvailabilityMode.GetHashCode(); } if (AdvertisingChannelType != global::Google.Ads.GoogleAds.V8.Enums.AdvertisingChannelTypeEnum.Types.AdvertisingChannelType.Unspecified) { hash ^= AdvertisingChannelType.GetHashCode(); } hash ^= advertisingChannelSubType_.GetHashCode(); if (HasIncludeDefaultChannelSubType) { hash ^= IncludeDefaultChannelSubType.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }