Package 

Class FileDescriptorProtoKt.Dsl

    • Method Detail

      • getOptions

         final DescriptorProtos.FileOptions getOptions()
      • setOptions

         final Unit setOptions(DescriptorProtos.FileOptions options)
      • 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>

      • hasSyntax

         final Boolean hasSyntax()
        <pre> The syntax of the proto file. The supported values are "proto2" and "proto3". </pre>

        <code>optional string syntax = 12;</code>