@BetaApi @Generated(value="by gapic-generator-java") public class GrpcPlaybooksStub extends PlaybooksStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcPlaybooksStub(PlaybooksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcPlaybooksStub, using the given settings.
|
protected |
GrpcPlaybooksStub(PlaybooksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcPlaybooksStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcPlaybooksStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcPlaybooksStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcPlaybooksStub |
create(PlaybooksStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreatePlaybookRequest,Playbook> |
createPlaybookCallable() |
com.google.api.gax.rpc.UnaryCallable<CreatePlaybookVersionRequest,PlaybookVersion> |
createPlaybookVersionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeletePlaybookRequest,com.google.protobuf.Empty> |
deletePlaybookCallable() |
com.google.api.gax.rpc.UnaryCallable<DeletePlaybookVersionRequest,com.google.protobuf.Empty> |
deletePlaybookVersionCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetPlaybookRequest,Playbook> |
getPlaybookCallable() |
com.google.api.gax.rpc.UnaryCallable<GetPlaybookVersionRequest,PlaybookVersion> |
getPlaybookVersionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,PlaybooksClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPlaybooksRequest,ListPlaybooksResponse> |
listPlaybooksCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPlaybooksRequest,PlaybooksClient.ListPlaybooksPagedResponse> |
listPlaybooksPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse> |
listPlaybookVersionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListPlaybookVersionsRequest,PlaybooksClient.ListPlaybookVersionsPagedResponse> |
listPlaybookVersionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdatePlaybookRequest,Playbook> |
updatePlaybookCallable() |
protected GrpcPlaybooksStub(PlaybooksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcPlaybooksStub(PlaybooksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcPlaybooksStub create(PlaybooksStubSettings settings) throws IOException
IOExceptionpublic static final GrpcPlaybooksStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcPlaybooksStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreatePlaybookRequest,Playbook> createPlaybookCallable()
createPlaybookCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePlaybookRequest,com.google.protobuf.Empty> deletePlaybookCallable()
deletePlaybookCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<ListPlaybooksRequest,ListPlaybooksResponse> listPlaybooksCallable()
listPlaybooksCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<ListPlaybooksRequest,PlaybooksClient.ListPlaybooksPagedResponse> listPlaybooksPagedCallable()
listPlaybooksPagedCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<GetPlaybookRequest,Playbook> getPlaybookCallable()
getPlaybookCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<UpdatePlaybookRequest,Playbook> updatePlaybookCallable()
updatePlaybookCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<CreatePlaybookVersionRequest,PlaybookVersion> createPlaybookVersionCallable()
createPlaybookVersionCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<GetPlaybookVersionRequest,PlaybookVersion> getPlaybookVersionCallable()
getPlaybookVersionCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<ListPlaybookVersionsRequest,ListPlaybookVersionsResponse> listPlaybookVersionsCallable()
listPlaybookVersionsCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<ListPlaybookVersionsRequest,PlaybooksClient.ListPlaybookVersionsPagedResponse> listPlaybookVersionsPagedCallable()
listPlaybookVersionsPagedCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<DeletePlaybookVersionRequest,com.google.protobuf.Empty> deletePlaybookVersionCallable()
deletePlaybookVersionCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,PlaybooksClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class PlaybooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class PlaybooksStubpublic final void close()
close in interface AutoCloseableclose in class PlaybooksStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.