-
public final class EnumOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEnumOptionsKt.Dsl.Companionpublic final classEnumOptionsKt.Dsl.UninterpretedOptionProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private BooleanallowAliasprivate Booleandeprecatedprivate final DslList<DescriptorProtos.UninterpretedOption, EnumOptionsKt.Dsl.UninterpretedOptionProxy>uninterpretedOption
-
Method Summary
Modifier and Type Method Description final BooleangetAllowAlias()final UnitsetAllowAlias(Boolean allowAlias)final BooleangetDeprecated()final UnitsetDeprecated(Boolean deprecated)final UnitclearAllowAlias()<pre> Set this option to true to allow mapping different tag names to the same value. final BooleanhasAllowAlias()<pre> Set this option to true to allow mapping different tag names to the same value. final UnitclearDeprecated()<pre> Is this enum deprecated? final BooleanhasDeprecated()<pre> Is this enum deprecated? -
-
Method Detail
-
getAllowAlias
final Boolean getAllowAlias()
-
setAllowAlias
final Unit setAllowAlias(Boolean allowAlias)
-
getDeprecated
final Boolean getDeprecated()
-
setDeprecated
final Unit setDeprecated(Boolean deprecated)
-
clearAllowAlias
final Unit clearAllowAlias()
<pre> Set this option to true to allow mapping different tag names to the same value. </pre><code>optional bool allow_alias = 2;</code>
-
hasAllowAlias
final Boolean hasAllowAlias()
<pre> Set this option to true to allow mapping different tag names to the same value. </pre><code>optional bool allow_alias = 2;</code>
-
clearDeprecated
final Unit clearDeprecated()
<pre> Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. </pre><code>optional bool deprecated = 3 default = false;</code>
-
hasDeprecated
final Boolean hasDeprecated()
<pre> Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. </pre><code>optional bool deprecated = 3 default = false;</code>
-
-
-
-