ProtoNumber

Specifies protobuf field number (a unique number for a field in the protobuf message) assigned to a Kotlin property.

See https://developers.google.com/protocol-buffers/docs/proto#assigning-field-numbers

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class ProtoNumber(number: Int)

Constructors

ProtoNumber
Link copied to clipboard
common
fun ProtoNumber(number: Int)

Functions

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

Properties

number
Link copied to clipboard
common
val number: Int