ProtoBufBuilder

class ProtoBufBuilder

Builder of the ProtoBuf instance provided by ProtoBuf factory function.

Properties

Link copied to clipboard
var encodeDefaults: Boolean

Specifies whether default values of Kotlin properties should be encoded.

Link copied to clipboard
var serializersModule: SerializersModule

Module with contextual and polymorphic serializers to be used in the resulting ProtoBuf instance.