FeatureSet

interface FeatureSet(source)

=================================================================== Features

TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.

Types

Link copied to clipboard
sealed class EnforceNamingStyle(val number: Int)
Link copied to clipboard
sealed class EnumType(val number: Int)
Link copied to clipboard
sealed class FieldPresence(val number: Int)
Link copied to clipboard
sealed class JsonFormat(val number: Int)
Link copied to clipboard
sealed class MessageEncoding(val number: Int)
Link copied to clipboard
sealed class RepeatedFieldEncoding(val number: Int)
Link copied to clipboard
sealed class Utf8Validation(val number: Int)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the field-presence view for this com.google.protobuf.kotlin.FeatureSet instance.

Link copied to clipboard

Functions

Link copied to clipboard
fun FeatureSet.copy(body: ERROR CLASS: Symbol not found for FeatureSet.Builder.() -> Unit = {}): FeatureSet

Copies the original message, including unknown fields.