xyz.block.ftl.v1.GrpcVerbServiceClient.kt Maven / Gradle / Ivy
// Code generated by Wire protocol buffer compiler, do not edit.
// Source: xyz.block.ftl.v1.VerbService in xyz/block/ftl/v1/ftl.proto
@file:Suppress("DEPRECATION")
package xyz.block.ftl.v1
import com.squareup.wire.GrpcCall
import com.squareup.wire.GrpcClient
import com.squareup.wire.GrpcMethod
import kotlin.Suppress
/**
* VerbService is a common interface shared by multiple services for calling Verbs.
*/
public class GrpcVerbServiceClient(
private val client: GrpcClient,
) : VerbServiceClient {
/**
* Ping service for readiness.
*/
override fun Ping(): GrpcCall = client.newCall(GrpcMethod(
path = "/xyz.block.ftl.v1.VerbService/Ping",
requestAdapter = PingRequest.ADAPTER,
responseAdapter = PingResponse.ADAPTER
))
/**
* Issue a synchronous call to a Verb.
*/
override fun Call(): GrpcCall = client.newCall(GrpcMethod(
path = "/xyz.block.ftl.v1.VerbService/Call",
requestAdapter = CallRequest.ADAPTER,
responseAdapter = CallResponse.ADAPTER
))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy