org.xmtp.proto.mls.message.contents.RecoverableEcdsaSignatureKt.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("-initializerecoverableEcdsaSignature")
public inline fun recoverableEcdsaSignature(block: org.xmtp.proto.mls.message.contents.RecoverableEcdsaSignatureKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature =
org.xmtp.proto.mls.message.contents.RecoverableEcdsaSignatureKt.Dsl._create(org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature.newBuilder()).apply { block() }._build()
public object RecoverableEcdsaSignatureKt {
@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.RecoverableEcdsaSignature.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature = _builder.build()
/**
*
* 65-bytes [ R || S || V ], with recovery id as the last byte
*
*
* bytes bytes = 1;
*/
public var bytes: com.google.protobuf.ByteString
@JvmName("getBytes")
get() = _builder.getBytes()
@JvmName("setBytes")
set(value) {
_builder.setBytes(value)
}
/**
*
* 65-bytes [ R || S || V ], with recovery id as the last byte
*
*
* bytes bytes = 1;
*/
public fun clearBytes() {
_builder.clearBytes()
}
}
}
public inline fun org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature.copy(block: org.xmtp.proto.mls.message.contents.RecoverableEcdsaSignatureKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.Association.RecoverableEcdsaSignature =
org.xmtp.proto.mls.message.contents.RecoverableEcdsaSignatureKt.Dsl._create(this.toBuilder()).apply { block() }._build()