public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (id_ != null) { hash ^= Id.GetHashCode(); } if (name_ != null) { hash ^= Name.GetHashCode(); } if (amountMicros_ != null) { hash ^= AmountMicros.GetHashCode(); } if (totalAmountMicros_ != null) { hash ^= TotalAmountMicros.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } if (DeliveryMethod != 0) { hash ^= DeliveryMethod.GetHashCode(); } if (explicitlyShared_ != null) { hash ^= ExplicitlyShared.GetHashCode(); } if (referenceCount_ != null) { hash ^= ReferenceCount.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (HasCurrencyCode) { hash ^= CurrencyCode.GetHashCode(); } if (HasAmountMicros) { hash ^= AmountMicros.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 (name_ != null) { hash ^= Name.GetHashCode(); } if (amountMicros_ != null) { hash ^= AmountMicros.GetHashCode(); } if (totalAmountMicros_ != null) { hash ^= TotalAmountMicros.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V4.Enums.BudgetStatusEnum.Types.BudgetStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (DeliveryMethod != global::Google.Ads.GoogleAds.V4.Enums.BudgetDeliveryMethodEnum.Types.BudgetDeliveryMethod.Unspecified) { hash ^= DeliveryMethod.GetHashCode(); } if (explicitlyShared_ != null) { hash ^= ExplicitlyShared.GetHashCode(); } if (referenceCount_ != null) { hash ^= ReferenceCount.GetHashCode(); } if (hasRecommendedBudget_ != null) { hash ^= HasRecommendedBudget.GetHashCode(); } if (recommendedBudgetAmountMicros_ != null) { hash ^= RecommendedBudgetAmountMicros.GetHashCode(); } if (Period != global::Google.Ads.GoogleAds.V4.Enums.BudgetPeriodEnum.Types.BudgetPeriod.Unspecified) { hash ^= Period.GetHashCode(); } if (recommendedBudgetEstimatedChangeWeeklyClicks_ != null) { hash ^= RecommendedBudgetEstimatedChangeWeeklyClicks.GetHashCode(); } if (recommendedBudgetEstimatedChangeWeeklyCostMicros_ != null) { hash ^= RecommendedBudgetEstimatedChangeWeeklyCostMicros.GetHashCode(); } if (recommendedBudgetEstimatedChangeWeeklyInteractions_ != null) { hash ^= RecommendedBudgetEstimatedChangeWeeklyInteractions.GetHashCode(); } if (recommendedBudgetEstimatedChangeWeeklyViews_ != null) { hash ^= RecommendedBudgetEstimatedChangeWeeklyViews.GetHashCode(); } if (Type != global::Google.Ads.GoogleAds.V4.Enums.BudgetTypeEnum.Types.BudgetType.Unspecified) { hash ^= Type.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }