Class GeneratorsGrpc.GeneratorsStub (0.42.0)

public static final class GeneratorsGrpc.GeneratorsStub extends AbstractAsyncStub<GeneratorsGrpc.GeneratorsStub>

A stub to allow clients to do asynchronous rpc calls to service Generators.

Service for managing Generators

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > GeneratorsGrpc.GeneratorsStub

Methods

build(Channel channel, CallOptions callOptions)

protected GeneratorsGrpc.GeneratorsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
GeneratorsGrpc.GeneratorsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void createGenerator(CreateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Creates a generator in the specified agent.

Parameters
Name Description
request CreateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

public void deleteGenerator(DeleteGeneratorRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified generators.

Parameters
Name Description
request DeleteGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void getGenerator(GetGeneratorRequest request, StreamObserver<Generator> responseObserver)

Retrieves the specified generator.

Parameters
Name Description
request GetGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>

listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

public void listGenerators(ListGeneratorsRequest request, StreamObserver<ListGeneratorsResponse> responseObserver)

Returns the list of all generators in the specified agent.

Parameters
Name Description
request ListGeneratorsRequest
responseObserver io.grpc.stub.StreamObserver<ListGeneratorsResponse>

updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

public void updateGenerator(UpdateGeneratorRequest request, StreamObserver<Generator> responseObserver)

Update the specified generator.

Parameters
Name Description
request UpdateGeneratorRequest
responseObserver io.grpc.stub.StreamObserver<Generator>