Class AnalyticsHubServiceSettings.Builder (0.51.0)

public static class AnalyticsHubServiceSettings.Builder extends ClientSettings.Builder<AnalyticsHubServiceSettings,AnalyticsHubServiceSettings.Builder>

Builder for AnalyticsHubServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AnalyticsHubServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AnalyticsHubServiceSettings settings)

protected Builder(AnalyticsHubServiceSettings settings)
Parameter
Name Description
settings AnalyticsHubServiceSettings

Builder(AnalyticsHubServiceStubSettings.Builder stubSettings)

protected Builder(AnalyticsHubServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AnalyticsHubServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AnalyticsHubServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AnalyticsHubServiceSettings.Builder

build()

public AnalyticsHubServiceSettings build()
Returns
Type Description
AnalyticsHubServiceSettings
Overrides
Exceptions
Type Description
IOException

createDataExchangeSettings()

public UnaryCallSettings.Builder<CreateDataExchangeRequest,DataExchange> createDataExchangeSettings()

Returns the builder for the settings used for calls to createDataExchange.

Returns
Type Description
Builder<CreateDataExchangeRequest,DataExchange>

createListingSettings()

public UnaryCallSettings.Builder<CreateListingRequest,Listing> createListingSettings()

Returns the builder for the settings used for calls to createListing.

Returns
Type Description
Builder<CreateListingRequest,Listing>

deleteDataExchangeSettings()

public UnaryCallSettings.Builder<DeleteDataExchangeRequest,Empty> deleteDataExchangeSettings()

Returns the builder for the settings used for calls to deleteDataExchange.

Returns
Type Description
Builder<DeleteDataExchangeRequest,Empty>

deleteListingSettings()

public UnaryCallSettings.Builder<DeleteListingRequest,Empty> deleteListingSettings()

Returns the builder for the settings used for calls to deleteListing.

Returns
Type Description
Builder<DeleteListingRequest,Empty>

deleteSubscriptionOperationSettings()

public OperationCallSettings.Builder<DeleteSubscriptionRequest,Empty,OperationMetadata> deleteSubscriptionOperationSettings()

Returns the builder for the settings used for calls to deleteSubscription.

Returns
Type Description
Builder<DeleteSubscriptionRequest,Empty,OperationMetadata>

deleteSubscriptionSettings()

public UnaryCallSettings.Builder<DeleteSubscriptionRequest,Operation> deleteSubscriptionSettings()

Returns the builder for the settings used for calls to deleteSubscription.

Returns
Type Description
Builder<DeleteSubscriptionRequest,Operation>

getDataExchangeSettings()

public UnaryCallSettings.Builder<GetDataExchangeRequest,DataExchange> getDataExchangeSettings()

Returns the builder for the settings used for calls to getDataExchange.

Returns
Type Description
Builder<GetDataExchangeRequest,DataExchange>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getListingSettings()

public UnaryCallSettings.Builder<GetListingRequest,Listing> getListingSettings()

Returns the builder for the settings used for calls to getListing.

Returns
Type Description
Builder<GetListingRequest,Listing>

getStubSettingsBuilder()

public AnalyticsHubServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AnalyticsHubServiceStubSettings.Builder

getSubscriptionSettings()

public UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()

Returns the builder for the settings used for calls to getSubscription.

Returns
Type Description
Builder<GetSubscriptionRequest,Subscription>

listDataExchangesSettings()

public PagedCallSettings.Builder<ListDataExchangesRequest,ListDataExchangesResponse,AnalyticsHubServiceClient.ListDataExchangesPagedResponse> listDataExchangesSettings()

Returns the builder for the settings used for calls to listDataExchanges.

Returns
Type Description
Builder<ListDataExchangesRequest,ListDataExchangesResponse,ListDataExchangesPagedResponse>

listListingsSettings()

public PagedCallSettings.Builder<ListListingsRequest,ListListingsResponse,AnalyticsHubServiceClient.ListListingsPagedResponse> listListingsSettings()

Returns the builder for the settings used for calls to listListings.

Returns
Type Description
Builder<ListListingsRequest,ListListingsResponse,ListListingsPagedResponse>

listOrgDataExchangesSettings()

public PagedCallSettings.Builder<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> listOrgDataExchangesSettings()

Returns the builder for the settings used for calls to listOrgDataExchanges.

Returns
Type Description
Builder<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse,ListOrgDataExchangesPagedResponse>

listSharedResourceSubscriptionsSettings()

public PagedCallSettings.Builder<ListSharedResourceSubscriptionsRequest,ListSharedResourceSubscriptionsResponse,AnalyticsHubServiceClient.ListSharedResourceSubscriptionsPagedResponse> listSharedResourceSubscriptionsSettings()

Returns the builder for the settings used for calls to listSharedResourceSubscriptions.

Returns
Type Description
Builder<ListSharedResourceSubscriptionsRequest,ListSharedResourceSubscriptionsResponse,ListSharedResourceSubscriptionsPagedResponse>

listSubscriptionsSettings()

public PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,AnalyticsHubServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()

Returns the builder for the settings used for calls to listSubscriptions.

Returns
Type Description
Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,ListSubscriptionsPagedResponse>

refreshSubscriptionOperationSettings()

public OperationCallSettings.Builder<RefreshSubscriptionRequest,RefreshSubscriptionResponse,OperationMetadata> refreshSubscriptionOperationSettings()

Returns the builder for the settings used for calls to refreshSubscription.

Returns
Type Description
Builder<RefreshSubscriptionRequest,RefreshSubscriptionResponse,OperationMetadata>

refreshSubscriptionSettings()

public UnaryCallSettings.Builder<RefreshSubscriptionRequest,Operation> refreshSubscriptionSettings()

Returns the builder for the settings used for calls to refreshSubscription.

Returns
Type Description
Builder<RefreshSubscriptionRequest,Operation>

revokeSubscriptionSettings()

public UnaryCallSettings.Builder<RevokeSubscriptionRequest,RevokeSubscriptionResponse> revokeSubscriptionSettings()

Returns the builder for the settings used for calls to revokeSubscription.

Returns
Type Description
Builder<RevokeSubscriptionRequest,RevokeSubscriptionResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

subscribeDataExchangeOperationSettings()

public OperationCallSettings.Builder<SubscribeDataExchangeRequest,SubscribeDataExchangeResponse,OperationMetadata> subscribeDataExchangeOperationSettings()

Returns the builder for the settings used for calls to subscribeDataExchange.

Returns
Type Description
Builder<SubscribeDataExchangeRequest,SubscribeDataExchangeResponse,OperationMetadata>

subscribeDataExchangeSettings()

public UnaryCallSettings.Builder<SubscribeDataExchangeRequest,Operation> subscribeDataExchangeSettings()

Returns the builder for the settings used for calls to subscribeDataExchange.

Returns
Type Description
Builder<SubscribeDataExchangeRequest,Operation>

subscribeListingSettings()

public UnaryCallSettings.Builder<SubscribeListingRequest,SubscribeListingResponse> subscribeListingSettings()

Returns the builder for the settings used for calls to subscribeListing.

Returns
Type Description
Builder<SubscribeListingRequest,SubscribeListingResponse>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateDataExchangeSettings()

public UnaryCallSettings.Builder<UpdateDataExchangeRequest,DataExchange> updateDataExchangeSettings()

Returns the builder for the settings used for calls to updateDataExchange.

Returns
Type Description
Builder<UpdateDataExchangeRequest,DataExchange>

updateListingSettings()

public UnaryCallSettings.Builder<UpdateListingRequest,Listing> updateListingSettings()

Returns the builder for the settings used for calls to updateListing.

Returns
Type Description
Builder<UpdateListingRequest,Listing>