EnumValueOptions

Properties

Link copied to clipboard
abstract val debugRedact: Boolean

Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.

Link copied to clipboard
abstract val deprecated: Boolean

Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.

Link copied to clipboard
abstract val features: FeatureSet

Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.

Link copied to clipboard

Information about the support window of a feature value.

Link copied to clipboard
Link copied to clipboard

The parser stores options it doesn't recognize here. See above.

Functions

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

Copies the original message, including unknown fields.