public void MergeFrom(S_Exception other) { if (other == null) { return; } if (other.Code.Length != 0) { Code = other.Code; } if (other.Message.Length != 0) { Message = other.Message; } if (other.StackTrace.Length != 0) { StackTrace = other.StackTrace; } if (other.innerException_ != null) { if (innerException_ == null) { innerException_ = new global::Nanomite.Common.S_Exception(); } InnerException.MergeFrom(other.InnerException); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Code = input.ReadString(); break; } case 18: { Message = input.ReadString(); break; } case 26: { StackTrace = input.ReadString(); break; } case 34: { if (innerException_ == null) { innerException_ = new global::Nanomite.Common.S_Exception(); } input.ReadMessage(innerException_); break; } } } }