Get started

ProtoUnknownFieldHolder

@Serializable(with = ProtoUnknownFieldHolderSerializer::class)
class ProtoUnknownFieldHolder(source)

Represents a thin wrapper over fields in a protobuf message.

Used to store unknown proto fields in a concrete class, but do not deserialize byte array to this type directly.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

All the unknown fields held by this holder.

Link copied to clipboard
val size: Int

Number of bytes holding in the message.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String