public void MergeFrom(RunRequest other) { if (other == null) { return; } if (other.ProfileId.Length != 0) { ProfileId = other.ProfileId; } if (other.ProposalId.Length != 0) { ProposalId = other.ProposalId; } if (other.ResultId.Length != 0) { ResultId = other.ResultId; } if (other.matchObject_ != null) { if (matchObject_ == null) { matchObject_ = new global::Messages.MatchObject(); } MatchObject.MergeFrom(other.MatchObject); } if (other.Timestamp.Length != 0) { Timestamp = other.Timestamp; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { ProfileId = input.ReadString(); break; } case 18: { ProposalId = input.ReadString(); break; } case 26: { ResultId = input.ReadString(); break; } case 34: { if (matchObject_ == null) { matchObject_ = new global::Messages.MatchObject(); } input.ReadMessage(matchObject_); break; } case 42: { Timestamp = input.ReadString(); break; } } } }