yats-connectors.git

ref: 8c8cbb6db9433615f303e7f901ed3b14b82fe159

yats-connector-kotlin/com/kevwe/yats/protobuf/EventKt.kt


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yats-grpc.proto

package com.kevwe.yats.protobuf;

@kotlin.jvm.JvmName("-initializeevent")
public inline fun event(block: com.kevwe.yats.protobuf.EventKt.Dsl.() -> kotlin.Unit): com.kevwe.yats.protobuf.Event =
  com.kevwe.yats.protobuf.EventKt.Dsl._create(com.kevwe.yats.protobuf.Event.newBuilder()).apply { block() }._build()
public object EventKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.kevwe.yats.protobuf.Event.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.kevwe.yats.protobuf.Event.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.kevwe.yats.protobuf.Event = _builder.build()

    /**
     * <code>string id_client = 1;</code>
     */
    public var idClient: kotlin.String
      @JvmName("getIdClient")
      get() = _builder.getIdClient()
      @JvmName("setIdClient")
      set(value) {
        _builder.setIdClient(value)
      }
    /**
     * <code>string id_client = 1;</code>
     */
    public fun clearIdClient() {
      _builder.clearIdClient()
    }

    /**
     * <code>int64 etime = 2;</code>
     */
    public var etime: kotlin.Long
      @JvmName("getEtime")
      get() = _builder.getEtime()
      @JvmName("setEtime")
      set(value) {
        _builder.setEtime(value)
      }
    /**
     * <code>int64 etime = 2;</code>
     */
    public fun clearEtime() {
      _builder.clearEtime()
    }

    /**
     * <code>string name = 3;</code>
     */
    public var name: kotlin.String
      @JvmName("getName")
      get() = _builder.getName()
      @JvmName("setName")
      set(value) {
        _builder.setName(value)
      }
    /**
     * <code>string name = 3;</code>
     */
    public fun clearName() {
      _builder.clearName()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.kevwe.yats.protobuf.Event.copy(block: com.kevwe.yats.protobuf.EventKt.Dsl.() -> kotlin.Unit): com.kevwe.yats.protobuf.Event =
  com.kevwe.yats.protobuf.EventKt.Dsl._create(this.toBuilder()).apply { block() }._build()