Protocol buffer definitions for core API messages.