Class TypedRecordSerializer<M extends Message,​U extends Message,​B extends Message.Builder>

  • Type Parameters:
    M - generated Protobuf class for the record message type
    U - generated Protobuf class for the union message
    B - generated Protobuf class for the union message's builder
    All Implemented Interfaces:
    RecordSerializer<M>

    @API(UNSTABLE)
    public class TypedRecordSerializer<M extends Message,​U extends Message,​B extends Message.Builder>
    extends MessageBuilderRecordSerializerBase<M,​U,​B>
    Serialize records using default Protobuf serialization using supplied message builder for the union message type and two accessors for the message field corresponding to the known record type.