Class ExamplesGrpc.ExamplesBlockingStub (0.59.0)

public static final class ExamplesGrpc.ExamplesBlockingStub extends AbstractBlockingStub<ExamplesGrpc.ExamplesBlockingStub>

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

Service for managing Examples.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ExamplesGrpc.ExamplesBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createExample(CreateExampleRequest request)

public Example createExample(CreateExampleRequest request)

Creates an example in the specified playbook.

Parameter
Name Description
request CreateExampleRequest
Returns
Type Description
Example

deleteExample(DeleteExampleRequest request)

public Empty deleteExample(DeleteExampleRequest request)

Deletes the specified example.

Parameter
Name Description
request DeleteExampleRequest
Returns
Type Description
Empty

getExample(GetExampleRequest request)

public Example getExample(GetExampleRequest request)

Retrieves the specified example.

Parameter
Name Description
request GetExampleRequest
Returns
Type Description
Example

listExamples(ListExamplesRequest request)

public ListExamplesResponse listExamples(ListExamplesRequest request)

Returns a list of examples in the specified playbook.

Parameter
Name Description
request ListExamplesRequest
Returns
Type Description
ListExamplesResponse

updateExample(UpdateExampleRequest request)

public Example updateExample(UpdateExampleRequest request)

Update the specified example.

Parameter
Name Description
request UpdateExampleRequest
Returns
Type Description
Example