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
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected ModelGardenServiceGrpc.ModelGardenServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
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>

listPublisherModels(ListPublisherModelsRequest request)

public ListenableFuture<ListPublisherModelsResponse> listPublisherModels(ListPublisherModelsRequest request)

Lists publisher models in Model Garden.

Parameter
NameDescription
requestListPublisherModelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListPublisherModelsResponse>