public void MergeFrom(ManagmentReportingSvcBatchReportRequest other) { if (other == null) { return; } properties_.Add(other.properties_); if (other.currentTimeManifest_ != null) { if (currentTimeManifest_ == null) { currentTimeManifest_ = new global::HOLMS.Types.Reporting.ReportParams.ManagementCurrentTimeReportManifest(); } CurrentTimeManifest.MergeFrom(other.CurrentTimeManifest); } if (other.clockTimeRangeManifest_ != null) { if (clockTimeRangeManifest_ == null) { clockTimeRangeManifest_ = new global::HOLMS.Types.Reporting.ReportParams.ManagementClockTimeRangeReportManifest(); } ClockTimeRangeManifest.MergeFrom(other.ClockTimeRangeManifest); } if (other.opsdateRangeManifest_ != null) { if (opsdateRangeManifest_ == null) { opsdateRangeManifest_ = new global::HOLMS.Types.Reporting.ReportParams.ManagementOpsdateRangeReportManifest(); } OpsdateRangeManifest.MergeFrom(other.OpsdateRangeManifest); } }
public override int GetHashCode() { int hash = 1; hash ^= properties_.GetHashCode(); if (currentTimeManifest_ != null) { hash ^= CurrentTimeManifest.GetHashCode(); } if (clockTimeRangeManifest_ != null) { hash ^= ClockTimeRangeManifest.GetHashCode(); } if (opsdateRangeManifest_ != null) { hash ^= OpsdateRangeManifest.GetHashCode(); } return(hash); }