org.xmtp.proto.mls.message.contents.GroupMutableMetadataV1Kt.kt Maven / Gradle / Ivy
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mls/message_contents/group_mutable_metadata.proto
package org.xmtp.proto.mls.message.contents;
@kotlin.jvm.JvmName("-initializegroupMutableMetadataV1")
public inline fun groupMutableMetadataV1(block: org.xmtp.proto.mls.message.contents.GroupMutableMetadataV1Kt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1 =
org.xmtp.proto.mls.message.contents.GroupMutableMetadataV1Kt.Dsl._create(org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1.newBuilder()).apply { block() }._build()
public object GroupMutableMetadataV1Kt {
@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.GroupMutableMetadata.GroupMutableMetadataV1.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1 = _builder.build()
/**
* string group_name = 1;
*/
public var groupName: kotlin.String
@JvmName("getGroupName")
get() = _builder.getGroupName()
@JvmName("setGroupName")
set(value) {
_builder.setGroupName(value)
}
/**
* string group_name = 1;
*/
public fun clearGroupName() {
_builder.clearGroupName()
}
}
}
public inline fun org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1.copy(block: org.xmtp.proto.mls.message.contents.GroupMutableMetadataV1Kt.Dsl.() -> kotlin.Unit): org.xmtp.proto.mls.message.contents.GroupMutableMetadata.GroupMutableMetadataV1 =
org.xmtp.proto.mls.message.contents.GroupMutableMetadataV1Kt.Dsl._create(this.toBuilder()).apply { block() }._build()