Class HttpJsonAnalyticsHubServiceStub
- java.lang.Object
-
- com.google.cloud.bigquery.analyticshub.v1.stub.AnalyticsHubServiceStub
-
- com.google.cloud.bigquery.analyticshub.v1.stub.HttpJsonAnalyticsHubServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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
Constructors Modifier Constructor Description protectedHttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonAnalyticsHubServiceStub, using the given settings.protectedHttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonAnalyticsHubServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonAnalyticsHubServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonAnalyticsHubServiceStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonAnalyticsHubServiceStubcreate(AnalyticsHubServiceStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateDataExchangeRequest,DataExchange>createDataExchangeCallable()com.google.api.gax.rpc.UnaryCallable<CreateListingRequest,Listing>createListingCallable()com.google.api.gax.rpc.UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty>deleteDataExchangeCallable()com.google.api.gax.rpc.UnaryCallable<DeleteListingRequest,com.google.protobuf.Empty>deleteListingCallable()com.google.api.gax.rpc.UnaryCallable<GetDataExchangeRequest,DataExchange>getDataExchangeCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>getIamPolicyCallable()com.google.api.gax.rpc.UnaryCallable<GetListingRequest,Listing>getListingCallable()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse>listDataExchangesCallable()com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse>listDataExchangesPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,ListListingsResponse>listListingsCallable()com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse>listListingsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse>listOrgDataExchangesCallable()com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse>listOrgDataExchangesPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>setIamPolicyCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<SubscribeListingRequest,SubscribeListingResponse>subscribeListingCallable()com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>testIamPermissionsCallable()com.google.api.gax.rpc.UnaryCallable<UpdateDataExchangeRequest,DataExchange>updateDataExchangeCallable()com.google.api.gax.rpc.UnaryCallable<UpdateListingRequest,Listing>updateListingCallable()
-
-
-
Constructor Detail
-
HttpJsonAnalyticsHubServiceStub
protected HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.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 Detail
-
create
public static final HttpJsonAnalyticsHubServiceStub create(AnalyticsHubServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAnalyticsHubServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonAnalyticsHubServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
listDataExchangesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse> listDataExchangesCallable()
- Overrides:
listDataExchangesCallablein classAnalyticsHubServiceStub
-
listDataExchangesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse> listDataExchangesPagedCallable()
- Overrides:
listDataExchangesPagedCallablein classAnalyticsHubServiceStub
-
listOrgDataExchangesCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse> listOrgDataExchangesCallable()
- Overrides:
listOrgDataExchangesCallablein classAnalyticsHubServiceStub
-
listOrgDataExchangesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> listOrgDataExchangesPagedCallable()
- Overrides:
listOrgDataExchangesPagedCallablein classAnalyticsHubServiceStub
-
getDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<GetDataExchangeRequest,DataExchange> getDataExchangeCallable()
- Overrides:
getDataExchangeCallablein classAnalyticsHubServiceStub
-
createDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDataExchangeRequest,DataExchange> createDataExchangeCallable()
- Overrides:
createDataExchangeCallablein classAnalyticsHubServiceStub
-
updateDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDataExchangeRequest,DataExchange> updateDataExchangeCallable()
- Overrides:
updateDataExchangeCallablein classAnalyticsHubServiceStub
-
deleteDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty> deleteDataExchangeCallable()
- Overrides:
deleteDataExchangeCallablein classAnalyticsHubServiceStub
-
listListingsCallable
public com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,ListListingsResponse> listListingsCallable()
- Overrides:
listListingsCallablein classAnalyticsHubServiceStub
-
listListingsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse> listListingsPagedCallable()
- Overrides:
listListingsPagedCallablein classAnalyticsHubServiceStub
-
getListingCallable
public com.google.api.gax.rpc.UnaryCallable<GetListingRequest,Listing> getListingCallable()
- Overrides:
getListingCallablein classAnalyticsHubServiceStub
-
createListingCallable
public com.google.api.gax.rpc.UnaryCallable<CreateListingRequest,Listing> createListingCallable()
- Overrides:
createListingCallablein classAnalyticsHubServiceStub
-
updateListingCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateListingRequest,Listing> updateListingCallable()
- Overrides:
updateListingCallablein classAnalyticsHubServiceStub
-
deleteListingCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteListingRequest,com.google.protobuf.Empty> deleteListingCallable()
- Overrides:
deleteListingCallablein classAnalyticsHubServiceStub
-
subscribeListingCallable
public com.google.api.gax.rpc.UnaryCallable<SubscribeListingRequest,SubscribeListingResponse> subscribeListingCallable()
- Overrides:
subscribeListingCallablein classAnalyticsHubServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classAnalyticsHubServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classAnalyticsHubServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallablein 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
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-