Class ModelGardenServiceGrpc.ModelGardenServiceFutureStub (3.44.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetPublisherModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<PublisherModel>