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

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

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

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

@kotlin.jvm.JvmName("-initializeuInt32Value")
public inline fun uInt32Value(block: com.google.protobuf.UInt32ValueKt.Dsl.() -> kotlin.Unit): com.google.protobuf.UInt32Value =
  com.google.protobuf.UInt32ValueKt.Dsl._create(com.google.protobuf.UInt32Value.newBuilder()).apply { block() }._build()
/**
 * ```
 * Wrapper message for `uint32`.
 *
 * The JSON representation for `UInt32Value` is JSON number.
 * ```
 *
 * Protobuf type `google.protobuf.UInt32Value`
 */
public object UInt32ValueKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.google.protobuf.UInt32Value.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.google.protobuf.UInt32Value.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * ```
     * The uint32 value.
     * ```
     *
     * `uint32 value = 1;`
     */
    public var value: kotlin.Int
      @JvmName("getValue")
      get() = _builder.getValue()
      @JvmName("setValue")
      set(value) {
        _builder.setValue(value)
      }
    /**
     * ```
     * The uint32 value.
     * ```
     *
     * `uint32 value = 1;`
     */
    public fun clearValue() {
      _builder.clearValue()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.google.protobuf.UInt32Value.copy(block: `com.google.protobuf`.UInt32ValueKt.Dsl.() -> kotlin.Unit): com.google.protobuf.UInt32Value =
  `com.google.protobuf`.UInt32ValueKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy