Class GeneratorsGrpc.GeneratorsFutureStub (0.48.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
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 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>