Class ModelGardenServiceGrpc.ModelGardenServiceBlockingStub (3.36.0)

public static final class ModelGardenServiceGrpc.ModelGardenServiceBlockingStub extends AbstractBlockingStub<ModelGardenServiceGrpc.ModelGardenServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service ModelGardenService.

The interface of Model Garden Service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ModelGardenServiceGrpc.ModelGardenServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ModelGardenServiceGrpc.ModelGardenServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ModelGardenServiceGrpc.ModelGardenServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getPublisherModel(GetPublisherModelRequest request)

public PublisherModel getPublisherModel(GetPublisherModelRequest request)

Gets a Model Garden publisher model.

Parameter
NameDescription
requestGetPublisherModelRequest
Returns
TypeDescription
PublisherModel

listPublisherModels(ListPublisherModelsRequest request)

public ListPublisherModelsResponse listPublisherModels(ListPublisherModelsRequest request)

Lists publisher models in Model Garden.

Parameter
NameDescription
requestListPublisherModelsRequest
Returns
TypeDescription
ListPublisherModelsResponse