@Generated(value="by gapic-generator-java") public class GrpcWebhooksStub extends WebhooksStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcWebhooksStub(WebhooksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcWebhooksStub, using the given settings.
|
protected |
GrpcWebhooksStub(WebhooksStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWebhooksStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcWebhooksStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcWebhooksStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcWebhooksStub |
create(WebhooksStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateWebhookRequest,Webhook> |
createWebhookCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteWebhookRequest,com.google.protobuf.Empty> |
deleteWebhookCallable() |
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<GetWebhookRequest,Webhook> |
getWebhookCallable() |
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,WebhooksClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListWebhooksRequest,ListWebhooksResponse> |
listWebhooksCallable() |
com.google.api.gax.rpc.UnaryCallable<ListWebhooksRequest,WebhooksClient.ListWebhooksPagedResponse> |
listWebhooksPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateWebhookRequest,Webhook> |
updateWebhookCallable() |
protected GrpcWebhooksStub(WebhooksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcWebhooksStub(WebhooksStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcWebhooksStub create(WebhooksStubSettings settings) throws IOException
IOExceptionpublic static final GrpcWebhooksStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcWebhooksStub 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<ListWebhooksRequest,ListWebhooksResponse> listWebhooksCallable()
listWebhooksCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<ListWebhooksRequest,WebhooksClient.ListWebhooksPagedResponse> listWebhooksPagedCallable()
listWebhooksPagedCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<GetWebhookRequest,Webhook> getWebhookCallable()
getWebhookCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<CreateWebhookRequest,Webhook> createWebhookCallable()
createWebhookCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateWebhookRequest,Webhook> updateWebhookCallable()
updateWebhookCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteWebhookRequest,com.google.protobuf.Empty> deleteWebhookCallable()
deleteWebhookCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,WebhooksClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class WebhooksStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class WebhooksStubpublic final void close()
close in interface AutoCloseableclose in class WebhooksStubpublic 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.