Class GrpcPlaybooksStub (0.63.0)

public class GrpcPlaybooksStub extends PlaybooksStub

gRPC stub implementation for the Playbooks service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > PlaybooksStub > GrpcPlaybooksStub

Static Methods

create(ClientContext clientContext)

public static final GrpcPlaybooksStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcPlaybooksStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcPlaybooksStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcPlaybooksStub
Exceptions
Type Description
IOException

create(PlaybooksStubSettings settings)

public static final GrpcPlaybooksStub create(PlaybooksStubSettings settings)
Parameter
Name Description
settings PlaybooksStubSettings
Returns
Type Description
GrpcPlaybooksStub
Exceptions
Type Description
IOException

Constructors

GrpcPlaybooksStub(PlaybooksStubSettings settings, ClientContext clientContext)

protected GrpcPlaybooksStub(PlaybooksStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcPlaybooksStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings PlaybooksStubSettings
clientContext ClientContext

GrpcPlaybooksStub(PlaybooksStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcPlaybooksStub(PlaybooksStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcPlaybooksStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings PlaybooksStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createPlaybookCallable()

public UnaryCallable<CreatePlaybookRequest,Playbook> createPlaybookCallable()
Returns
Type Description
UnaryCallable<CreatePlaybookRequest,Playbook>
Overrides

createPlaybookVersionCallable()

public UnaryCallable<CreatePlaybookVersionRequest,PlaybookVersion> createPlaybookVersionCallable()
Returns
Type Description
UnaryCallable<CreatePlaybookVersionRequest,PlaybookVersion>
Overrides

deletePlaybookCallable()

public UnaryCallable<DeletePlaybookRequest,Empty> deletePlaybookCallable()
Returns
Type Description
UnaryCallable<DeletePlaybookRequest,Empty>
Overrides

deletePlaybookVersionCallable()

public UnaryCallable<DeletePlaybookVersionRequest,Empty> deletePlaybookVersionCallable()
Returns
Type Description
UnaryCallable<DeletePlaybookVersionRequest,Empty>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getPlaybookCallable()

public UnaryCallable<GetPlaybookRequest,Playbook> getPlaybookCallable()
Returns
Type Description
UnaryCallable<GetPlaybookRequest,Playbook>
Overrides

getPlaybookVersionCallable()

public UnaryCallable<GetPlaybookVersionRequest,PlaybookVersion> getPlaybookVersionCallable()
Returns
Type Description
UnaryCallable<GetPlaybookVersionRequest,PlaybookVersion>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,PlaybooksClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listPlaybookVersionsCallable()

public UnaryCallable<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse> listPlaybookVersionsCallable()
Returns
Type Description
UnaryCallable<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse>
Overrides

listPlaybookVersionsPagedCallable()

public UnaryCallable<ListPlaybookVersionsRequest,PlaybooksClient.ListPlaybookVersionsPagedResponse> listPlaybookVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListPlaybookVersionsRequest,ListPlaybookVersionsPagedResponse>
Overrides

listPlaybooksCallable()

public UnaryCallable<ListPlaybooksRequest,ListPlaybooksResponse> listPlaybooksCallable()
Returns
Type Description
UnaryCallable<ListPlaybooksRequest,ListPlaybooksResponse>
Overrides

listPlaybooksPagedCallable()

public UnaryCallable<ListPlaybooksRequest,PlaybooksClient.ListPlaybooksPagedResponse> listPlaybooksPagedCallable()
Returns
Type Description
UnaryCallable<ListPlaybooksRequest,ListPlaybooksPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updatePlaybookCallable()

public UnaryCallable<UpdatePlaybookRequest,Playbook> updatePlaybookCallable()
Returns
Type Description
UnaryCallable<UpdatePlaybookRequest,Playbook>
Overrides