public void MergeFrom(AnalyzeRequest other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.original_ != null) { if (original_ == null) { original_ = new global::CompatibilityAnalyzer.Models.Protobuf.RequestItem(); } Original.MergeFrom(other.Original); } if (other.updated_ != null) { if (updated_ == null) { updated_ = new global::CompatibilityAnalyzer.Models.Protobuf.RequestItem(); } Updated.MergeFrom(other.Updated); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Id = input.ReadString(); break; } case 18: { if (original_ == null) { original_ = new global::CompatibilityAnalyzer.Models.Protobuf.RequestItem(); } input.ReadMessage(original_); break; } case 26: { if (updated_ == null) { updated_ = new global::CompatibilityAnalyzer.Models.Protobuf.RequestItem(); } input.ReadMessage(updated_); break; } } } }