-
public final class EnumValueOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEnumValueOptionsKt.Dsl.Companionpublic final classEnumValueOptionsKt.Dsl.UninterpretedOptionProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Booleandeprecatedprivate final DslList<DescriptorProtos.UninterpretedOption, EnumValueOptionsKt.Dsl.UninterpretedOptionProxy>uninterpretedOption
-
Method Summary
Modifier and Type Method Description final BooleangetDeprecated()final UnitsetDeprecated(Boolean deprecated)final UnitclearDeprecated()<pre> Is this enum value deprecated? final BooleanhasDeprecated()<pre> Is this enum value deprecated? -
-
Method Detail
-
getDeprecated
final Boolean getDeprecated()
-
setDeprecated
final Unit setDeprecated(Boolean deprecated)
-
clearDeprecated
final Unit clearDeprecated()
<pre> 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. </pre><code>optional bool deprecated = 1 default = false;</code>
-
hasDeprecated
final Boolean hasDeprecated()
<pre> 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. </pre><code>optional bool deprecated = 1 default = false;</code>
-
-
-
-