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 (point_ == null) { Point = new global::gRPCClient.Point(); } input.ReadMessage(Point); break; } case 18: { if (color_ == null) { Color = new global::gRPCClient.Color(); } input.ReadMessage(Color); break; } } } }
public void MergeFrom(DrawPoint other) { if (other == null) { return; } if (other.point_ != null) { if (point_ == null) { Point = new global::gRPCClient.Point(); } Point.MergeFrom(other.Point); } if (other.color_ != null) { if (color_ == null) { Color = new global::gRPCClient.Color(); } Color.MergeFrom(other.Color); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }