-
public final class EnumOptionsKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EnumOptionsKt.Dsl.Companion
public final class
EnumOptionsKt.Dsl.UninterpretedOptionProxy
An uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Boolean
allowAlias
private Boolean
deprecated
private final DslList<DescriptorProtos.UninterpretedOption, EnumOptionsKt.Dsl.UninterpretedOptionProxy>
uninterpretedOption
-
Method Summary
Modifier and Type Method Description final Boolean
getAllowAlias()
final Unit
setAllowAlias(Boolean allowAlias)
final Boolean
getDeprecated()
final Unit
setDeprecated(Boolean deprecated)
final Unit
clearAllowAlias()
<pre> Set this option to true to allow mapping different tag names to the same value. final Boolean
hasAllowAlias()
<pre> Set this option to true to allow mapping different tag names to the same value. final Unit
clearDeprecated()
<pre> Is this enum deprecated? final Boolean
hasDeprecated()
<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>
-
-
-
-