Class AnalyticsHubServiceStubSettings.Builder (0.25.0)

public static class AnalyticsHubServiceStubSettings.Builder extends StubSettings.Builder<AnalyticsHubServiceStubSettings,AnalyticsHubServiceStubSettings.Builder>

Builder for AnalyticsHubServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AnalyticsHubServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AnalyticsHubServiceStubSettings settings)

protected Builder(AnalyticsHubServiceStubSettings settings)
Parameter
NameDescription
settingsAnalyticsHubServiceStubSettings

Methods

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

public AnalyticsHubServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AnalyticsHubServiceStubSettings.Builder

build()

public AnalyticsHubServiceStubSettings build()
Returns
TypeDescription
AnalyticsHubServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

createDataExchangeSettings()

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

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

Returns
TypeDescription
Builder<CreateDataExchangeRequest,DataExchange>

createListingSettings()

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

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

Returns
TypeDescription
Builder<CreateListingRequest,Listing>

deleteDataExchangeSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataExchangeRequest,Empty>

deleteListingSettings()

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

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

Returns
TypeDescription
Builder<DeleteListingRequest,Empty>

deleteSubscriptionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteSubscriptionRequest,Empty,OperationMetadata>

deleteSubscriptionSettings()

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

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

Returns
TypeDescription
Builder<DeleteSubscriptionRequest,Operation>

getDataExchangeSettings()

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

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

Returns
TypeDescription
Builder<GetDataExchangeRequest,DataExchange>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetListingRequest,Listing>

getSubscriptionSettings()

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

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

Returns
TypeDescription
Builder<GetSubscriptionRequest,Subscription>

listDataExchangesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,ListSubscriptionsPagedResponse>

refreshSubscriptionOperationSettings()

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

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

Returns
TypeDescription
Builder<RefreshSubscriptionRequest,RefreshSubscriptionResponse,OperationMetadata>

refreshSubscriptionSettings()

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

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

Returns
TypeDescription
Builder<RefreshSubscriptionRequest,Operation>

revokeSubscriptionSettings()

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

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

Returns
TypeDescription
Builder<RevokeSubscriptionRequest,RevokeSubscriptionResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<SubscribeDataExchangeRequest,SubscribeDataExchangeResponse,OperationMetadata>

subscribeDataExchangeSettings()

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

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

Returns
TypeDescription
Builder<SubscribeDataExchangeRequest,Operation>

subscribeListingSettings()

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

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

Returns
TypeDescription
Builder<SubscribeListingRequest,SubscribeListingResponse>

testIamPermissionsSettings()

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

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

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

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateDataExchangeSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataExchangeRequest,DataExchange>

updateListingSettings()

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

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

Returns
TypeDescription
Builder<UpdateListingRequest,Listing>