commonMain.ai.gateway.GrpcMMGatewayClient.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-entities Show documentation
Show all versions of proto-entities Show documentation
KMP package which exports compiled protobuf entities to be used by other repos
// Code generated by Wire protocol buffer compiler, do not edit.
// Source: ai.gateway.MMGateway in ai/gateway.proto
package ai.gateway
import com.squareup.wire.GrpcCall
import com.squareup.wire.GrpcClient
import com.squareup.wire.GrpcMethod
public class GrpcMMGatewayClient(
private val client: GrpcClient,
) : MMGatewayClient {
public override fun GetPeer(): GrpcCall = client.newCall(GrpcMethod(
path = "/ai.gateway.MMGateway/GetPeer",
requestAdapter = PeerRequest.ADAPTER,
responseAdapter = PeerResponse.ADAPTER
))
public override fun GetSession(): GrpcCall =
client.newCall(GrpcMethod(
path = "/ai.gateway.MMGateway/GetSession",
requestAdapter = SessionRequest.ADAPTER,
responseAdapter = SessionResponse.ADAPTER
))
public override fun GetAIConfig(): GrpcCall =
client.newCall(GrpcMethod(
path = "/ai.gateway.MMGateway/GetAIConfig",
requestAdapter = AIConfigRequest.ADAPTER,
responseAdapter = AIConfigResponse.ADAPTER
))
public override fun BroadcastSummary():
GrpcCall = client.newCall(GrpcMethod(
path = "/ai.gateway.MMGateway/BroadcastSummary",
requestAdapter = BroadcastSummaryRequest.ADAPTER,
responseAdapter = BroadcastSummaryResponse.ADAPTER
))
public override fun BroadcastTranscript():
GrpcCall = client.newCall(GrpcMethod(
path = "/ai.gateway.MMGateway/BroadcastTranscript",
requestAdapter = BroadcastTranscriptRequest.ADAPTER,
responseAdapter = BroadcastTranscriptResponse.ADAPTER
))
}