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

org.xmtp.proto.mls.api.v1.KeyPackageUploadKt.kt Maven / Gradle / Ivy

There is a newer version: 3.70.1
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mls/api/v1/mls.proto

package org.xmtp.proto.mls.api.v1;

@kotlin.jvm.JvmName("-initializekeyPackageUpload")
public inline fun keyPackageUpload(block: org.xmtp.proto.mls.api.v1.KeyPackageUploadKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload =
  org.xmtp.proto.mls.api.v1.KeyPackageUploadKt.Dsl._create(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.newBuilder()).apply { block() }._build()
public object KeyPackageUploadKt {
  @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.api.v1.Mls.KeyPackageUpload.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload = _builder.build()

    /**
     * 
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; */ public var keyPackageTlsSerialized: com.google.protobuf.ByteString @JvmName("getKeyPackageTlsSerialized") get() = _builder.getKeyPackageTlsSerialized() @JvmName("setKeyPackageTlsSerialized") set(value) { _builder.setKeyPackageTlsSerialized(value) } /** *
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; */ public fun clearKeyPackageTlsSerialized() { _builder.clearKeyPackageTlsSerialized() } } } public inline fun org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.copy(block: org.xmtp.proto.mls.api.v1.KeyPackageUploadKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload = org.xmtp.proto.mls.api.v1.KeyPackageUploadKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy