/// <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 (ExternalId != null) { hashCode = hashCode * 59 + ExternalId.GetHashCode(); } if (Metadata != null) { hashCode = hashCode * 59 + Metadata.GetHashCode(); } if (SensorType != null) { hashCode = hashCode * 59 + SensorType.GetHashCode(); } if (UnitOfMeasurement != null) { hashCode = hashCode * 59 + UnitOfMeasurement.GetHashCode(); } if (fixedLatitude != null) { hashCode = hashCode * 59 + fixedLatitude.GetHashCode(); } if (fixedLongitude != null) { hashCode = hashCode * 59 + fixedLongitude.GetHashCode(); } return(hashCode); } }
/// <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 (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (IdStr != null) { hashCode = hashCode * 59 + IdStr.GetHashCode(); } if (ExternalId != null) { hashCode = hashCode * 59 + ExternalId.GetHashCode(); } if (Error != null) { hashCode = hashCode * 59 + Error.GetHashCode(); } if (Status != null) { hashCode = hashCode * 59 + Status.GetHashCode(); } if (ActivityId != null) { hashCode = hashCode * 59 + ActivityId.GetHashCode(); } return(hashCode); } }
/// <summary> /// Computes and retrieves a hash code for an object. /// </summary> /// <remarks> /// This method implements the <see cref="Object">Object</see> method. /// </remarks> /// <returns>A hash code for an object.</returns> public override int GetHashCode() { return(Culture.GetHashCode() + Id.GetHashCode() + UserId.GetValueOrDefault().GetHashCode() + ExternalId.GetHashCode()); }
public override int GetHashCode() { unchecked { return(((ExternalId != null ? ExternalId.GetHashCode() : 0) * 397) ^ (LinkInstanceName != null ? LinkInstanceName.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (Size != 0) { hash ^= Size.GetHashCode(); } if (HeadquartersAddress.Length != 0) { hash ^= HeadquartersAddress.GetHashCode(); } if (HiringAgency != false) { hash ^= HiringAgency.GetHashCode(); } if (EeoText.Length != 0) { hash ^= EeoText.GetHashCode(); } if (WebsiteUri.Length != 0) { hash ^= WebsiteUri.GetHashCode(); } if (CareerSiteUri.Length != 0) { hash ^= CareerSiteUri.GetHashCode(); } if (ImageUri.Length != 0) { hash ^= ImageUri.GetHashCode(); } hash ^= keywordSearchableJobCustomAttributes_.GetHashCode(); if (derivedInfo_ != null) { hash ^= DerivedInfo.GetHashCode(); } if (Suspended != false) { hash ^= Suspended.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (ExternalId != null ? ExternalId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ InefficientSpotRemoval.GetHashCode(); hashCode = (hashCode * 397) ^ IncludeRightSizer.GetHashCode(); hashCode = (hashCode * 397) ^ RightSizerLevel.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (ExternalId != null ? ExternalId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ LastModified.GetHashCode(); hashCode = (hashCode * 397) ^ LastSynced.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hashCode = -1221038871; if (Order != null) { hashCode += Order.GetHashCode(); } if (BeginUpdatedAt != null) { hashCode += BeginUpdatedAt.GetHashCode(); } if (EndUpdatedAt != null) { hashCode += EndUpdatedAt.GetHashCode(); } if (BeginCreatedAt != null) { hashCode += BeginCreatedAt.GetHashCode(); } if (EndCreatedAt != null) { hashCode += EndCreatedAt.GetHashCode(); } if (Status != null) { hashCode += Status.GetHashCode(); } if (ExternalId != null) { hashCode += ExternalId.GetHashCode(); } if (Limit != null) { hashCode += Limit.GetHashCode(); } if (BatchToken != null) { hashCode += BatchToken.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasId) { hash ^= Id.GetHashCode(); } if (HasExternalId) { hash ^= ExternalId.GetHashCode(); } if (Type != global::Google.Ads.GoogleAds.V10.Enums.OfflineUserDataJobTypeEnum.Types.OfflineUserDataJobType.Unspecified) { hash ^= Type.GetHashCode(); } if (Status != global::Google.Ads.GoogleAds.V10.Enums.OfflineUserDataJobStatusEnum.Types.OfflineUserDataJobStatus.Unspecified) { hash ^= Status.GetHashCode(); } if (FailureReason != global::Google.Ads.GoogleAds.V10.Enums.OfflineUserDataJobFailureReasonEnum.Types.OfflineUserDataJobFailureReason.Unspecified) { hash ^= FailureReason.GetHashCode(); } if (operationMetadata_ != null) { hash ^= OperationMetadata.GetHashCode(); } if (metadataCase_ == MetadataOneofCase.CustomerMatchUserListMetadata) { hash ^= CustomerMatchUserListMetadata.GetHashCode(); } if (metadataCase_ == MetadataOneofCase.StoreSalesMetadata) { hash ^= StoreSalesMetadata.GetHashCode(); } hash ^= (int)metadataCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (UsageType != 0) { hash ^= UsageType.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (UsageType != 0) { hash ^= UsageType.GetHashCode(); } hash ^= keywordSearchableProfileCustomAttributes_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (UsageType != global::Google.Cloud.Talent.V4Beta1.Tenant.Types.DataUsageType.Unspecified) { hash ^= UsageType.GetHashCode(); } hash ^= keywordSearchableProfileCustomAttributes_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ExternalId.Length != 0) { hash ^= ExternalId.GetHashCode(); } if (Profile.Length != 0) { hash ^= Profile.GetHashCode(); } if (Job.Length != 0) { hash ^= Job.GetHashCode(); } if (Company.Length != 0) { hash ^= Company.GetHashCode(); } if (applicationDate_ != null) { hash ^= ApplicationDate.GetHashCode(); } if (Stage != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage.Unspecified) { hash ^= Stage.GetHashCode(); } if (State != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState.Unspecified) { hash ^= State.GetHashCode(); } hash ^= interviews_.GetHashCode(); if (referral_ != null) { hash ^= Referral.GetHashCode(); } if (createTime_ != null) { hash ^= CreateTime.GetHashCode(); } if (updateTime_ != null) { hash ^= UpdateTime.GetHashCode(); } if (OutcomeNotes.Length != 0) { hash ^= OutcomeNotes.GetHashCode(); } if (Outcome != global::Google.Cloud.Talent.V4Beta1.Outcome.Unspecified) { hash ^= Outcome.GetHashCode(); } if (isMatch_ != null) { hash ^= IsMatch.GetHashCode(); } if (JobTitleSnippet.Length != 0) { hash ^= JobTitleSnippet.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = -1815713267; if (Context != null) { hashCode += Context.GetHashCode(); } if (Id != null) { hashCode += Id.GetHashCode(); } if (FirstName != null) { hashCode += FirstName.GetHashCode(); } if (LastName != null) { hashCode += LastName.GetHashCode(); } if (RoleIds != null) { hashCode += RoleIds.GetHashCode(); } if (AuthorizedLocationIds != null) { hashCode += AuthorizedLocationIds.GetHashCode(); } if (Email != null) { hashCode += Email.GetHashCode(); } if (Status != null) { hashCode += Status.GetHashCode(); } if (ExternalId != null) { hashCode += ExternalId.GetHashCode(); } if (CreatedAt != null) { hashCode += CreatedAt.GetHashCode(); } if (UpdatedAt != null) { hashCode += UpdatedAt.GetHashCode(); } return(hashCode); }
/// <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 (ExternalId != null) { hashCode = hashCode * 59 + ExternalId.GetHashCode(); } if (UploadId != null) { hashCode = hashCode * 59 + UploadId.GetHashCode(); } if (Athlete != null) { hashCode = hashCode * 59 + Athlete.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Distance != null) { hashCode = hashCode * 59 + Distance.GetHashCode(); } if (MovingTime != null) { hashCode = hashCode * 59 + MovingTime.GetHashCode(); } if (ElapsedTime != null) { hashCode = hashCode * 59 + ElapsedTime.GetHashCode(); } if (TotalElevationGain != null) { hashCode = hashCode * 59 + TotalElevationGain.GetHashCode(); } if (ElevHigh != null) { hashCode = hashCode * 59 + ElevHigh.GetHashCode(); } if (ElevLow != null) { hashCode = hashCode * 59 + ElevLow.GetHashCode(); } if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (StartDate != null) { hashCode = hashCode * 59 + StartDate.GetHashCode(); } if (StartDateLocal != null) { hashCode = hashCode * 59 + StartDateLocal.GetHashCode(); } if (Timezone != null) { hashCode = hashCode * 59 + Timezone.GetHashCode(); } if (StartLatlng != null) { hashCode = hashCode * 59 + StartLatlng.GetHashCode(); } if (EndLatlng != null) { hashCode = hashCode * 59 + EndLatlng.GetHashCode(); } if (AchievementCount != null) { hashCode = hashCode * 59 + AchievementCount.GetHashCode(); } if (KudosCount != null) { hashCode = hashCode * 59 + KudosCount.GetHashCode(); } if (CommentCount != null) { hashCode = hashCode * 59 + CommentCount.GetHashCode(); } if (AthleteCount != null) { hashCode = hashCode * 59 + AthleteCount.GetHashCode(); } if (PhotoCount != null) { hashCode = hashCode * 59 + PhotoCount.GetHashCode(); } if (TotalPhotoCount != null) { hashCode = hashCode * 59 + TotalPhotoCount.GetHashCode(); } if (Map != null) { hashCode = hashCode * 59 + Map.GetHashCode(); } if (Trainer != null) { hashCode = hashCode * 59 + Trainer.GetHashCode(); } if (Commute != null) { hashCode = hashCode * 59 + Commute.GetHashCode(); } if (Manual != null) { hashCode = hashCode * 59 + Manual.GetHashCode(); } if (_Private != null) { hashCode = hashCode * 59 + _Private.GetHashCode(); } if (Flagged != null) { hashCode = hashCode * 59 + Flagged.GetHashCode(); } if (WorkoutType != null) { hashCode = hashCode * 59 + WorkoutType.GetHashCode(); } if (UploadIdStr != null) { hashCode = hashCode * 59 + UploadIdStr.GetHashCode(); } if (AverageSpeed != null) { hashCode = hashCode * 59 + AverageSpeed.GetHashCode(); } if (MaxSpeed != null) { hashCode = hashCode * 59 + MaxSpeed.GetHashCode(); } if (HasKudoed != null) { hashCode = hashCode * 59 + HasKudoed.GetHashCode(); } if (HideFromHome != null) { hashCode = hashCode * 59 + HideFromHome.GetHashCode(); } if (GearId != null) { hashCode = hashCode * 59 + GearId.GetHashCode(); } if (Kilojoules != null) { hashCode = hashCode * 59 + Kilojoules.GetHashCode(); } if (AverageWatts != null) { hashCode = hashCode * 59 + AverageWatts.GetHashCode(); } if (DeviceWatts != null) { hashCode = hashCode * 59 + DeviceWatts.GetHashCode(); } if (MaxWatts != null) { hashCode = hashCode * 59 + MaxWatts.GetHashCode(); } if (WeightedAverageWatts != null) { hashCode = hashCode * 59 + WeightedAverageWatts.GetHashCode(); } return(hashCode); } }
/// <summary> /// Computes and retrieves a hash code for an object. /// </summary> /// <remarks> /// This method implements the <see cref="Object">Object</see> method. /// </remarks> /// <returns>A hash code for an object.</returns> public override int GetHashCode() { return(Culture.GetHashCode() + Id.GetHashCode() + ExternalId.GetHashCode()); }