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

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

Go to download

Kotlin lite Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

There is a newer version: 4.29.0-RC3
Show newest version
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/empty.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package com.google.protobuf;

@kotlin.jvm.JvmName("-initializeempty")
public inline fun empty(block: com.google.protobuf.EmptyKt.Dsl.() -> kotlin.Unit): com.google.protobuf.Empty =
  com.google.protobuf.EmptyKt.Dsl._create(com.google.protobuf.Empty.newBuilder()).apply { block() }._build()
/**
 * Protobuf type `google.protobuf.Empty`
 */
public object EmptyKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.google.protobuf.Empty.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.google.protobuf.Empty.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.google.protobuf.Empty = _builder.build()
  }
}
public inline fun com.google.protobuf.Empty.copy(block: `com.google.protobuf`.EmptyKt.Dsl.() -> kotlin.Unit): com.google.protobuf.Empty =
  `com.google.protobuf`.EmptyKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy