-
public final class DescriptorProtoKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
DescriptorProtoKt.Dsl.Companion
public final class
DescriptorProtoKt.Dsl.FieldProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.ExtensionProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.NestedTypeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.EnumTypeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.ExtensionRangeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.OneofDeclProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.ReservedRangeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
DescriptorProtoKt.Dsl.ReservedNameProxy
An uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private String
name
private final DslList<DescriptorProtos.FieldDescriptorProto, DescriptorProtoKt.Dsl.FieldProxy>
field
private final DslList<DescriptorProtos.FieldDescriptorProto, DescriptorProtoKt.Dsl.ExtensionProxy>
extension
private final DslList<DescriptorProtos.DescriptorProto, DescriptorProtoKt.Dsl.NestedTypeProxy>
nestedType
private final DslList<DescriptorProtos.EnumDescriptorProto, DescriptorProtoKt.Dsl.EnumTypeProxy>
enumType
private final DslList<DescriptorProtos.DescriptorProto.ExtensionRange, DescriptorProtoKt.Dsl.ExtensionRangeProxy>
extensionRange
private final DslList<DescriptorProtos.OneofDescriptorProto, DescriptorProtoKt.Dsl.OneofDeclProxy>
oneofDecl
private DescriptorProtos.MessageOptions
options
private final DescriptorProtos.MessageOptions
optionsOrNull
private final DslList<DescriptorProtos.DescriptorProto.ReservedRange, DescriptorProtoKt.Dsl.ReservedRangeProxy>
reservedRange
private final DslList<String, DescriptorProtoKt.Dsl.ReservedNameProxy>
reservedName
-
Method Summary
Modifier and Type Method Description final String
getName()
final Unit
setName(String name)
final DescriptorProtos.MessageOptions
getOptions()
final Unit
setOptions(DescriptorProtos.MessageOptions options)
final DescriptorProtos.MessageOptions
getOptionsOrNull(DescriptorProtoKt.Dsl $self)
final Unit
clearName()
<code>optional string name = 1;</code> final Boolean
hasName()
<code>optional string name = 1;</code> final Unit
clearOptions()
<code>optional .google.protobuf. final Boolean
hasOptions()
<code>optional .google.protobuf. -
-
Method Detail
-
getOptions
final DescriptorProtos.MessageOptions getOptions()
-
setOptions
final Unit setOptions(DescriptorProtos.MessageOptions options)
-
getOptionsOrNull
final DescriptorProtos.MessageOptions getOptionsOrNull(DescriptorProtoKt.Dsl $self)
-
clearOptions
final Unit clearOptions()
<code>optional .google.protobuf.MessageOptions options = 7;</code>
-
hasOptions
final Boolean hasOptions()
<code>optional .google.protobuf.MessageOptions options = 7;</code>
-
-
-
-