-
public final class FileDescriptorProtoKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
FileDescriptorProtoKt.Dsl.Companion
public final class
FileDescriptorProtoKt.Dsl.DependencyProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.PublicDependencyProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.WeakDependencyProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.MessageTypeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.EnumTypeProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.ServiceProxy
An uninstantiable, behaviorless type to represent the field in generics.
public final class
FileDescriptorProtoKt.Dsl.ExtensionProxy
An uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private String
name
private String
package_
private final DslList<String, FileDescriptorProtoKt.Dsl.DependencyProxy>
dependency
private final DslList<Integer, FileDescriptorProtoKt.Dsl.PublicDependencyProxy>
publicDependency
private final DslList<Integer, FileDescriptorProtoKt.Dsl.WeakDependencyProxy>
weakDependency
private final DslList<DescriptorProtos.DescriptorProto, FileDescriptorProtoKt.Dsl.MessageTypeProxy>
messageType
private final DslList<DescriptorProtos.EnumDescriptorProto, FileDescriptorProtoKt.Dsl.EnumTypeProxy>
enumType
private final DslList<DescriptorProtos.ServiceDescriptorProto, FileDescriptorProtoKt.Dsl.ServiceProxy>
service
private final DslList<DescriptorProtos.FieldDescriptorProto, FileDescriptorProtoKt.Dsl.ExtensionProxy>
extension
private DescriptorProtos.FileOptions
options
private final DescriptorProtos.FileOptions
optionsOrNull
private DescriptorProtos.SourceCodeInfo
sourceCodeInfo
private final DescriptorProtos.SourceCodeInfo
sourceCodeInfoOrNull
private String
syntax
-
Method Summary
Modifier and Type Method Description final String
getName()
final Unit
setName(String name)
final String
getPackage_()
final Unit
setPackage_(String package_)
final DescriptorProtos.FileOptions
getOptions()
final Unit
setOptions(DescriptorProtos.FileOptions options)
final DescriptorProtos.FileOptions
getOptionsOrNull(FileDescriptorProtoKt.Dsl $self)
final DescriptorProtos.SourceCodeInfo
getSourceCodeInfo()
final Unit
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo sourceCodeInfo)
final DescriptorProtos.SourceCodeInfo
getSourceCodeInfoOrNull(FileDescriptorProtoKt.Dsl $self)
final String
getSyntax()
final Unit
setSyntax(String syntax)
final Unit
clearName()
<pre> file name, relative to root of source tree </pre><code>optional string name = 1;</code> final Boolean
hasName()
<pre> file name, relative to root of source tree </pre><code>optional string name = 1;</code> final Unit
clearPackage_()
<pre> e.g. final Boolean
hasPackage_()
<pre> e.g. final Unit
clearOptions()
<code>optional .google.protobuf. final Boolean
hasOptions()
<code>optional .google.protobuf. final Unit
clearSourceCodeInfo()
<pre> This field contains optional information about the original source code. final Boolean
hasSourceCodeInfo()
<pre> This field contains optional information about the original source code. final Unit
clearSyntax()
<pre> The syntax of the proto file. final Boolean
hasSyntax()
<pre> The syntax of the proto file. -
-
Method Detail
-
getPackage_
final String getPackage_()
-
setPackage_
final Unit setPackage_(String package_)
-
getOptions
final DescriptorProtos.FileOptions getOptions()
-
setOptions
final Unit setOptions(DescriptorProtos.FileOptions options)
-
getOptionsOrNull
final DescriptorProtos.FileOptions getOptionsOrNull(FileDescriptorProtoKt.Dsl $self)
-
getSourceCodeInfo
final DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
-
setSourceCodeInfo
final Unit setSourceCodeInfo(DescriptorProtos.SourceCodeInfo sourceCodeInfo)
-
getSourceCodeInfoOrNull
final DescriptorProtos.SourceCodeInfo getSourceCodeInfoOrNull(FileDescriptorProtoKt.Dsl $self)
-
clearName
final Unit clearName()
<pre> file name, relative to root of source tree </pre><code>optional string name = 1;</code>
-
hasName
final Boolean hasName()
<pre> file name, relative to root of source tree </pre><code>optional string name = 1;</code>
-
clearPackage_
final Unit clearPackage_()
<pre> e.g. "foo", "foo.bar", etc. </pre><code>optional string package = 2;</code>
-
hasPackage_
final Boolean hasPackage_()
<pre> e.g. "foo", "foo.bar", etc. </pre><code>optional string package = 2;</code>
-
clearOptions
final Unit clearOptions()
<code>optional .google.protobuf.FileOptions options = 8;</code>
-
hasOptions
final Boolean hasOptions()
<code>optional .google.protobuf.FileOptions options = 8;</code>
-
clearSourceCodeInfo
final Unit clearSourceCodeInfo()
<pre> This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools. </pre><code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
-
hasSourceCodeInfo
final Boolean hasSourceCodeInfo()
<pre> This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools. </pre><code>optional .google.protobuf.SourceCodeInfo source_code_info = 9;</code>
-
clearSyntax
final Unit clearSyntax()
<pre> The syntax of the proto file. The supported values are "proto2" and "proto3". </pre><code>optional string syntax = 12;</code>
-
-
-
-