games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProtoKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of saga-sdk-proto Show documentation
Show all versions of saga-sdk-proto Show documentation
Saga SDK for Java game servers
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: api/nftbridge/definition.proto
package games.mythical.saga.sdk.proto.api.nftbridge;
@kotlin.jvm.JvmName("-initializenftBridgeProto")
inline fun nftBridgeProto(block: games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto =
games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProtoKt.Dsl._create(games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto.newBuilder()).apply { block() }._build()
object NftBridgeProtoKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
class Dsl private constructor(
private val _builder: games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto = _builder.build()
/**
* string trace_id = 1;
*/
var traceId: kotlin.String
@JvmName("getTraceId")
get() = _builder.getTraceId()
@JvmName("setTraceId")
set(value) {
_builder.setTraceId(value)
}
/**
* string trace_id = 1;
*/
fun clearTraceId() {
_builder.clearTraceId()
}
/**
*
* @exclude ???
*
*
* string mythical_address = 2;
*/
var mythicalAddress: kotlin.String
@JvmName("getMythicalAddress")
get() = _builder.getMythicalAddress()
@JvmName("setMythicalAddress")
set(value) {
_builder.setMythicalAddress(value)
}
/**
*
* @exclude ???
*
*
* string mythical_address = 2;
*/
fun clearMythicalAddress() {
_builder.clearMythicalAddress()
}
/**
*
* Address on Mainnet
*
*
* string mainnet_address = 3;
*/
var mainnetAddress: kotlin.String
@JvmName("getMainnetAddress")
get() = _builder.getMainnetAddress()
@JvmName("setMainnetAddress")
set(value) {
_builder.setMainnetAddress(value)
}
/**
*
* Address on Mainnet
*
*
* string mainnet_address = 3;
*/
fun clearMainnetAddress() {
_builder.clearMainnetAddress()
}
/**
*
* Name of the chain
*
*
* string chain_name = 4;
*/
var chainName: kotlin.String
@JvmName("getChainName")
get() = _builder.getChainName()
@JvmName("setChainName")
set(value) {
_builder.setChainName(value)
}
/**
*
* Name of the chain
*
*
* string chain_name = 4;
*/
fun clearChainName() {
_builder.clearChainName()
}
}
}
@kotlin.jvm.JvmSynthetic
inline fun games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto.copy(block: games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProtoKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProto =
games.mythical.saga.sdk.proto.api.nftbridge.NftBridgeProtoKt.Dsl._create(this.toBuilder()).apply { block() }._build()