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

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

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

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class InstallationKeysProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * 
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; */ public val installationKeys: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getInstallationKeysList() ) /** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; * @param value The installationKeys to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addInstallationKeys") public fun com.google.protobuf.kotlin.DslList.add(value: com.google.protobuf.ByteString) { _builder.addInstallationKeys(value) }/** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; * @param value The installationKeys to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignInstallationKeys") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: com.google.protobuf.ByteString) { add(value) }/** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; * @param values The installationKeys to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllInstallationKeys") public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllInstallationKeys(values) }/** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; * @param values The installationKeys to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllInstallationKeys") @Suppress("NOTHING_TO_INLINE") public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) }/** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; * @param index The index to set the value at. * @param value The installationKeys to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setInstallationKeys") public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: com.google.protobuf.ByteString) { _builder.setInstallationKeys(index, value) }/** *
     * The caller can provide an array of installation keys, and the API
     * will return one key package for each installation associated with each
     * installation key
     * 
* * repeated bytes installation_keys = 1; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearInstallationKeys") public fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearInstallationKeys() }} } public inline fun org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest.copy(block: org.xmtp.proto.mls.api.v1.FetchKeyPackagesRequestKt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest = org.xmtp.proto.mls.api.v1.FetchKeyPackagesRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy