public void MergeFrom(DebugResult other) { if (other == null) { return; } if (other.inputViews_ != null) { if (inputViews_ == null) { inputViews_ = new global::Pb.viewInfos(); } InputViews.MergeFrom(other.InputViews); } if (other.outputViews_ != null) { if (outputViews_ == null) { outputViews_ = new global::Pb.viewInfos(); } OutputViews.MergeFrom(other.OutputViews); } if (other.Result.Length != 0) { Result = other.Result; } _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: { if (inputViews_ == null) { inputViews_ = new global::Pb.viewInfos(); } input.ReadMessage(inputViews_); break; } case 18: { if (outputViews_ == null) { outputViews_ = new global::Pb.viewInfos(); } input.ReadMessage(outputViews_); break; } case 26: { Result = input.ReadString(); break; } } } }