tech.figure.block.api.proto.StatusRequestKt.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("-initializestatusRequest")
public inline fun statusRequest(block: tech.figure.block.api.proto.StatusRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest =
tech.figure.block.api.proto.StatusRequestKt.Dsl._create(tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest.newBuilder()).apply { block() }._build()
/**
* Protobuf type `api.StatusRequest`
*/
public object StatusRequestKt {
@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.StatusRequest.Builder
) {
public companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest = _builder.build()
}
}
@kotlin.jvm.JvmSynthetic
public inline fun tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest.copy(block: tech.figure.block.api.proto.StatusRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.BlockServiceOuterClass.StatusRequest =
tech.figure.block.api.proto.StatusRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()