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

com.google.protobuf.BoolValueKt.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.

The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/wrappers.proto

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

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

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

    /**
     * bool value = 1 [json_name = "value"];
     */
    public var value: kotlin.Boolean
      @kotlin.jvm.JvmName("getValue")
        get() = _builder.value
      @kotlin.jvm.JvmName("setValue")
        set(value) {
        _builder.value = value
      }
    /**
     * `bool value = 1 [json_name = "value"];`
     */
    public fun clearValue() {
      _builder.clearValue()
    }
  }
}
public inline fun com.google.protobuf.BoolValue.copy(block: `com.google.protobuf`.BoolValueKt.Dsl.() -> kotlin.Unit): com.google.protobuf.BoolValue =
  `com.google.protobuf`.BoolValueKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy