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: { if (prediction_ == null) { Prediction = new global::Asgt.Type.Prediction(); } input.ReadMessage(Prediction); break; } case 18: { if (model_ == null) { Model = new global::Asgt.Type.Model(); } input.ReadMessage(Model); break; } } } }
public void MergeFrom(SuggestResponse other) { if (other == null) { return; } if (other.prediction_ != null) { if (prediction_ == null) { Prediction = new global::Asgt.Type.Prediction(); } Prediction.MergeFrom(other.Prediction); } if (other.model_ != null) { if (model_ == null) { Model = new global::Asgt.Type.Model(); } Model.MergeFrom(other.Model); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }