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

com.google.protobuf.FileDescriptorProtoKt.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("-initializefileDescriptorProto")
inline fun fileDescriptorProto(block: com.google.protobuf.FileDescriptorProtoKt.Dsl.() -> kotlin.Unit): com.google.protobuf.DescriptorProtos.FileDescriptorProto =
  com.google.protobuf.FileDescriptorProtoKt.Dsl._create(com.google.protobuf.DescriptorProtos.FileDescriptorProto.newBuilder()).apply { block() }._build()
object FileDescriptorProtoKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  class Dsl private constructor(
    private val _builder: com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.google.protobuf.DescriptorProtos.FileDescriptorProto.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * 
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ var name: kotlin.String @JvmName("getName") get() = _builder.getName() @JvmName("setName") set(value) { _builder.setName(value) } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; */ fun clearName() { _builder.clearName() } /** *
     * file name, relative to root of source tree
     * 
* * optional string name = 1; * @return Whether the name field is set. */ fun hasName(): kotlin.Boolean { return _builder.hasName() } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ var package_: kotlin.String @JvmName("getPackage_") get() = _builder.getPackage() @JvmName("setPackage_") set(value) { _builder.setPackage(value) } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; */ fun clearPackage_() { _builder.clearPackage() } /** *
     * e.g. "foo", "foo.bar", etc.
     * 
* * optional string package = 2; * @return Whether the package field is set. */ fun hasPackage_(): kotlin.Boolean { return _builder.hasPackage() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class DependencyProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @return A list containing the dependency. */ val dependency: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getDependencyList() ) /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @param value The dependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addDependency") fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) { _builder.addDependency(value) } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @param value The dependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) { add(value) } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @param values The dependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllDependency") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllDependency(values) } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @param values The dependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; * @param index The index to set the value at. * @param value The dependency to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setDependency") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) { _builder.setDependency(index, value) }/** *
     * Names of files imported by this file.
     * 
* * repeated string dependency = 3; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearDependency") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearDependency() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class PublicDependencyProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ val publicDependency: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getPublicDependencyList() ) /** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; * @param value The publicDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addPublicDependency") fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) { _builder.addPublicDependency(value) }/** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; * @param value The publicDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignPublicDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.Int) { add(value) }/** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; * @param values The publicDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllPublicDependency") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllPublicDependency(values) }/** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; * @param values The publicDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllPublicDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; * @param index The index to set the value at. * @param value The publicDependency to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setPublicDependency") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.Int) { _builder.setPublicDependency(index, value) }/** *
     * Indexes of the public imported files in the dependency list above.
     * 
* * repeated int32 public_dependency = 10; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearPublicDependency") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearPublicDependency() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class WeakDependencyProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ val weakDependency: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getWeakDependencyList() ) /** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; * @param value The weakDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addWeakDependency") fun com.google.protobuf.kotlin.DslList.add(value: kotlin.Int) { _builder.addWeakDependency(value) }/** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; * @param value The weakDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignWeakDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.Int) { add(value) }/** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; * @param values The weakDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllWeakDependency") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllWeakDependency(values) }/** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; * @param values The weakDependency to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllWeakDependency") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; * @param index The index to set the value at. * @param value The weakDependency to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setWeakDependency") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.Int) { _builder.setWeakDependency(index, value) }/** *
     * Indexes of the weak imported files in the dependency list.
     * For Google-internal migration only. Do not use.
     * 
* * repeated int32 weak_dependency = 11; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearWeakDependency") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearWeakDependency() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class MessageTypeProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ val messageType: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getMessageTypeList() ) /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; * @param value The messageType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addMessageType") fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.DescriptorProtos.DescriptorProto) { _builder.addMessageType(value) } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; * @param value The messageType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignMessageType") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.DescriptorProtos.DescriptorProto) { add(value) } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; * @param values The messageType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllMessageType") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllMessageType(values) } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; * @param values The messageType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllMessageType") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; * @param index The index to set the value at. * @param value The messageType to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setMessageType") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.DescriptorProtos.DescriptorProto) { _builder.setMessageType(index, value) } /** *
     * All top-level definitions in this file.
     * 
* * repeated .google.protobuf.DescriptorProto message_type = 4; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearMessageType") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearMessageType() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class EnumTypeProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ val enumType: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getEnumTypeList() ) /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; * @param value The enumType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addEnumType") fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.DescriptorProtos.EnumDescriptorProto) { _builder.addEnumType(value) } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; * @param value The enumType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignEnumType") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.DescriptorProtos.EnumDescriptorProto) { add(value) } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; * @param values The enumType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllEnumType") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllEnumType(values) } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; * @param values The enumType to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllEnumType") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; * @param index The index to set the value at. * @param value The enumType to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setEnumType") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.DescriptorProtos.EnumDescriptorProto) { _builder.setEnumType(index, value) } /** * repeated .google.protobuf.EnumDescriptorProto enum_type = 5; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearEnumType") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearEnumType() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class ServiceProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ val service: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getServiceList() ) /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; * @param value The service to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addService") fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) { _builder.addService(value) } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; * @param value The service to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignService") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) { add(value) } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; * @param values The service to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllService") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllService(values) } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; * @param values The service to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllService") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; * @param index The index to set the value at. * @param value The service to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setService") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.DescriptorProtos.ServiceDescriptorProto) { _builder.setService(index, value) } /** * repeated .google.protobuf.ServiceDescriptorProto service = 6; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearService") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearService() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class ExtensionProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ val extension: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getExtensionList() ) /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; * @param value The extension to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addExtension") fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.DescriptorProtos.FieldDescriptorProto) { _builder.addExtension(value) } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; * @param value The extension to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignExtension") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.DescriptorProtos.FieldDescriptorProto) { add(value) } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; * @param values The extension to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllExtension") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllExtension(values) } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; * @param values The extension to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllExtension") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; * @param index The index to set the value at. * @param value The extension to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setExtension") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.DescriptorProtos.FieldDescriptorProto) { _builder.setExtension(index, value) } /** * repeated .google.protobuf.FieldDescriptorProto extension = 7; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearExtension") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearExtension() } /** * optional .google.protobuf.FileOptions options = 8; */ var options: com.google.protobuf.DescriptorProtos.FileOptions @JvmName("getOptions") get() = _builder.getOptions() @JvmName("setOptions") set(value) { _builder.setOptions(value) } /** * optional .google.protobuf.FileOptions options = 8; */ fun clearOptions() { _builder.clearOptions() } /** * optional .google.protobuf.FileOptions options = 8; * @return Whether the options field is set. */ fun hasOptions(): kotlin.Boolean { return _builder.hasOptions() } val FileDescriptorProtoKt.Dsl.optionsOrNull: com.google.protobuf.DescriptorProtos.FileOptions? get() = _builder.optionsOrNull /** *
     * 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.
     * 
* * optional .google.protobuf.SourceCodeInfo source_code_info = 9; */ var sourceCodeInfo: com.google.protobuf.DescriptorProtos.SourceCodeInfo @JvmName("getSourceCodeInfo") get() = _builder.getSourceCodeInfo() @JvmName("setSourceCodeInfo") set(value) { _builder.setSourceCodeInfo(value) } /** *
     * 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.
     * 
* * optional .google.protobuf.SourceCodeInfo source_code_info = 9; */ fun clearSourceCodeInfo() { _builder.clearSourceCodeInfo() } /** *
     * 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.
     * 
* * optional .google.protobuf.SourceCodeInfo source_code_info = 9; * @return Whether the sourceCodeInfo field is set. */ fun hasSourceCodeInfo(): kotlin.Boolean { return _builder.hasSourceCodeInfo() } val FileDescriptorProtoKt.Dsl.sourceCodeInfoOrNull: com.google.protobuf.DescriptorProtos.SourceCodeInfo? get() = _builder.sourceCodeInfoOrNull /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ var syntax: kotlin.String @JvmName("getSyntax") get() = _builder.getSyntax() @JvmName("setSyntax") set(value) { _builder.setSyntax(value) } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; */ fun clearSyntax() { _builder.clearSyntax() } /** *
     * The syntax of the proto file.
     * The supported values are "proto2" and "proto3".
     * 
* * optional string syntax = 12; * @return Whether the syntax field is set. */ fun hasSyntax(): kotlin.Boolean { return _builder.hasSyntax() } } } @kotlin.jvm.JvmSynthetic inline fun com.google.protobuf.DescriptorProtos.FileDescriptorProto.copy(block: com.google.protobuf.FileDescriptorProtoKt.Dsl.() -> kotlin.Unit): com.google.protobuf.DescriptorProtos.FileDescriptorProto = com.google.protobuf.FileDescriptorProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build() val com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder.optionsOrNull: com.google.protobuf.DescriptorProtos.FileOptions? get() = if (hasOptions()) getOptions() else null val com.google.protobuf.DescriptorProtos.FileDescriptorProtoOrBuilder.sourceCodeInfoOrNull: com.google.protobuf.DescriptorProtos.SourceCodeInfo? get() = if (hasSourceCodeInfo()) getSourceCodeInfo() else null




© 2015 - 2025 Weber Informatics LLC | Privacy Policy