Class ModelGardenServiceGrpc.ModelGardenServiceStub (3.42.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetPublisherModelRequest
responseObserver io.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
Name Description
request ListPublisherModelsRequest
responseObserver io.grpc.stub.StreamObserver<ListPublisherModelsResponse>