A Coder for Protobuf Messages encoded as Avro GenericRecords.
A Coder for Protobuf Messages encoded as Avro GenericRecords. This must be in implicit scope when using ProtobufUtil.toAvro, for example:
implicit val avroMessageCoder: Coder[GenericRecord] = ProtobufUtil.AvroMessageCoder
The Avro Schema corresponding to an Avro-encoded Protobuf Message.
A metadata map containing information about the underlying Protobuf schema of the
Message bytes encoded inside AvroMessageSchema's bytes
field.
A metadata map containing information about the underlying Protobuf schema of the
Message bytes encoded inside AvroMessageSchema's bytes
field.
subclass of Message
A function that converts a Protobuf Message of type T
into a GenericRecord
whose Schema is a single byte array field, corresponding to the serialized bytes in T
.