Class GeneratorsGrpc.GeneratorsFutureStub (0.51.0)

public static final class GeneratorsGrpc.GeneratorsFutureStub extends AbstractFutureStub<GeneratorsGrpc.GeneratorsFutureStub>

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

Service for managing Generators

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > GeneratorsGrpc.GeneratorsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createGenerator(CreateGeneratorRequest request)

public ListenableFuture<Generator> createGenerator(CreateGeneratorRequest request)

Creates a generator in the specified agent.

Parameter
NameDescription
requestCreateGeneratorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Generator>

deleteGenerator(DeleteGeneratorRequest request)

public ListenableFuture<Empty> deleteGenerator(DeleteGeneratorRequest request)

Deletes the specified generators.

Parameter
NameDescription
requestDeleteGeneratorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getGenerator(GetGeneratorRequest request)

public ListenableFuture<Generator> getGenerator(GetGeneratorRequest request)

Retrieves the specified generator.

Parameter
NameDescription
requestGetGeneratorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Generator>

listGenerators(ListGeneratorsRequest request)

public ListenableFuture<ListGeneratorsResponse> listGenerators(ListGeneratorsRequest request)

Returns the list of all generators in the specified agent.

Parameter
NameDescription
requestListGeneratorsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request)

public ListenableFuture<Generator> updateGenerator(UpdateGeneratorRequest request)

Update the specified generator.

Parameter
NameDescription
requestUpdateGeneratorRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Generator>