Class GeneratorsGrpc.GeneratorsFutureStub (0.55.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Generator>

deleteGenerator(DeleteGeneratorRequest request)

public ListenableFuture<Empty> deleteGenerator(DeleteGeneratorRequest request)

Deletes the specified generators.

Parameter
Name Description
request DeleteGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getGenerator(GetGeneratorRequest request)

public ListenableFuture<Generator> getGenerator(GetGeneratorRequest request)

Retrieves the specified generator.

Parameter
Name Description
request GetGeneratorRequest
Returns
Type Description
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
Name Description
request ListGeneratorsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request)

public ListenableFuture<Generator> updateGenerator(UpdateGeneratorRequest request)

Update the specified generator.

Parameter
Name Description
request UpdateGeneratorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Generator>