public override int GetHashCode() { int hash = 1; if (indexTime_ != null) { hash ^= IndexTime.GetHashCode(); } hash ^= results_.GetHashCode(); hash ^= productGroupedResults_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(ProductSearchResults other) { if (other == null) { return; } if (other.indexTime_ != null) { if (indexTime_ == null) { indexTime_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } IndexTime.MergeFrom(other.IndexTime); } results_.Add(other.results_); productGroupedResults_.Add(other.productGroupedResults_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }