All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.protobuf.FileOptionsKt.kt Maven / Gradle / Ivy

//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/descriptor.proto

package com.google.protobuf;

@kotlin.jvm.JvmName("-initializefileOptions")
inline fun fileOptions(block: com.google.protobuf.FileOptionsKt.Dsl.() -> kotlin.Unit): com.google.protobuf.DescriptorProtos.FileOptions =
  com.google.protobuf.FileOptionsKt.Dsl._create(com.google.protobuf.DescriptorProtos.FileOptions.newBuilder()).apply { block() }._build()
object FileOptionsKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  class Dsl private constructor(
    private val _builder: com.google.protobuf.DescriptorProtos.FileOptions.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.google.protobuf.DescriptorProtos.FileOptions.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.google.protobuf.DescriptorProtos.FileOptions = _builder.build()

    /**
     * 
     * Sets the Java package where classes generated from this .proto will be
     * placed.  By default, the proto package is used, but this is often
     * inappropriate because proto packages do not normally start with backwards
     * domain names.
     * 
* * optional string java_package = 1; */ var javaPackage: kotlin.String @JvmName("getJavaPackage") get() = _builder.getJavaPackage() @JvmName("setJavaPackage") set(value) { _builder.setJavaPackage(value) } /** *
     * Sets the Java package where classes generated from this .proto will be
     * placed.  By default, the proto package is used, but this is often
     * inappropriate because proto packages do not normally start with backwards
     * domain names.
     * 
* * optional string java_package = 1; */ fun clearJavaPackage() { _builder.clearJavaPackage() } /** *
     * Sets the Java package where classes generated from this .proto will be
     * placed.  By default, the proto package is used, but this is often
     * inappropriate because proto packages do not normally start with backwards
     * domain names.
     * 
* * optional string java_package = 1; * @return Whether the javaPackage field is set. */ fun hasJavaPackage(): kotlin.Boolean { return _builder.hasJavaPackage() } /** *
     * Controls the name of the wrapper Java class generated for the .proto file.
     * That class will always contain the .proto file's getDescriptor() method as
     * well as any top-level extensions defined in the .proto file.
     * If java_multiple_files is disabled, then all the other classes from the
     * .proto file will be nested inside the single wrapper outer class.
     * 
* * optional string java_outer_classname = 8; */ var javaOuterClassname: kotlin.String @JvmName("getJavaOuterClassname") get() = _builder.getJavaOuterClassname() @JvmName("setJavaOuterClassname") set(value) { _builder.setJavaOuterClassname(value) } /** *
     * Controls the name of the wrapper Java class generated for the .proto file.
     * That class will always contain the .proto file's getDescriptor() method as
     * well as any top-level extensions defined in the .proto file.
     * If java_multiple_files is disabled, then all the other classes from the
     * .proto file will be nested inside the single wrapper outer class.
     * 
* * optional string java_outer_classname = 8; */ fun clearJavaOuterClassname() { _builder.clearJavaOuterClassname() } /** *
     * Controls the name of the wrapper Java class generated for the .proto file.
     * That class will always contain the .proto file's getDescriptor() method as
     * well as any top-level extensions defined in the .proto file.
     * If java_multiple_files is disabled, then all the other classes from the
     * .proto file will be nested inside the single wrapper outer class.
     * 
* * optional string java_outer_classname = 8; * @return Whether the javaOuterClassname field is set. */ fun hasJavaOuterClassname(): kotlin.Boolean { return _builder.hasJavaOuterClassname() } /** *
     * If enabled, then the Java code generator will generate a separate .java
     * file for each top-level message, enum, and service defined in the .proto
     * file.  Thus, these types will *not* be nested inside the wrapper class
     * named by java_outer_classname.  However, the wrapper class will still be
     * generated to contain the file's getDescriptor() method as well as any
     * top-level extensions defined in the file.
     * 
* * optional bool java_multiple_files = 10 [default = false]; */ var javaMultipleFiles: kotlin.Boolean @JvmName("getJavaMultipleFiles") get() = _builder.getJavaMultipleFiles() @JvmName("setJavaMultipleFiles") set(value) { _builder.setJavaMultipleFiles(value) } /** *
     * If enabled, then the Java code generator will generate a separate .java
     * file for each top-level message, enum, and service defined in the .proto
     * file.  Thus, these types will *not* be nested inside the wrapper class
     * named by java_outer_classname.  However, the wrapper class will still be
     * generated to contain the file's getDescriptor() method as well as any
     * top-level extensions defined in the file.
     * 
* * optional bool java_multiple_files = 10 [default = false]; */ fun clearJavaMultipleFiles() { _builder.clearJavaMultipleFiles() } /** *
     * If enabled, then the Java code generator will generate a separate .java
     * file for each top-level message, enum, and service defined in the .proto
     * file.  Thus, these types will *not* be nested inside the wrapper class
     * named by java_outer_classname.  However, the wrapper class will still be
     * generated to contain the file's getDescriptor() method as well as any
     * top-level extensions defined in the file.
     * 
* * optional bool java_multiple_files = 10 [default = false]; * @return Whether the javaMultipleFiles field is set. */ fun hasJavaMultipleFiles(): kotlin.Boolean { return _builder.hasJavaMultipleFiles() } /** *
     * This option does nothing.
     * 
* * optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */ @kotlin.Deprecated(message = "Field javaGenerateEqualsAndHash is deprecated") var javaGenerateEqualsAndHash: kotlin.Boolean @JvmName("getJavaGenerateEqualsAndHash") get() = _builder.getJavaGenerateEqualsAndHash() @JvmName("setJavaGenerateEqualsAndHash") set(value) { _builder.setJavaGenerateEqualsAndHash(value) } /** *
     * This option does nothing.
     * 
* * optional bool java_generate_equals_and_hash = 20 [deprecated = true]; * @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. * See google/protobuf/descriptor.proto;l=365 */ fun clearJavaGenerateEqualsAndHash() { _builder.clearJavaGenerateEqualsAndHash() } /** *
     * This option does nothing.
     * 
* * optional bool java_generate_equals_and_hash = 20 [deprecated = true]; * @deprecated google.protobuf.FileOptions.java_generate_equals_and_hash is deprecated. * See google/protobuf/descriptor.proto;l=365 * @return Whether the javaGenerateEqualsAndHash field is set. */ fun hasJavaGenerateEqualsAndHash(): kotlin.Boolean { return _builder.hasJavaGenerateEqualsAndHash() } /** *
     * If set true, then the Java2 code generator will generate code that
     * throws an exception whenever an attempt is made to assign a non-UTF-8
     * byte sequence to a string field.
     * Message reflection will do the same.
     * However, an extension field still accepts non-UTF-8 byte sequences.
     * This option has no effect on when used with the lite runtime.
     * 
* * optional bool java_string_check_utf8 = 27 [default = false]; */ var javaStringCheckUtf8: kotlin.Boolean @JvmName("getJavaStringCheckUtf8") get() = _builder.getJavaStringCheckUtf8() @JvmName("setJavaStringCheckUtf8") set(value) { _builder.setJavaStringCheckUtf8(value) } /** *
     * If set true, then the Java2 code generator will generate code that
     * throws an exception whenever an attempt is made to assign a non-UTF-8
     * byte sequence to a string field.
     * Message reflection will do the same.
     * However, an extension field still accepts non-UTF-8 byte sequences.
     * This option has no effect on when used with the lite runtime.
     * 
* * optional bool java_string_check_utf8 = 27 [default = false]; */ fun clearJavaStringCheckUtf8() { _builder.clearJavaStringCheckUtf8() } /** *
     * If set true, then the Java2 code generator will generate code that
     * throws an exception whenever an attempt is made to assign a non-UTF-8
     * byte sequence to a string field.
     * Message reflection will do the same.
     * However, an extension field still accepts non-UTF-8 byte sequences.
     * This option has no effect on when used with the lite runtime.
     * 
* * optional bool java_string_check_utf8 = 27 [default = false]; * @return Whether the javaStringCheckUtf8 field is set. */ fun hasJavaStringCheckUtf8(): kotlin.Boolean { return _builder.hasJavaStringCheckUtf8() } /** * optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; */ var optimizeFor: com.google.protobuf.DescriptorProtos.FileOptions.OptimizeMode @JvmName("getOptimizeFor") get() = _builder.getOptimizeFor() @JvmName("setOptimizeFor") set(value) { _builder.setOptimizeFor(value) } /** * optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; */ fun clearOptimizeFor() { _builder.clearOptimizeFor() } /** * optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED]; * @return Whether the optimizeFor field is set. */ fun hasOptimizeFor(): kotlin.Boolean { return _builder.hasOptimizeFor() } /** *
     * Sets the Go package where structs generated from this .proto will be
     * placed. If omitted, the Go package will be derived from the following:
     *   - The basename of the package import path, if provided.
     *   - Otherwise, the package statement in the .proto file, if present.
     *   - Otherwise, the basename of the .proto file, without extension.
     * 
* * optional string go_package = 11; */ var goPackage: kotlin.String @JvmName("getGoPackage") get() = _builder.getGoPackage() @JvmName("setGoPackage") set(value) { _builder.setGoPackage(value) } /** *
     * Sets the Go package where structs generated from this .proto will be
     * placed. If omitted, the Go package will be derived from the following:
     *   - The basename of the package import path, if provided.
     *   - Otherwise, the package statement in the .proto file, if present.
     *   - Otherwise, the basename of the .proto file, without extension.
     * 
* * optional string go_package = 11; */ fun clearGoPackage() { _builder.clearGoPackage() } /** *
     * Sets the Go package where structs generated from this .proto will be
     * placed. If omitted, the Go package will be derived from the following:
     *   - The basename of the package import path, if provided.
     *   - Otherwise, the package statement in the .proto file, if present.
     *   - Otherwise, the basename of the .proto file, without extension.
     * 
* * optional string go_package = 11; * @return Whether the goPackage field is set. */ fun hasGoPackage(): kotlin.Boolean { return _builder.hasGoPackage() } /** *
     * Should generic services be generated in each language?  "Generic" services
     * are not specific to any particular RPC system.  They are generated by the
     * main code generators in each language (without additional plugins).
     * Generic services were the only kind of service generation supported by
     * early versions of google.protobuf.
     * Generic services are now considered deprecated in favor of using plugins
     * that generate code specific to your particular RPC system.  Therefore,
     * these default to false.  Old code which depends on generic services should
     * explicitly set them to true.
     * 
* * optional bool cc_generic_services = 16 [default = false]; */ var ccGenericServices: kotlin.Boolean @JvmName("getCcGenericServices") get() = _builder.getCcGenericServices() @JvmName("setCcGenericServices") set(value) { _builder.setCcGenericServices(value) } /** *
     * Should generic services be generated in each language?  "Generic" services
     * are not specific to any particular RPC system.  They are generated by the
     * main code generators in each language (without additional plugins).
     * Generic services were the only kind of service generation supported by
     * early versions of google.protobuf.
     * Generic services are now considered deprecated in favor of using plugins
     * that generate code specific to your particular RPC system.  Therefore,
     * these default to false.  Old code which depends on generic services should
     * explicitly set them to true.
     * 
* * optional bool cc_generic_services = 16 [default = false]; */ fun clearCcGenericServices() { _builder.clearCcGenericServices() } /** *
     * Should generic services be generated in each language?  "Generic" services
     * are not specific to any particular RPC system.  They are generated by the
     * main code generators in each language (without additional plugins).
     * Generic services were the only kind of service generation supported by
     * early versions of google.protobuf.
     * Generic services are now considered deprecated in favor of using plugins
     * that generate code specific to your particular RPC system.  Therefore,
     * these default to false.  Old code which depends on generic services should
     * explicitly set them to true.
     * 
* * optional bool cc_generic_services = 16 [default = false]; * @return Whether the ccGenericServices field is set. */ fun hasCcGenericServices(): kotlin.Boolean { return _builder.hasCcGenericServices() } /** * optional bool java_generic_services = 17 [default = false]; */ var javaGenericServices: kotlin.Boolean @JvmName("getJavaGenericServices") get() = _builder.getJavaGenericServices() @JvmName("setJavaGenericServices") set(value) { _builder.setJavaGenericServices(value) } /** * optional bool java_generic_services = 17 [default = false]; */ fun clearJavaGenericServices() { _builder.clearJavaGenericServices() } /** * optional bool java_generic_services = 17 [default = false]; * @return Whether the javaGenericServices field is set. */ fun hasJavaGenericServices(): kotlin.Boolean { return _builder.hasJavaGenericServices() } /** * optional bool py_generic_services = 18 [default = false]; */ var pyGenericServices: kotlin.Boolean @JvmName("getPyGenericServices") get() = _builder.getPyGenericServices() @JvmName("setPyGenericServices") set(value) { _builder.setPyGenericServices(value) } /** * optional bool py_generic_services = 18 [default = false]; */ fun clearPyGenericServices() { _builder.clearPyGenericServices() } /** * optional bool py_generic_services = 18 [default = false]; * @return Whether the pyGenericServices field is set. */ fun hasPyGenericServices(): kotlin.Boolean { return _builder.hasPyGenericServices() } /** * optional bool php_generic_services = 42 [default = false]; */ var phpGenericServices: kotlin.Boolean @JvmName("getPhpGenericServices") get() = _builder.getPhpGenericServices() @JvmName("setPhpGenericServices") set(value) { _builder.setPhpGenericServices(value) } /** * optional bool php_generic_services = 42 [default = false]; */ fun clearPhpGenericServices() { _builder.clearPhpGenericServices() } /** * optional bool php_generic_services = 42 [default = false]; * @return Whether the phpGenericServices field is set. */ fun hasPhpGenericServices(): kotlin.Boolean { return _builder.hasPhpGenericServices() } /** *
     * Is this file deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for everything in the file, or it will be completely ignored; in the very
     * least, this is a formalization for deprecating files.
     * 
* * optional bool deprecated = 23 [default = false]; */ var deprecated: kotlin.Boolean @JvmName("getDeprecated") get() = _builder.getDeprecated() @JvmName("setDeprecated") set(value) { _builder.setDeprecated(value) } /** *
     * Is this file deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for everything in the file, or it will be completely ignored; in the very
     * least, this is a formalization for deprecating files.
     * 
* * optional bool deprecated = 23 [default = false]; */ fun clearDeprecated() { _builder.clearDeprecated() } /** *
     * Is this file deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for everything in the file, or it will be completely ignored; in the very
     * least, this is a formalization for deprecating files.
     * 
* * optional bool deprecated = 23 [default = false]; * @return Whether the deprecated field is set. */ fun hasDeprecated(): kotlin.Boolean { return _builder.hasDeprecated() } /** *
     * Enables the use of arenas for the proto messages in this file. This applies
     * only to generated classes for C++.
     * 
* * optional bool cc_enable_arenas = 31 [default = true]; */ var ccEnableArenas: kotlin.Boolean @JvmName("getCcEnableArenas") get() = _builder.getCcEnableArenas() @JvmName("setCcEnableArenas") set(value) { _builder.setCcEnableArenas(value) } /** *
     * Enables the use of arenas for the proto messages in this file. This applies
     * only to generated classes for C++.
     * 
* * optional bool cc_enable_arenas = 31 [default = true]; */ fun clearCcEnableArenas() { _builder.clearCcEnableArenas() } /** *
     * Enables the use of arenas for the proto messages in this file. This applies
     * only to generated classes for C++.
     * 
* * optional bool cc_enable_arenas = 31 [default = true]; * @return Whether the ccEnableArenas field is set. */ fun hasCcEnableArenas(): kotlin.Boolean { return _builder.hasCcEnableArenas() } /** *
     * Sets the objective c class prefix which is prepended to all objective c
     * generated classes from this .proto. There is no default.
     * 
* * optional string objc_class_prefix = 36; */ var objcClassPrefix: kotlin.String @JvmName("getObjcClassPrefix") get() = _builder.getObjcClassPrefix() @JvmName("setObjcClassPrefix") set(value) { _builder.setObjcClassPrefix(value) } /** *
     * Sets the objective c class prefix which is prepended to all objective c
     * generated classes from this .proto. There is no default.
     * 
* * optional string objc_class_prefix = 36; */ fun clearObjcClassPrefix() { _builder.clearObjcClassPrefix() } /** *
     * Sets the objective c class prefix which is prepended to all objective c
     * generated classes from this .proto. There is no default.
     * 
* * optional string objc_class_prefix = 36; * @return Whether the objcClassPrefix field is set. */ fun hasObjcClassPrefix(): kotlin.Boolean { return _builder.hasObjcClassPrefix() } /** *
     * Namespace for generated classes; defaults to the package.
     * 
* * optional string csharp_namespace = 37; */ var csharpNamespace: kotlin.String @JvmName("getCsharpNamespace") get() = _builder.getCsharpNamespace() @JvmName("setCsharpNamespace") set(value) { _builder.setCsharpNamespace(value) } /** *
     * Namespace for generated classes; defaults to the package.
     * 
* * optional string csharp_namespace = 37; */ fun clearCsharpNamespace() { _builder.clearCsharpNamespace() } /** *
     * Namespace for generated classes; defaults to the package.
     * 
* * optional string csharp_namespace = 37; * @return Whether the csharpNamespace field is set. */ fun hasCsharpNamespace(): kotlin.Boolean { return _builder.hasCsharpNamespace() } /** *
     * By default Swift generators will take the proto package and CamelCase it
     * replacing '.' with underscore and use that to prefix the types/symbols
     * defined. When this options is provided, they will use this value instead
     * to prefix the types/symbols defined.
     * 
* * optional string swift_prefix = 39; */ var swiftPrefix: kotlin.String @JvmName("getSwiftPrefix") get() = _builder.getSwiftPrefix() @JvmName("setSwiftPrefix") set(value) { _builder.setSwiftPrefix(value) } /** *
     * By default Swift generators will take the proto package and CamelCase it
     * replacing '.' with underscore and use that to prefix the types/symbols
     * defined. When this options is provided, they will use this value instead
     * to prefix the types/symbols defined.
     * 
* * optional string swift_prefix = 39; */ fun clearSwiftPrefix() { _builder.clearSwiftPrefix() } /** *
     * By default Swift generators will take the proto package and CamelCase it
     * replacing '.' with underscore and use that to prefix the types/symbols
     * defined. When this options is provided, they will use this value instead
     * to prefix the types/symbols defined.
     * 
* * optional string swift_prefix = 39; * @return Whether the swiftPrefix field is set. */ fun hasSwiftPrefix(): kotlin.Boolean { return _builder.hasSwiftPrefix() } /** *
     * Sets the php class prefix which is prepended to all php generated classes
     * from this .proto. Default is empty.
     * 
* * optional string php_class_prefix = 40; */ var phpClassPrefix: kotlin.String @JvmName("getPhpClassPrefix") get() = _builder.getPhpClassPrefix() @JvmName("setPhpClassPrefix") set(value) { _builder.setPhpClassPrefix(value) } /** *
     * Sets the php class prefix which is prepended to all php generated classes
     * from this .proto. Default is empty.
     * 
* * optional string php_class_prefix = 40; */ fun clearPhpClassPrefix() { _builder.clearPhpClassPrefix() } /** *
     * Sets the php class prefix which is prepended to all php generated classes
     * from this .proto. Default is empty.
     * 
* * optional string php_class_prefix = 40; * @return Whether the phpClassPrefix field is set. */ fun hasPhpClassPrefix(): kotlin.Boolean { return _builder.hasPhpClassPrefix() } /** *
     * Use this option to change the namespace of php generated classes. Default
     * is empty. When this option is empty, the package name will be used for
     * determining the namespace.
     * 
* * optional string php_namespace = 41; */ var phpNamespace: kotlin.String @JvmName("getPhpNamespace") get() = _builder.getPhpNamespace() @JvmName("setPhpNamespace") set(value) { _builder.setPhpNamespace(value) } /** *
     * Use this option to change the namespace of php generated classes. Default
     * is empty. When this option is empty, the package name will be used for
     * determining the namespace.
     * 
* * optional string php_namespace = 41; */ fun clearPhpNamespace() { _builder.clearPhpNamespace() } /** *
     * Use this option to change the namespace of php generated classes. Default
     * is empty. When this option is empty, the package name will be used for
     * determining the namespace.
     * 
* * optional string php_namespace = 41; * @return Whether the phpNamespace field is set. */ fun hasPhpNamespace(): kotlin.Boolean { return _builder.hasPhpNamespace() } /** *
     * Use this option to change the namespace of php generated metadata classes.
     * Default is empty. When this option is empty, the proto file name will be
     * used for determining the namespace.
     * 
* * optional string php_metadata_namespace = 44; */ var phpMetadataNamespace: kotlin.String @JvmName("getPhpMetadataNamespace") get() = _builder.getPhpMetadataNamespace() @JvmName("setPhpMetadataNamespace") set(value) { _builder.setPhpMetadataNamespace(value) } /** *
     * Use this option to change the namespace of php generated metadata classes.
     * Default is empty. When this option is empty, the proto file name will be
     * used for determining the namespace.
     * 
* * optional string php_metadata_namespace = 44; */ fun clearPhpMetadataNamespace() { _builder.clearPhpMetadataNamespace() } /** *
     * Use this option to change the namespace of php generated metadata classes.
     * Default is empty. When this option is empty, the proto file name will be
     * used for determining the namespace.
     * 
* * optional string php_metadata_namespace = 44; * @return Whether the phpMetadataNamespace field is set. */ fun hasPhpMetadataNamespace(): kotlin.Boolean { return _builder.hasPhpMetadataNamespace() } /** *
     * Use this option to change the package of ruby generated classes. Default
     * is empty. When this option is not set, the package name will be used for
     * determining the ruby package.
     * 
* * optional string ruby_package = 45; */ var rubyPackage: kotlin.String @JvmName("getRubyPackage") get() = _builder.getRubyPackage() @JvmName("setRubyPackage") set(value) { _builder.setRubyPackage(value) } /** *
     * Use this option to change the package of ruby generated classes. Default
     * is empty. When this option is not set, the package name will be used for
     * determining the ruby package.
     * 
* * optional string ruby_package = 45; */ fun clearRubyPackage() { _builder.clearRubyPackage() } /** *
     * Use this option to change the package of ruby generated classes. Default
     * is empty. When this option is not set, the package name will be used for
     * determining the ruby package.
     * 
* * optional string ruby_package = 45; * @return Whether the rubyPackage field is set. */ fun hasRubyPackage(): kotlin.Boolean { return _builder.hasRubyPackage() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class UninterpretedOptionProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; */ val uninterpretedOption: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getUninterpretedOptionList() ) /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; * @param value The uninterpretedOption to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addUninterpretedOption") fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.DescriptorProtos.UninterpretedOption) { _builder.addUninterpretedOption(value) } /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; * @param value The uninterpretedOption to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignUninterpretedOption") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.DescriptorProtos.UninterpretedOption) { add(value) } /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; * @param values The uninterpretedOption to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllUninterpretedOption") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllUninterpretedOption(values) } /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; * @param values The uninterpretedOption to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllUninterpretedOption") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; * @param index The index to set the value at. * @param value The uninterpretedOption to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setUninterpretedOption") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.DescriptorProtos.UninterpretedOption) { _builder.setUninterpretedOption(index, value) } /** *
     * The parser stores options it doesn't recognize here.
     * See the documentation for the "Options" section above.
     * 
* * repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearUninterpretedOption") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearUninterpretedOption() } @Suppress("UNCHECKED_CAST") @kotlin.jvm.JvmSynthetic operator fun get(extension: com.google.protobuf.ExtensionLite): T { return if (extension.isRepeated) { get(extension as com.google.protobuf.ExtensionLite>) as T } else { _builder.getExtension(extension) } } @kotlin.jvm.JvmSynthetic @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) @kotlin.jvm.JvmName("-getRepeatedExtension") operator fun get( extension: com.google.protobuf.ExtensionLite> ): com.google.protobuf.kotlin.ExtensionList { return com.google.protobuf.kotlin.ExtensionList(extension, _builder.getExtension(extension)) } @kotlin.jvm.JvmSynthetic operator fun contains(extension: com.google.protobuf.ExtensionLite): Boolean { return _builder.hasExtension(extension) } @kotlin.jvm.JvmSynthetic fun clear(extension: com.google.protobuf.ExtensionLite) { _builder.clearExtension(extension) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun setExtension(extension: com.google.protobuf.ExtensionLite, value: T) { _builder.setExtension(extension, value) } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline operator fun > set( extension: com.google.protobuf.ExtensionLite, value: T ) { setExtension(extension, value) } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline operator fun set( extension: com.google.protobuf.ExtensionLite, value: com.google.protobuf.ByteString ) { setExtension(extension, value) } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline operator fun set( extension: com.google.protobuf.ExtensionLite, value: T ) { setExtension(extension, value) } @kotlin.jvm.JvmSynthetic fun com.google.protobuf.kotlin.ExtensionList.add(value: E) { _builder.addExtension(this.extension, value) } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.ExtensionList.plusAssign(value: E) { add(value) } @kotlin.jvm.JvmSynthetic fun com.google.protobuf.kotlin.ExtensionList.addAll(values: Iterable) { for (value in values) { add(value) } } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.ExtensionList.plusAssign(values: Iterable) { addAll(values) } @kotlin.jvm.JvmSynthetic operator fun com.google.protobuf.kotlin.ExtensionList.set(index: Int, value: E) { _builder.setExtension(this.extension, index, value) } @kotlin.jvm.JvmSynthetic @Suppress("NOTHING_TO_INLINE") inline fun com.google.protobuf.kotlin.ExtensionList<*, com.google.protobuf.DescriptorProtos.FileOptions>.clear() { clear(extension) } } } @kotlin.jvm.JvmSynthetic inline fun com.google.protobuf.DescriptorProtos.FileOptions.copy(block: com.google.protobuf.FileOptionsKt.Dsl.() -> kotlin.Unit): com.google.protobuf.DescriptorProtos.FileOptions = com.google.protobuf.FileOptionsKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy