tech.figure.block.api.proto.GetFeeRequestKt.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: block-service.proto
// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package tech.figure.block.api.proto;
@kotlin.jvm.JvmName("-initializegetFeeRequest")
public inline fun getFeeRequest(block: tech.figure.block.api.proto.GetFeeRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest =
tech.figure.block.api.proto.GetFeeRequestKt.Dsl._create(tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest.newBuilder()).apply { block() }._build()
/**
* Protobuf type `api.GetFeeRequest`
*/
public object GetFeeRequestKt {
@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.BlockServiceOuterClass.GetFeeRequest.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest = _builder.build()
/**
* `int64 height = 1;`
*/
public var height: kotlin.Long
@JvmName("getHeight")
get() = _builder.getHeight()
@JvmName("setHeight")
set(value) {
_builder.setHeight(value)
}
/**
* `int64 height = 1;`
*/
public fun clearHeight() {
_builder.clearHeight()
}
/**
* `string tx_hash = 2;`
*/
public var txHash: kotlin.String
@JvmName("getTxHash")
get() = _builder.getTxHash()
@JvmName("setTxHash")
set(value) {
_builder.setTxHash(value)
}
/**
* `string tx_hash = 2;`
*/
public fun clearTxHash() {
_builder.clearTxHash()
}
}
}
@kotlin.jvm.JvmSynthetic
public inline fun tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest.copy(block: tech.figure.block.api.proto.GetFeeRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.BlockServiceOuterClass.GetFeeRequest =
tech.figure.block.api.proto.GetFeeRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()