parse AWState using protocol buffers