FeatureSupport

Information about the support window of a feature.

Properties

Link copied to clipboard
abstract val deprecationWarning: String?

The deprecation warning text if this feature is used after the edition it was marked deprecated in.

Link copied to clipboard
abstract val editionDeprecated: Edition?

The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.

Link copied to clipboard
abstract val editionIntroduced: Edition?

The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.

Link copied to clipboard
abstract val editionRemoved: Edition?

The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.

Functions

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

Copies the original message, including unknown fields.