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

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

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

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class KeyPackagesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * 
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ public val keyPackages: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getKeyPackagesList() ) /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; * @param value The keyPackages to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addKeyPackages") public fun com.google.protobuf.kotlin.DslList.add(value: org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage) { _builder.addKeyPackages(value) } /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; * @param value The keyPackages to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignKeyPackages") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage) { add(value) } /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; * @param values The keyPackages to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllKeyPackages") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllKeyPackages(values) } /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; * @param values The keyPackages to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllKeyPackages") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; * @param index The index to set the value at. * @param value The keyPackages to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setKeyPackages") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage) { _builder.setKeyPackages(index, value) } /** *
     * Returns one key package per installation in the original order of the
     * request. If any installations are missing key packages, an empty entry is
     * left in their respective spots in the array.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearKeyPackages") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearKeyPackages() } } @kotlin.jvm.JvmName("-initializekeyPackage") public inline fun keyPackage(block: org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.KeyPackageKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage = org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.KeyPackageKt.Dsl._create(org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.newBuilder()).apply { block() }._build() public object KeyPackageKt { @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.FetchKeyPackagesResponse.KeyPackage.Builder ) { public companion object { @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _create(builder: org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.Builder): Dsl = Dsl(builder) } @kotlin.jvm.JvmSynthetic @kotlin.PublishedApi internal fun _build(): org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage = _builder.build() /** * 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) } /** * bytes key_package_tls_serialized = 1; */ public fun clearKeyPackageTlsSerialized() { _builder.clearKeyPackageTlsSerialized() } } } } public inline fun org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.copy(block: org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse = org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.Dsl._create(this.toBuilder()).apply { block() }._build() public inline fun org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.copy(block: org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.KeyPackageKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage = org.xmtp.proto.mls.api.v1.FetchKeyPackagesResponseKt.KeyPackageKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy