Class ModelGardenServiceGrpc.ModelGardenServiceFutureStub (3.36.0)

public static final class ModelGardenServiceGrpc.ModelGardenServiceFutureStub extends AbstractFutureStub<ModelGardenServiceGrpc.ModelGardenServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ModelGardenService.

The interface of Model Garden Service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ModelGardenServiceGrpc.ModelGardenServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getPublisherModel(GetPublisherModelRequest request)

public ListenableFuture<PublisherModel> getPublisherModel(GetPublisherModelRequest request)

Gets a Model Garden publisher model.

Parameter
NameDescription
requestGetPublisherModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PublisherModel>