public override int GetHashCode()
        {
            int hash = 1;

            hash ^= priceUpdates_.GetHashCode();
            if (LastPrice != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LastPrice);
            }
            if (ClosingPrice != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ClosingPrice);
            }
            if (timestamp_ != null)
            {
                hash ^= Timestamp.GetHashCode();
            }
            if (lastPriceTimestamp_ != null)
            {
                hash ^= LastPriceTimestamp.GetHashCode();
            }
            if (closingPriceTimestamp_ != null)
            {
                hash ^= ClosingPriceTimestamp.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(PriceUpdate other)
 {
     if (other == null)
     {
         return;
     }
     priceUpdates_.Add(other.priceUpdates_);
     if (other.LastPrice != 0D)
     {
         LastPrice = other.LastPrice;
     }
     if (other.ClosingPrice != 0D)
     {
         ClosingPrice = other.ClosingPrice;
     }
     if (other.timestamp_ != null)
     {
         if (timestamp_ == null)
         {
             timestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         Timestamp.MergeFrom(other.Timestamp);
     }
     if (other.lastPriceTimestamp_ != null)
     {
         if (lastPriceTimestamp_ == null)
         {
             lastPriceTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         LastPriceTimestamp.MergeFrom(other.LastPriceTimestamp);
     }
     if (other.closingPriceTimestamp_ != null)
     {
         if (closingPriceTimestamp_ == null)
         {
             closingPriceTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         ClosingPriceTimestamp.MergeFrom(other.ClosingPriceTimestamp);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }