Class ModelGardenServiceGrpc.ModelGardenServiceStub (3.34.0)

public static final class ModelGardenServiceGrpc.ModelGardenServiceStub extends AbstractAsyncStub<ModelGardenServiceGrpc.ModelGardenServiceStub>

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

The interface of Model Garden Service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ModelGardenServiceGrpc.ModelGardenServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getPublisherModel(GetPublisherModelRequest request, StreamObserver<PublisherModel> responseObserver)

public void getPublisherModel(GetPublisherModelRequest request, StreamObserver<PublisherModel> responseObserver)

Gets a Model Garden publisher model.

Parameters
NameDescription
requestGetPublisherModelRequest
responseObserverio.grpc.stub.StreamObserver<PublisherModel>

listPublisherModels(ListPublisherModelsRequest request, StreamObserver<ListPublisherModelsResponse> responseObserver)

public void listPublisherModels(ListPublisherModelsRequest request, StreamObserver<ListPublisherModelsResponse> responseObserver)

Lists publisher models in Model Garden.

Parameters
NameDescription
requestListPublisherModelsRequest
responseObserverio.grpc.stub.StreamObserver<ListPublisherModelsResponse>