NOTE: This site is deprecated. The site will be turned down after January 31, 2023, and traffic will redirect to the new site at https://protobuf.dev. In the meantime, updates will be made only to protobuf.dev.

OnlyForUseByGeneratedProtoCode

Stay organized with collections Save and categorize content based on your preferences.

//protobuf-kotlin/com.google.protobuf.kotlin/OnlyForUseByGeneratedProtoCode

[JVM] @Target(allowedTargets = [AnnotationTarget.CONSTRUCTOR, AnnotationTarget.ANNOTATION_CLASS])

annotation class OnlyForUseByGeneratedProtoCode

Opt-in annotation to make it difficult to accidentally use APIs only intended for use by proto generated code. See https://kotlinlang.org/docs/reference/opt-in-requirements.html for details on how this API works.

Constructors

OnlyForUseByGeneratedProtoCode [JVM] fun OnlyForUseByGeneratedProtoCode()