public override int GetHashCode() { unchecked { return(((TimeZone?.GetHashCode() ?? 0) * 397) ^ UtcTime.GetHashCode()); } }
public override int GetHashCode() { unchecked { return(((TimeZone != null ? TimeZone.GetHashCode() : 0) * 397) ^ UtcTime.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasClientCustomer) { hash ^= ClientCustomer.GetHashCode(); } if (HasHidden) { hash ^= Hidden.GetHashCode(); } if (HasLevel) { hash ^= Level.GetHashCode(); } if (HasTimeZone) { hash ^= TimeZone.GetHashCode(); } if (HasTestAccount) { hash ^= TestAccount.GetHashCode(); } if (HasManager) { hash ^= Manager.GetHashCode(); } if (HasDescriptiveName) { hash ^= DescriptiveName.GetHashCode(); } if (HasCurrencyCode) { hash ^= CurrencyCode.GetHashCode(); } if (HasId) { hash ^= Id.GetHashCode(); } hash ^= appliedLabels_.GetHashCode(); if (Status != global::Google.Ads.GoogleAds.V10.Enums.CustomerStatusEnum.Types.CustomerStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hash = (int)2166136261; hash = (hash * 16777619) ^ DateTime.GetHashCode(); hash = (hash * 16777619) ^ TimeZone.GetHashCode(); if (Offset != null) hash = (hash * 16777619) ^ Offset.GetHashCode(); return hash; } }
public override int GetHashCode() { unchecked { var hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Type != null ? Type.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Date.GetHashCode(); hashCode = (hashCode * 397) ^ (TimeZone != null ? TimeZone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Amount != null ? Amount.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasClientCustomer) { hash ^= ClientCustomer.GetHashCode(); } if (HasHidden) { hash ^= Hidden.GetHashCode(); } if (HasLevel) { hash ^= Level.GetHashCode(); } if (HasTimeZone) { hash ^= TimeZone.GetHashCode(); } if (HasTestAccount) { hash ^= TestAccount.GetHashCode(); } if (HasManager) { hash ^= Manager.GetHashCode(); } if (HasDescriptiveName) { hash ^= DescriptiveName.GetHashCode(); } if (HasCurrencyCode) { hash ^= CurrencyCode.GetHashCode(); } if (HasId) { hash ^= Id.GetHashCode(); } hash ^= appliedLabels_.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 (descriptiveName_ != null) { hash ^= DescriptiveName.GetHashCode(); } if (currencyCode_ != null) { hash ^= CurrencyCode.GetHashCode(); } if (timeZone_ != null) { hash ^= TimeZone.GetHashCode(); } if (trackingUrlTemplate_ != null) { hash ^= TrackingUrlTemplate.GetHashCode(); } if (finalUrlSuffix_ != null) { hash ^= FinalUrlSuffix.GetHashCode(); } if (autoTaggingEnabled_ != null) { hash ^= AutoTaggingEnabled.GetHashCode(); } if (hasPartnersBadge_ != null) { hash ^= HasPartnersBadge.GetHashCode(); } if (callReportingSetting_ != null) { hash ^= CallReportingSetting.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (clientCustomer_ != null) { hash ^= ClientCustomer.GetHashCode(); } if (hidden_ != null) { hash ^= Hidden.GetHashCode(); } if (level_ != null) { hash ^= Level.GetHashCode(); } if (timeZone_ != null) { hash ^= TimeZone.GetHashCode(); } if (testAccount_ != null) { hash ^= TestAccount.GetHashCode(); } if (manager_ != null) { hash ^= Manager.GetHashCode(); } if (descriptiveName_ != null) { hash ^= DescriptiveName.GetHashCode(); } if (currencyCode_ != null) { hash ^= CurrencyCode.GetHashCode(); } if (id_ != null) { hash ^= Id.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// /// </summary> /// <returns></returns> public override int GetHashCode() { int hash = 17; hash = hash * 23 + Id.GetHashCode(); hash = hash * 23 + OrgId.GetHashCode(); hash = hash * 23 + TimeZone.GetHashCode(); hash = hash * 23 + Theme.GetHashCode(); if (HomeDashboardId.HasValue) { hash = hash * 23 + HomeDashboardId.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (State != global::Google.Cloud.Notebooks.V1.Schedule.Types.State.Unspecified) { hash ^= State.GetHashCode(); } if (CronSchedule.Length != 0) { hash ^= CronSchedule.GetHashCode(); } if (TimeZone.Length != 0) { hash ^= TimeZone.GetHashCode(); } if (createTime_ != null) { hash ^= CreateTime.GetHashCode(); } if (updateTime_ != null) { hash ^= UpdateTime.GetHashCode(); } if (executionTemplate_ != null) { hash ^= ExecutionTemplate.GetHashCode(); } hash ^= recentExecutions_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Email != null) { hashCode = hashCode * 59 + Email.GetHashCode(); } if (UserId != null) { hashCode = hashCode * 59 + UserId.GetHashCode(); } if (TimeZone != null) { hashCode = hashCode * 59 + TimeZone.GetHashCode(); } if (Activated != null) { hashCode = hashCode * 59 + Activated.GetHashCode(); } if (CreationTime != null) { hashCode = hashCode * 59 + CreationTime.GetHashCode(); } if (LastModifiedTime != null) { hashCode = hashCode * 59 + LastModifiedTime.GetHashCode(); } if (LastLoginTime != null) { hashCode = hashCode * 59 + LastLoginTime.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(Date.GetHashCode() ^ TimeZone.GetHashCode() ^ Precision.GetHashCode()); }