Class PlaybooksGrpc.PlaybooksStub (0.66.0)

public static final class PlaybooksGrpc.PlaybooksStub extends AbstractAsyncStub<PlaybooksGrpc.PlaybooksStub>

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

Service for managing Playbooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > PlaybooksGrpc.PlaybooksStub

Methods

build(Channel channel, CallOptions callOptions)

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

createPlaybook(CreatePlaybookRequest request, StreamObserver<Playbook> responseObserver)

public void createPlaybook(CreatePlaybookRequest request, StreamObserver<Playbook> responseObserver)

Creates a playbook in a specified agent.

Parameters
Name Description
request CreatePlaybookRequest
responseObserver io.grpc.stub.StreamObserver<Playbook>

createPlaybookVersion(CreatePlaybookVersionRequest request, StreamObserver<PlaybookVersion> responseObserver)

public void createPlaybookVersion(CreatePlaybookVersionRequest request, StreamObserver<PlaybookVersion> responseObserver)

Creates a version for the specified Playbook.

Parameters
Name Description
request CreatePlaybookVersionRequest
responseObserver io.grpc.stub.StreamObserver<PlaybookVersion>

deletePlaybook(DeletePlaybookRequest request, StreamObserver<Empty> responseObserver)

public void deletePlaybook(DeletePlaybookRequest request, StreamObserver<Empty> responseObserver)

Deletes a specified playbook.

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

deletePlaybookVersion(DeletePlaybookVersionRequest request, StreamObserver<Empty> responseObserver)

public void deletePlaybookVersion(DeletePlaybookVersionRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified version of the Playbook.

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

getPlaybook(GetPlaybookRequest request, StreamObserver<Playbook> responseObserver)

public void getPlaybook(GetPlaybookRequest request, StreamObserver<Playbook> responseObserver)

Retrieves the specified Playbook.

Parameters
Name Description
request GetPlaybookRequest
responseObserver io.grpc.stub.StreamObserver<Playbook>

getPlaybookVersion(GetPlaybookVersionRequest request, StreamObserver<PlaybookVersion> responseObserver)

public void getPlaybookVersion(GetPlaybookVersionRequest request, StreamObserver<PlaybookVersion> responseObserver)

Retrieves the specified version of the Playbook.

Parameters
Name Description
request GetPlaybookVersionRequest
responseObserver io.grpc.stub.StreamObserver<PlaybookVersion>

listPlaybookVersions(ListPlaybookVersionsRequest request, StreamObserver<ListPlaybookVersionsResponse> responseObserver)

public void listPlaybookVersions(ListPlaybookVersionsRequest request, StreamObserver<ListPlaybookVersionsResponse> responseObserver)

Lists versions for the specified Playbook.

Parameters
Name Description
request ListPlaybookVersionsRequest
responseObserver io.grpc.stub.StreamObserver<ListPlaybookVersionsResponse>

listPlaybooks(ListPlaybooksRequest request, StreamObserver<ListPlaybooksResponse> responseObserver)

public void listPlaybooks(ListPlaybooksRequest request, StreamObserver<ListPlaybooksResponse> responseObserver)

Returns a list of playbooks in the specified agent.

Parameters
Name Description
request ListPlaybooksRequest
responseObserver io.grpc.stub.StreamObserver<ListPlaybooksResponse>

updatePlaybook(UpdatePlaybookRequest request, StreamObserver<Playbook> responseObserver)

public void updatePlaybook(UpdatePlaybookRequest request, StreamObserver<Playbook> responseObserver)

Updates the specified Playbook.

Parameters
Name Description
request UpdatePlaybookRequest
responseObserver io.grpc.stub.StreamObserver<Playbook>