-
public final class EnumKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classEnumKt.Dsl.Companionpublic final classEnumKt.Dsl.EnumvalueProxyAn uninstantiable, behaviorless type to represent the field in generics.
public final classEnumKt.Dsl.OptionsProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate final DslList<EnumValue, EnumKt.Dsl.EnumvalueProxy>enumvalueprivate final DslList<Option, EnumKt.Dsl.OptionsProxy>optionsprivate SourceContextsourceContextprivate Syntaxsyntax
-
Method Summary
Modifier and Type Method Description final StringgetName()final UnitsetName(String name)final SourceContextgetSourceContext()final UnitsetSourceContext(SourceContext sourceContext)final SyntaxgetSyntax()final UnitsetSyntax(Syntax syntax)final UnitclearName()<pre> Enum type name. final UnitclearSourceContext()<pre> The source context. final BooleanhasSourceContext()<pre> The source context. final UnitclearSyntax()<pre> The source syntax. -
-
Method Detail
-
getSourceContext
final SourceContext getSourceContext()
-
setSourceContext
final Unit setSourceContext(SourceContext sourceContext)
-
getSyntax
final Syntax getSyntax()
-
clearSourceContext
final Unit clearSourceContext()
<pre> The source context. </pre><code>.google.protobuf.SourceContext source_context = 4;</code>
-
hasSourceContext
final Boolean hasSourceContext()
<pre> The source context. </pre><code>.google.protobuf.SourceContext source_context = 4;</code>
-
clearSyntax
final Unit clearSyntax()
<pre> The source syntax. </pre><code>.google.protobuf.Syntax syntax = 5;</code>
-
-
-
-