public override int GetHashCode() { int hash = 1; hash ^= clusters_.GetHashCode(); if (loadReportingInterval_ != null) { hash ^= LoadReportingInterval.GetHashCode(); } if (ReportEndpointGranularity != false) { hash ^= ReportEndpointGranularity.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(LoadStatsResponse other) { if (other == null) { return; } clusters_.Add(other.clusters_); if (other.loadReportingInterval_ != null) { if (loadReportingInterval_ == null) { LoadReportingInterval = new global::Google.Protobuf.WellKnownTypes.Duration(); } LoadReportingInterval.MergeFrom(other.LoadReportingInterval); } if (other.ReportEndpointGranularity != false) { ReportEndpointGranularity = other.ReportEndpointGranularity; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }