xyz.block.ftl.v1.console.GrpcConsoleServiceClient.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ftl-runtime Show documentation
Show all versions of ftl-runtime Show documentation
Towards a 𝝺-calculus for large-scale systems
// Code generated by Wire protocol buffer compiler, do not edit.
// Source: xyz.block.ftl.v1.console.ConsoleService in xyz/block/ftl/v1/console/console.proto
package xyz.block.ftl.v1.console
import com.squareup.wire.GrpcCall
import com.squareup.wire.GrpcClient
import com.squareup.wire.GrpcMethod
import com.squareup.wire.GrpcStreamingCall
import xyz.block.ftl.v1.PingRequest
import xyz.block.ftl.v1.PingResponse
public class GrpcConsoleServiceClient(
private val client: GrpcClient,
) : ConsoleServiceClient {
/**
* Ping service for readiness.
*/
override fun Ping(): GrpcCall = client.newCall(GrpcMethod(
path = "/xyz.block.ftl.v1.console.ConsoleService/Ping",
requestAdapter = PingRequest.ADAPTER,
responseAdapter = PingResponse.ADAPTER
))
override fun GetModules(): GrpcCall =
client.newCall(GrpcMethod(
path = "/xyz.block.ftl.v1.console.ConsoleService/GetModules",
requestAdapter = GetModulesRequest.ADAPTER,
responseAdapter = GetModulesResponse.ADAPTER
))
override fun StreamEvents(): GrpcStreamingCall =
client.newStreamingCall(GrpcMethod(
path = "/xyz.block.ftl.v1.console.ConsoleService/StreamEvents",
requestAdapter = StreamEventsRequest.ADAPTER,
responseAdapter = StreamEventsResponse.ADAPTER
))
override fun GetEvents(): GrpcCall = client.newCall(GrpcMethod(
path = "/xyz.block.ftl.v1.console.ConsoleService/GetEvents",
requestAdapter = EventsQuery.ADAPTER,
responseAdapter = GetEventsResponse.ADAPTER
))
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy