private Response.OTSResponse DecodeUpdateRow(byte[] body, out IMessage _message)
        {
            var builder = PB.UpdateRowResponse.CreateBuilder();

            builder.MergeFrom(body);
            var message = builder.Build();

            DataModel.Row row = null;

            if (message.HasRow && !message.Row.IsEmpty)
            {
                row = ParseRow(message.Row);
            }
            else
            {
                row = new DataModel.Row(new DataModel.PrimaryKey(), new List <DataModel.Column>());
            }

            var response = new Response.UpdateRowResponse(
                ParseCapacityUnit(message.Consumed.CapacityUnit),
                row
                );

            _message = message;
            return(response);
        }
        private Response.OTSResponse DecodeUpdateRow(byte[] body, out IMessage _message)
        {
            var builder = PB.UpdateRowResponse.CreateBuilder();

            builder.MergeFrom(body);
            var message = builder.Build();

            var response = new Response.UpdateRowResponse(
                ParseCapacityUnit(message.Consumed.CapacityUnit)
                );

            _message = message;
            return(response);
        }