public void MergeFrom(EventMetadata other) { if (other == null) { return; } if (other.eventId_ != null) { if (eventId_ == null) { eventId_ = new global::System.Protobuf.guid(); } EventId.MergeFrom(other.EventId); } if (other.source_ != null) { if (source_ == null) { source_ = new global::Dolittle.Runtime.Grpc.Interaction.VersionedEventSource(); } Source.MergeFrom(other.Source); } if (other.correlationId_ != null) { if (correlationId_ == null) { correlationId_ = new global::System.Protobuf.guid(); } CorrelationId.MergeFrom(other.CorrelationId); } if (other.artifact_ != null) { if (artifact_ == null) { artifact_ = new global::Dolittle.Runtime.Grpc.Interaction.Artifact(); } Artifact.MergeFrom(other.Artifact); } if (other.Occurred != 0L) { Occurred = other.Occurred; } if (other.originalContext_ != null) { if (originalContext_ == null) { originalContext_ = new global::Dolittle.Runtime.Grpc.Interaction.OriginalContext(); } OriginalContext.MergeFrom(other.OriginalContext); } }