Class HttpJsonAnalyticsHubServiceStub
java.lang.Object
com.google.cloud.bigquery.dataexchange.v1beta1.stub.AnalyticsHubServiceStub
com.google.cloud.bigquery.dataexchange.v1beta1.stub.HttpJsonAnalyticsHubServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonAnalyticsHubServiceStub
extends AnalyticsHubServiceStub
REST stub implementation for the AnalyticsHubService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonAnalyticsHubServiceStub, using the given settings.protectedHttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonAnalyticsHubServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonAnalyticsHubServiceStubcreate(ClientContext clientContext) static final HttpJsonAnalyticsHubServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonAnalyticsHubServiceStubcreate(AnalyticsHubServiceStubSettings settings) UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty> UnaryCallable<DeleteListingRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> voidshutdown()void
-
Constructor Details
-
HttpJsonAnalyticsHubServiceStub
protected HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonAnalyticsHubServiceStub, 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.- Throws:
IOException
-
HttpJsonAnalyticsHubServiceStub
protected HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonAnalyticsHubServiceStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonAnalyticsHubServiceStub create(AnalyticsHubServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonAnalyticsHubServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonAnalyticsHubServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
listDataExchangesCallable
public UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse> listDataExchangesCallable()- Overrides:
listDataExchangesCallablein classAnalyticsHubServiceStub
-
listDataExchangesPagedCallable
public UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse> listDataExchangesPagedCallable()- Overrides:
listDataExchangesPagedCallablein classAnalyticsHubServiceStub
-
listOrgDataExchangesCallable
public UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse> listOrgDataExchangesCallable()- Overrides:
listOrgDataExchangesCallablein classAnalyticsHubServiceStub
-
listOrgDataExchangesPagedCallable
public UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> listOrgDataExchangesPagedCallable()- Overrides:
listOrgDataExchangesPagedCallablein classAnalyticsHubServiceStub
-
getDataExchangeCallable
- Overrides:
getDataExchangeCallablein classAnalyticsHubServiceStub
-
createDataExchangeCallable
- Overrides:
createDataExchangeCallablein classAnalyticsHubServiceStub
-
updateDataExchangeCallable
- Overrides:
updateDataExchangeCallablein classAnalyticsHubServiceStub
-
deleteDataExchangeCallable
public UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty> deleteDataExchangeCallable()- Overrides:
deleteDataExchangeCallablein classAnalyticsHubServiceStub
-
listListingsCallable
- Overrides:
listListingsCallablein classAnalyticsHubServiceStub
-
listListingsPagedCallable
public UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse> listListingsPagedCallable()- Overrides:
listListingsPagedCallablein classAnalyticsHubServiceStub
-
getListingCallable
- Overrides:
getListingCallablein classAnalyticsHubServiceStub
-
createListingCallable
- Overrides:
createListingCallablein classAnalyticsHubServiceStub
-
updateListingCallable
- Overrides:
updateListingCallablein classAnalyticsHubServiceStub
-
deleteListingCallable
- Overrides:
deleteListingCallablein classAnalyticsHubServiceStub
-
subscribeListingCallable
- Overrides:
subscribeListingCallablein classAnalyticsHubServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classAnalyticsHubServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classAnalyticsHubServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classAnalyticsHubServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classAnalyticsHubServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,AnalyticsHubServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classAnalyticsHubServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classAnalyticsHubServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classAnalyticsHubServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-