@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.FIELD])
annotation RemoteMsgField


Class fields annotated with the RemoteMsgField annotation are automatically serialised to their proto representation when used in combination with a .

The order field is mandatory and represents the declared field order in the class this annotation is used in. The order must match the declared constructor param types of the constructor annotated with {RemoteMsgConstructor}.

Summary

Public functions

abstract Int

Returns the order of this field.

Public functions

order

abstract fun order(): Int

Returns the order of this field. Order values need to start with 0.