Class ExamplesGrpc.ExamplesStub (0.56.0)

public static final class ExamplesGrpc.ExamplesStub extends AbstractAsyncStub<ExamplesGrpc.ExamplesStub>

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

Service for managing Examples.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ExamplesGrpc.ExamplesStub

Methods

build(Channel channel, CallOptions callOptions)

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

createExample(CreateExampleRequest request, StreamObserver<Example> responseObserver)

public void createExample(CreateExampleRequest request, StreamObserver<Example> responseObserver)

Creates an example in the specified playbook.

Parameters
Name Description
request CreateExampleRequest
responseObserver io.grpc.stub.StreamObserver<Example>

deleteExample(DeleteExampleRequest request, StreamObserver<Empty> responseObserver)

public void deleteExample(DeleteExampleRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified example.

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

getExample(GetExampleRequest request, StreamObserver<Example> responseObserver)

public void getExample(GetExampleRequest request, StreamObserver<Example> responseObserver)

Retrieves the specified example.

Parameters
Name Description
request GetExampleRequest
responseObserver io.grpc.stub.StreamObserver<Example>

listExamples(ListExamplesRequest request, StreamObserver<ListExamplesResponse> responseObserver)

public void listExamples(ListExamplesRequest request, StreamObserver<ListExamplesResponse> responseObserver)

Returns a list of examples in the specified playbook.

Parameters
Name Description
request ListExamplesRequest
responseObserver io.grpc.stub.StreamObserver<ListExamplesResponse>

updateExample(UpdateExampleRequest request, StreamObserver<Example> responseObserver)

public void updateExample(UpdateExampleRequest request, StreamObserver<Example> responseObserver)

Update the specified example.

Parameters
Name Description
request UpdateExampleRequest
responseObserver io.grpc.stub.StreamObserver<Example>