public void MergeFrom(VersionedEventSource other)
 {
     if (other == null)
     {
         return;
     }
     if (other.version_ != null)
     {
         if (version_ == null)
         {
             version_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.EventSourceVersion();
         }
         Version.MergeFrom(other.Version);
     }
     if (other.eventSource_ != null)
     {
         if (eventSource_ == null)
         {
             eventSource_ = new global::System.Protobuf.guid();
         }
         EventSource.MergeFrom(other.EventSource);
     }
     if (other.artifact_ != null)
     {
         if (artifact_ == null)
         {
             artifact_ = new global::System.Protobuf.guid();
         }
         Artifact.MergeFrom(other.Artifact);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (version_ == null)
                    {
                        version_ = new global::Dolittle.Runtime.Events.Relativity.Protobuf.EventSourceVersion();
                    }
                    input.ReadMessage(version_);
                    break;
                }

                case 18: {
                    if (eventSource_ == null)
                    {
                        eventSource_ = new global::System.Protobuf.guid();
                    }
                    input.ReadMessage(eventSource_);
                    break;
                }

                case 26: {
                    if (artifact_ == null)
                    {
                        artifact_ = new global::System.Protobuf.guid();
                    }
                    input.ReadMessage(artifact_);
                    break;
                }
                }
            }
        }