Class GrpcAnalyticsHubServiceStub (0.36.0)

public class GrpcAnalyticsHubServiceStub extends AnalyticsHubServiceStub

gRPC stub implementation for the AnalyticsHubService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AnalyticsHubServiceStub > GrpcAnalyticsHubServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAnalyticsHubServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcAnalyticsHubServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAnalyticsHubServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAnalyticsHubServiceStub
Exceptions
TypeDescription
IOException

create(AnalyticsHubServiceStubSettings settings)

public static final GrpcAnalyticsHubServiceStub create(AnalyticsHubServiceStubSettings settings)
Parameter
NameDescription
settingsAnalyticsHubServiceStubSettings
Returns
TypeDescription
GrpcAnalyticsHubServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext)

protected GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAnalyticsHubServiceStub, 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
NameDescription
settingsAnalyticsHubServiceStubSettings
clientContextClientContext

GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAnalyticsHubServiceStub, 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
NameDescription
settingsAnalyticsHubServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDataExchangeCallable()

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

createListingCallable()

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

deleteDataExchangeCallable()

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

deleteListingCallable()

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

deleteSubscriptionCallable()

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

deleteSubscriptionOperationCallable()

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

getDataExchangeCallable()

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

getIamPolicyCallable()

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

getListingCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getSubscriptionCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDataExchangesCallable()

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

listDataExchangesPagedCallable()

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

listListingsCallable()

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

listListingsPagedCallable()

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

listOrgDataExchangesCallable()

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

listOrgDataExchangesPagedCallable()

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

listSharedResourceSubscriptionsCallable()

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

listSharedResourceSubscriptionsPagedCallable()

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

listSubscriptionsCallable()

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

listSubscriptionsPagedCallable()

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

refreshSubscriptionCallable()

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

refreshSubscriptionOperationCallable()

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

revokeSubscriptionCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<SubscribeDataExchangeRequest,Operation>
Overrides

subscribeDataExchangeOperationCallable()

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

subscribeListingCallable()

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

testIamPermissionsCallable()

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

updateDataExchangeCallable()

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

updateListingCallable()

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