Class GeneratorsGrpc.GeneratorsStub (0.46.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
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.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>