private Publish PublishToProto(Distributed.Publish publish) { return(Publish.CreateBuilder() .SetTopic(publish.Topic) .SetPayload(PayloadToProto(publish.Message)) .Build()); }