Class AnalyticsHubServiceSettings.Builder (2.16.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
NameDescription
clientContextClientContext

Builder(AnalyticsHubServiceSettings settings)

protected Builder(AnalyticsHubServiceSettings settings)
Parameter
NameDescription
settingsAnalyticsHubServiceSettings

Builder(AnalyticsHubServiceStubSettings.Builder stubSettings)

protected Builder(AnalyticsHubServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAnalyticsHubServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AnalyticsHubServiceSettings.Builder

build()

public AnalyticsHubServiceSettings build()
Returns
TypeDescription
AnalyticsHubServiceSettings
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>

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>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public AnalyticsHubServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AnalyticsHubServiceStubSettings.Builder

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>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AnalyticsHubServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

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>

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>

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>

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>