Class AnalyticsHubServiceStubSettings.Builder (2.27.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>

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>

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>

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>