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

games.mythical.saga.sdk.proto.common.MetadataKt.kt Maven / Gradle / Ivy

There is a newer version: 1.1.30
Show newest version
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: common/common.proto

package games.mythical.saga.sdk.proto.common;

@kotlin.jvm.JvmName("-initializemetadata")
inline fun metadata(block: games.mythical.saga.sdk.proto.common.MetadataKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.common.Metadata =
  games.mythical.saga.sdk.proto.common.MetadataKt.Dsl._create(games.mythical.saga.sdk.proto.common.Metadata.newBuilder()).apply { block() }._build()
object MetadataKt {
  @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.common.Metadata.Builder
  ) {
    companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: games.mythical.saga.sdk.proto.common.Metadata.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): games.mythical.saga.sdk.proto.common.Metadata = _builder.build()

    /**
     * 
     * Name of item 
     * 
* * string name = 1; */ var name: kotlin.String @JvmName("getName") get() = _builder.getName() @JvmName("setName") set(value) { _builder.setName(value) } /** *
     * Name of item 
     * 
* * string name = 1; */ fun clearName() { _builder.clearName() } /** *
     * Description of the item 
     * 
* * string description = 2; */ var description: kotlin.String @JvmName("getDescription") get() = _builder.getDescription() @JvmName("setDescription") set(value) { _builder.setDescription(value) } /** *
     * Description of the item 
     * 
* * string description = 2; */ fun clearDescription() { _builder.clearDescription() } /** *
     * URL to the image of the item 
     * 
* * string image = 3; */ var image: kotlin.String @JvmName("getImage") get() = _builder.getImage() @JvmName("setImage") set(value) { _builder.setImage(value) } /** *
     * URL to the image of the item 
     * 
* * string image = 3; */ fun clearImage() { _builder.clearImage() } /** *
     * URL to the item 
     * 
* * string external_url = 5; */ var externalUrl: kotlin.String @JvmName("getExternalUrl") get() = _builder.getExternalUrl() @JvmName("setExternalUrl") set(value) { _builder.setExternalUrl(value) } /** *
     * URL to the item 
     * 
* * string external_url = 5; */ fun clearExternalUrl() { _builder.clearExternalUrl() } /** *
     * OpenSea background color 
     * 
* * string background_color = 6; */ var backgroundColor: kotlin.String @JvmName("getBackgroundColor") get() = _builder.getBackgroundColor() @JvmName("setBackgroundColor") set(value) { _builder.setBackgroundColor(value) } /** *
     * OpenSea background color 
     * 
* * string background_color = 6; */ fun clearBackgroundColor() { _builder.clearBackgroundColor() } /** *
     * URL to a media/animation file 
     * 
* * string animation_url = 7; */ var animationUrl: kotlin.String @JvmName("getAnimationUrl") get() = _builder.getAnimationUrl() @JvmName("setAnimationUrl") set(value) { _builder.setAnimationUrl(value) } /** *
     * URL to a media/animation file 
     * 
* * string animation_url = 7; */ fun clearAnimationUrl() { _builder.clearAnimationUrl() } /** *
     * URL to a YouTube video 
     * 
* * string youtube_url = 8; */ var youtubeUrl: kotlin.String @JvmName("getYoutubeUrl") get() = _builder.getYoutubeUrl() @JvmName("setYoutubeUrl") set(value) { _builder.setYoutubeUrl(value) } /** *
     * URL to a YouTube video 
     * 
* * string youtube_url = 8; */ fun clearYoutubeUrl() { _builder.clearYoutubeUrl() } /** * An uninstantiable, behaviorless type to represent the field in * generics. */ @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class) class AttributesProxy private constructor() : com.google.protobuf.kotlin.DslProxy() /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; */ val attributes: com.google.protobuf.kotlin.DslList @kotlin.jvm.JvmSynthetic get() = com.google.protobuf.kotlin.DslList( _builder.getAttributesList() ) /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; * @param value The attributes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAttributes") fun com.google.protobuf.kotlin.DslList.add(value: games.mythical.saga.sdk.proto.common.MetadataAttribute) { _builder.addAttributes(value) } /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; * @param value The attributes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAttributes") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: games.mythical.saga.sdk.proto.common.MetadataAttribute) { add(value) } /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; * @param values The attributes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("addAllAttributes") fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) { _builder.addAllAttributes(values) } /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; * @param values The attributes to add. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("plusAssignAllAttributes") @Suppress("NOTHING_TO_INLINE") inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) { addAll(values) } /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; * @param index The index to set the value at. * @param value The attributes to set. */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("setAttributes") operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: games.mythical.saga.sdk.proto.common.MetadataAttribute) { _builder.setAttributes(index, value) } /** *
     * Metadata attributes 
     * 
* * repeated .saga.common.MetadataAttribute attributes = 9; */ @kotlin.jvm.JvmSynthetic @kotlin.jvm.JvmName("clearAttributes") fun com.google.protobuf.kotlin.DslList.clear() { _builder.clearAttributes() } } } @kotlin.jvm.JvmSynthetic inline fun games.mythical.saga.sdk.proto.common.Metadata.copy(block: games.mythical.saga.sdk.proto.common.MetadataKt.Dsl.() -> kotlin.Unit): games.mythical.saga.sdk.proto.common.Metadata = games.mythical.saga.sdk.proto.common.MetadataKt.Dsl._create(this.toBuilder()).apply { block() }._build()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy