tech.figure.block.api.proto.EarliestMarkerStateRequestKt.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-proto Show documentation
Show all versions of api-proto Show documentation
gRPC client code to interact with Figures off chain Provenance data
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()