org.xmtp.proto.mls.message.contents.EdDsaSignatureKt.kt Maven / Gradle / Ivy
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mls/message_contents/association.proto
package org.xmtp.proto.mls.message.contents;
@kotlin.jvm.JvmName("-initializeedDsaSignature")
public inline fun edDsaSignature(block: org.xmtp.proto.mls.message.contents.EdDsaSignatureKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.Association.EdDsaSignature =
org.xmtp.proto.mls.message.contents.EdDsaSignatureKt.Dsl._create(org.xmtp.proto.mls.message.contents.Association.EdDsaSignature.newBuilder()).apply { block() }._build()
public object EdDsaSignatureKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
public class Dsl private constructor(
private val _builder: org.xmtp.proto.mls.message.contents.Association.EdDsaSignature.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: org.xmtp.proto.mls.message.contents.Association.EdDsaSignature.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): org.xmtp.proto.mls.message.contents.Association.EdDsaSignature = _builder.build()
/**
* bytes bytes = 1;
*/
public var bytes: com.google.protobuf.ByteString
@JvmName("getBytes")
get() = _builder.getBytes()
@JvmName("setBytes")
set(value) {
_builder.setBytes(value)
}
/**
* bytes bytes = 1;
*/
public fun clearBytes() {
_builder.clearBytes()
}
}
}
public inline fun org.xmtp.proto.mls.message.contents.Association.EdDsaSignature.copy(block: org.xmtp.proto.mls.message.contents.EdDsaSignatureKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.Association.EdDsaSignature =
org.xmtp.proto.mls.message.contents.EdDsaSignatureKt.Dsl._create(this.toBuilder()).apply { block() }._build()