public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasId) { hash ^= Id.GetHashCode(); } if (HasCampaignDraft) { hash ^= CampaignDraft.GetHashCode(); } if (HasName) { hash ^= Name.GetHashCode(); } if (HasDescription) { hash ^= Description.GetHashCode(); } if (HasTrafficSplitPercent) { hash ^= TrafficSplitPercent.GetHashCode(); } if (TrafficSplitType != global::Google.Ads.GoogleAds.V9.Enums.CampaignExperimentTrafficSplitTypeEnum.Types.CampaignExperimentTrafficSplitType.Unspecified) { hash ^= TrafficSplitType.GetHashCode(); } if (HasExperimentCampaign) { hash ^= ExperimentCampaign.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V9.Enums.CampaignExperimentStatusEnum.Types.CampaignExperimentStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (HasLongRunningOperation) { hash ^= LongRunningOperation.GetHashCode(); } if (HasStartDate) { hash ^= StartDate.GetHashCode(); } if (HasEndDate) { hash ^= EndDate.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (id_ != null) { hash ^= Id.GetHashCode(); } if (campaignDraft_ != null) { hash ^= CampaignDraft.GetHashCode(); } if (name_ != null) { hash ^= Name.GetHashCode(); } if (description_ != null) { hash ^= Description.GetHashCode(); } if (trafficSplitPercent_ != null) { hash ^= TrafficSplitPercent.GetHashCode(); } if (TrafficSplitType != global::Google.Ads.GoogleAds.V5.Enums.CampaignExperimentTrafficSplitTypeEnum.Types.CampaignExperimentTrafficSplitType.Unspecified) { hash ^= TrafficSplitType.GetHashCode(); } if (experimentCampaign_ != null) { hash ^= ExperimentCampaign.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V5.Enums.CampaignExperimentStatusEnum.Types.CampaignExperimentStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (longRunningOperation_ != null) { hash ^= LongRunningOperation.GetHashCode(); } if (startDate_ != null) { hash ^= StartDate.GetHashCode(); } if (endDate_ != null) { hash ^= EndDate.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }