public void MergeFrom(RspMarginRateMsg other) { if (other == null) { return; } if (other.marginRate_ != null) { if (marginRate_ == null) { MarginRate = new global::Evelynn.Base.Response.MarginRateField(); } MarginRate.MergeFrom(other.MarginRate); } if (other.error_ != null) { if (error_ == null) { Error = new global::Evelynn.Base.Response.ErrorField(); } Error.MergeFrom(other.Error); } if (other.RequestId != 0) { RequestId = other.RequestId; } if (other.IsLast != false) { IsLast = other.IsLast; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (marginRate_ != null) { hash ^= MarginRate.GetHashCode(); } if (error_ != null) { hash ^= Error.GetHashCode(); } if (RequestId != 0) { hash ^= RequestId.GetHashCode(); } if (IsLast != false) { hash ^= IsLast.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(QryMarginRateMsg other) { if (other == null) { return; } if (other.marginRate_ != null) { if (marginRate_ == null) { MarginRate = new global::Evelynn.Base.Query.QryMarginRateField(); } MarginRate.MergeFrom(other.MarginRate); } if (other.RequestId != 0) { RequestId = other.RequestId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }