`type` is `required bytes` in the protobuffs message.