Class ModelGardenServiceGrpc.ModelGardenServiceBlockingStub (3.43.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetPublisherModelRequest
Returns
Type Description
PublisherModel

listPublisherModels(ListPublisherModelsRequest request)

public ListPublisherModelsResponse listPublisherModels(ListPublisherModelsRequest request)

Lists publisher models in Model Garden.

Parameter
Name Description
request ListPublisherModelsRequest
Returns
Type Description
ListPublisherModelsResponse