@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcAlertPolicyServiceStub extends AlertPolicyServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcAlertPolicyServiceStub(AlertPolicyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAlertPolicyServiceStub, using the given settings.
|
protected |
GrpcAlertPolicyServiceStub(AlertPolicyServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAlertPolicyServiceStub, using the given settings.
|
protected GrpcAlertPolicyServiceStub(AlertPolicyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcAlertPolicyServiceStub(AlertPolicyServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcAlertPolicyServiceStub create(AlertPolicyServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcAlertPolicyServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcAlertPolicyServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<ListAlertPoliciesRequest,AlertPolicyServiceClient.ListAlertPoliciesPagedResponse> listAlertPoliciesPagedCallable()
listAlertPoliciesPagedCallable in class AlertPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListAlertPoliciesRequest,ListAlertPoliciesResponse> listAlertPoliciesCallable()
listAlertPoliciesCallable in class AlertPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetAlertPolicyRequest,AlertPolicy> getAlertPolicyCallable()
getAlertPolicyCallable in class AlertPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateAlertPolicyRequest,AlertPolicy> createAlertPolicyCallable()
createAlertPolicyCallable in class AlertPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteAlertPolicyRequest,Empty> deleteAlertPolicyCallable()
deleteAlertPolicyCallable in class AlertPolicyServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateAlertPolicyRequest,AlertPolicy> updateAlertPolicyCallable()
updateAlertPolicyCallable in class AlertPolicyServiceStubpublic final void close()
close in interface AutoCloseableclose in class AlertPolicyServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.