public PersistentSubscriptionAckEvents(string subscriptionId, byte[][] processedEventIds)
 {
     SubscriptionId = subscriptionId;
     for (int i = 0; i < processedEventIds.Length; i++)
     {
         ProcessedEventIds.Add(ByteString.CopyFrom(processedEventIds[i]));
     }
 }
        public PersistentSubscriptionNakEvents(string subscriptionId, byte[][] processedEventIds, string message, PersistentSubscriptionNakEvents.Types.NakAction action)
        {
            SubscriptionId = subscriptionId;
            for (int i = 0; i < processedEventIds.Length; i++)
            {
                ProcessedEventIds.Add(ByteString.CopyFrom(processedEventIds[i]));
            }

            if (message != null)
            {
                Message = message;
            }
            Action = action;
        }