Class HttpJsonAnalyticsHubServiceStub (0.46.0)

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.

Inheritance

java.lang.Object > AnalyticsHubServiceStub > HttpJsonAnalyticsHubServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonAnalyticsHubServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonAnalyticsHubServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonAnalyticsHubServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonAnalyticsHubServiceStub
Exceptions
Type Description
IOException

create(AnalyticsHubServiceStubSettings settings)

public static final HttpJsonAnalyticsHubServiceStub create(AnalyticsHubServiceStubSettings settings)
Parameter
Name Description
settings AnalyticsHubServiceStubSettings
Returns
Type Description
HttpJsonAnalyticsHubServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings AnalyticsHubServiceStubSettings
clientContext ClientContext

HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings AnalyticsHubServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createDataExchangeCallable()

public UnaryCallable<CreateDataExchangeRequest,DataExchange> createDataExchangeCallable()
Returns
Type Description
UnaryCallable<CreateDataExchangeRequest,DataExchange>
Overrides

createListingCallable()

public UnaryCallable<CreateListingRequest,Listing> createListingCallable()
Returns
Type Description
UnaryCallable<CreateListingRequest,Listing>
Overrides

deleteDataExchangeCallable()

public UnaryCallable<DeleteDataExchangeRequest,Empty> deleteDataExchangeCallable()
Returns
Type Description
UnaryCallable<DeleteDataExchangeRequest,Empty>
Overrides

deleteListingCallable()

public UnaryCallable<DeleteListingRequest,Empty> deleteListingCallable()
Returns
Type Description
UnaryCallable<DeleteListingRequest,Empty>
Overrides

deleteSubscriptionCallable()

public UnaryCallable<DeleteSubscriptionRequest,Operation> deleteSubscriptionCallable()
Returns
Type Description
UnaryCallable<DeleteSubscriptionRequest,Operation>
Overrides

deleteSubscriptionOperationCallable()

public OperationCallable<DeleteSubscriptionRequest,Empty,OperationMetadata> deleteSubscriptionOperationCallable()
Returns
Type Description
OperationCallable<DeleteSubscriptionRequest,Empty,OperationMetadata>
Overrides

getDataExchangeCallable()

public UnaryCallable<GetDataExchangeRequest,DataExchange> getDataExchangeCallable()
Returns
Type Description
UnaryCallable<GetDataExchangeRequest,DataExchange>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getListingCallable()

public UnaryCallable<GetListingRequest,Listing> getListingCallable()
Returns
Type Description
UnaryCallable<GetListingRequest,Listing>
Overrides

getSubscriptionCallable()

public UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
Returns
Type Description
UnaryCallable<GetSubscriptionRequest,Subscription>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDataExchangesCallable()

public UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse> listDataExchangesCallable()
Returns
Type Description
UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse>
Overrides

listDataExchangesPagedCallable()

public UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse> listDataExchangesPagedCallable()
Returns
Type Description
UnaryCallable<ListDataExchangesRequest,ListDataExchangesPagedResponse>
Overrides

listListingsCallable()

public UnaryCallable<ListListingsRequest,ListListingsResponse> listListingsCallable()
Returns
Type Description
UnaryCallable<ListListingsRequest,ListListingsResponse>
Overrides

listListingsPagedCallable()

public UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse> listListingsPagedCallable()
Returns
Type Description
UnaryCallable<ListListingsRequest,ListListingsPagedResponse>
Overrides

listOrgDataExchangesCallable()

public UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse> listOrgDataExchangesCallable()
Returns
Type Description
UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse>
Overrides

listOrgDataExchangesPagedCallable()

public UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> listOrgDataExchangesPagedCallable()
Returns
Type Description
UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesPagedResponse>
Overrides

listSharedResourceSubscriptionsCallable()

public UnaryCallable<ListSharedResourceSubscriptionsRequest,ListSharedResourceSubscriptionsResponse> listSharedResourceSubscriptionsCallable()
Returns
Type Description
UnaryCallable<ListSharedResourceSubscriptionsRequest,ListSharedResourceSubscriptionsResponse>
Overrides

listSharedResourceSubscriptionsPagedCallable()

public UnaryCallable<ListSharedResourceSubscriptionsRequest,AnalyticsHubServiceClient.ListSharedResourceSubscriptionsPagedResponse> listSharedResourceSubscriptionsPagedCallable()
Returns
Type Description
UnaryCallable<ListSharedResourceSubscriptionsRequest,ListSharedResourceSubscriptionsPagedResponse>
Overrides

listSubscriptionsCallable()

public UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
Returns
Type Description
UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse>
Overrides

listSubscriptionsPagedCallable()

public UnaryCallable<ListSubscriptionsRequest,AnalyticsHubServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
Returns
Type Description
UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsPagedResponse>
Overrides

refreshSubscriptionCallable()

public UnaryCallable<RefreshSubscriptionRequest,Operation> refreshSubscriptionCallable()
Returns
Type Description
UnaryCallable<RefreshSubscriptionRequest,Operation>
Overrides

refreshSubscriptionOperationCallable()

public OperationCallable<RefreshSubscriptionRequest,RefreshSubscriptionResponse,OperationMetadata> refreshSubscriptionOperationCallable()
Returns
Type Description
OperationCallable<RefreshSubscriptionRequest,RefreshSubscriptionResponse,OperationMetadata>
Overrides

revokeSubscriptionCallable()

public UnaryCallable<RevokeSubscriptionRequest,RevokeSubscriptionResponse> revokeSubscriptionCallable()
Returns
Type Description
UnaryCallable<RevokeSubscriptionRequest,RevokeSubscriptionResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

subscribeDataExchangeCallable()

public UnaryCallable<SubscribeDataExchangeRequest,Operation> subscribeDataExchangeCallable()
Returns
Type Description
UnaryCallable<SubscribeDataExchangeRequest,Operation>
Overrides

subscribeDataExchangeOperationCallable()

public OperationCallable<SubscribeDataExchangeRequest,SubscribeDataExchangeResponse,OperationMetadata> subscribeDataExchangeOperationCallable()
Returns
Type Description
OperationCallable<SubscribeDataExchangeRequest,SubscribeDataExchangeResponse,OperationMetadata>
Overrides

subscribeListingCallable()

public UnaryCallable<SubscribeListingRequest,SubscribeListingResponse> subscribeListingCallable()
Returns
Type Description
UnaryCallable<SubscribeListingRequest,SubscribeListingResponse>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateDataExchangeCallable()

public UnaryCallable<UpdateDataExchangeRequest,DataExchange> updateDataExchangeCallable()
Returns
Type Description
UnaryCallable<UpdateDataExchangeRequest,DataExchange>
Overrides

updateListingCallable()

public UnaryCallable<UpdateListingRequest,Listing> updateListingCallable()
Returns
Type Description
UnaryCallable<UpdateListingRequest,Listing>
Overrides