Interface ExamplesGrpc.AsyncService (0.52.0)

public static interface ExamplesGrpc.AsyncService

Service for managing Examples.

Methods

createExample(CreateExampleRequest request, StreamObserver<Example> responseObserver)

public default 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 default 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 default 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 default 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 default void updateExample(UpdateExampleRequest request, StreamObserver<Example> responseObserver)

Update the specified example.

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