Class AnalyticsHubServiceStubSettings.Builder (2.47.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
Name Description
clientContext ClientContext

Builder(AnalyticsHubServiceStubSettings settings)

protected Builder(AnalyticsHubServiceStubSettings settings)
Parameter
Name Description
settings AnalyticsHubServiceStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AnalyticsHubServiceStubSettings.Builder

build()

public AnalyticsHubServiceStubSettings build()
Returns
Type Description
AnalyticsHubServiceStubSettings
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>

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>

getLocationSettings()

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

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

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

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>

listLocationsSettings()

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

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

Returns
Type Description
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
Type Description
Builder<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse,ListOrgDataExchangesPagedResponse>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
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>