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

tech.figure.block.api.proto.EarliestMarkerStateRequestKt.kt Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: marker-service.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package tech.figure.block.api.proto;

@kotlin.jvm.JvmName("-initializeearliestMarkerStateRequest")
public inline fun earliestMarkerStateRequest(block: tech.figure.block.api.proto.EarliestMarkerStateRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest =
  tech.figure.block.api.proto.EarliestMarkerStateRequestKt.Dsl._create(tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest.newBuilder()).apply { block() }._build()
/**
 * ```
 * Fetch the first marker state for a given denom, chronologically
 * ```
 *
 * Protobuf type `api.EarliestMarkerStateRequest`
 */
public object EarliestMarkerStateRequestKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest = _builder.build()

    /**
     * ```
     * The unique denom identifier for the target marker
     * ```
     *
     * `string denom = 1;`
     */
    public var denom: kotlin.String
      @JvmName("getDenom")
      get() = _builder.getDenom()
      @JvmName("setDenom")
      set(value) {
        _builder.setDenom(value)
      }
    /**
     * ```
     * The unique denom identifier for the target marker
     * ```
     *
     * `string denom = 1;`
     */
    public fun clearDenom() {
      _builder.clearDenom()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest.copy(block: tech.figure.block.api.proto.EarliestMarkerStateRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.MarkerServiceOuterClass.EarliestMarkerStateRequest =
  tech.figure.block.api.proto.EarliestMarkerStateRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy