Was incorrectly importing heartbeat.proto and did not add it as an optional message type.