@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcApplicationServiceStub extends ApplicationServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcApplicationServiceStub(ApplicationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcApplicationServiceStub, using the given settings.
|
protected |
GrpcApplicationServiceStub(ApplicationServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApplicationServiceStub, using the given settings.
|
protected GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcApplicationServiceStub create(ApplicationServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcApplicationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcApplicationServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateApplicationRequest,Application> createApplicationCallable()
createApplicationCallable in class ApplicationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
getApplicationCallable in class ApplicationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateApplicationRequest,Application> updateApplicationCallable()
updateApplicationCallable in class ApplicationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteApplicationRequest,Empty> deleteApplicationCallable()
deleteApplicationCallable in class ApplicationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListApplicationsRequest,ApplicationServiceClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()
listApplicationsPagedCallable in class ApplicationServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> listApplicationsCallable()
listApplicationsCallable in class ApplicationServiceStubpublic final void close()
close in interface AutoCloseableclose in class ApplicationServiceStubpublic 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.