public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (campaign_ != null) { hash ^= Campaign.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (bidModifier_ != null) { hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(BidModifier); } if (criterionCase_ == CriterionOneofCase.InteractionType) { hash ^= InteractionType.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (adGroup_ != null) { hash ^= AdGroup.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (bidModifier_ != null) { hash ^= pbc::ProtobufEqualityComparers.BitwiseNullableDoubleEqualityComparer.GetHashCode(BidModifier); } if (baseAdGroup_ != null) { hash ^= BaseAdGroup.GetHashCode(); } if (BidModifierSource != 0) { hash ^= BidModifierSource.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelDateSelectionType) { hash ^= HotelDateSelectionType.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelAdvanceBookingWindow) { hash ^= HotelAdvanceBookingWindow.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelLengthOfStay) { hash ^= HotelLengthOfStay.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelCheckInDay) { hash ^= HotelCheckInDay.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Device) { hash ^= Device.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.PreferredContent) { hash ^= PreferredContent.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (sharedSet_ != null) { hash ^= SharedSet.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Keyword) { hash ^= Keyword.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.YoutubeVideo) { hash ^= YoutubeVideo.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.YoutubeChannel) { hash ^= YoutubeChannel.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Placement) { hash ^= Placement.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.MobileAppCategory) { hash ^= MobileAppCategory.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.MobileApplication) { hash ^= MobileApplication.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasSharedSet) { hash ^= SharedSet.GetHashCode(); } if (HasCriterionId) { hash ^= CriterionId.GetHashCode(); } if (Type != global::Google.Ads.GoogleAds.V9.Enums.CriterionTypeEnum.Types.CriterionType.Unspecified) { hash ^= Type.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Keyword) { hash ^= Keyword.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.YoutubeVideo) { hash ^= YoutubeVideo.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.YoutubeChannel) { hash ^= YoutubeChannel.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Placement) { hash ^= Placement.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.MobileAppCategory) { hash ^= MobileAppCategory.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.MobileApplication) { hash ^= MobileApplication.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasAdGroupId) { hash ^= AdGroupId.GetHashCode(); } if (HasCriterionId) { hash ^= CriterionId.GetHashCode(); } if (Type != global::Google.Ads.GoogleAds.V5.Enums.SimulationTypeEnum.Types.SimulationType.Unspecified) { hash ^= Type.GetHashCode(); } if (ModificationMethod != global::Google.Ads.GoogleAds.V5.Enums.SimulationModificationMethodEnum.Types.SimulationModificationMethod.Unspecified) { hash ^= ModificationMethod.GetHashCode(); } if (HasStartDate) { hash ^= StartDate.GetHashCode(); } if (HasEndDate) { hash ^= EndDate.GetHashCode(); } if (pointListCase_ == PointListOneofCase.CpcBidPointList) { hash ^= CpcBidPointList.GetHashCode(); } if (pointListCase_ == PointListOneofCase.PercentCpcBidPointList) { hash ^= PercentCpcBidPointList.GetHashCode(); } hash ^= (int)pointListCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (campaignId_ != null) { hash ^= CampaignId.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (Type != global::Google.Ads.GoogleAds.V4.Enums.SimulationTypeEnum.Types.SimulationType.Unspecified) { hash ^= Type.GetHashCode(); } if (ModificationMethod != global::Google.Ads.GoogleAds.V4.Enums.SimulationModificationMethodEnum.Types.SimulationModificationMethod.Unspecified) { hash ^= ModificationMethod.GetHashCode(); } if (startDate_ != null) { hash ^= StartDate.GetHashCode(); } if (endDate_ != null) { hash ^= EndDate.GetHashCode(); } if (pointListCase_ == PointListOneofCase.BidModifierPointList) { hash ^= BidModifierPointList.GetHashCode(); } hash ^= (int)pointListCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (adGroupId_ != null) { hash ^= AdGroupId.GetHashCode(); } if (criterionId_ != null) { hash ^= CriterionId.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (ModificationMethod != 0) { hash ^= ModificationMethod.GetHashCode(); } if (startDate_ != null) { hash ^= StartDate.GetHashCode(); } if (endDate_ != null) { hash ^= EndDate.GetHashCode(); } if (pointListCase_ == PointListOneofCase.CpcBidPointList) { hash ^= CpcBidPointList.GetHashCode(); } hash ^= (int)pointListCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasAdGroup) { hash ^= AdGroup.GetHashCode(); } if (HasCriterionId) { hash ^= CriterionId.GetHashCode(); } if (HasBidModifier) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BidModifier); } if (HasBaseAdGroup) { hash ^= BaseAdGroup.GetHashCode(); } if (BidModifierSource != global::Google.Ads.GoogleAds.V7.Enums.BidModifierSourceEnum.Types.BidModifierSource.Unspecified) { hash ^= BidModifierSource.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelDateSelectionType) { hash ^= HotelDateSelectionType.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelAdvanceBookingWindow) { hash ^= HotelAdvanceBookingWindow.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelLengthOfStay) { hash ^= HotelLengthOfStay.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelCheckInDay) { hash ^= HotelCheckInDay.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.Device) { hash ^= Device.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.PreferredContent) { hash ^= PreferredContent.GetHashCode(); } if (criterionCase_ == CriterionOneofCase.HotelCheckInDateRange) { hash ^= HotelCheckInDateRange.GetHashCode(); } hash ^= (int)criterionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }