Class AnalyticsAdminServiceStubSettings.Builder (0.57.0)

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

Builder for AnalyticsAdminServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AnalyticsAdminServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(AnalyticsAdminServiceStubSettings settings)

protected Builder(AnalyticsAdminServiceStubSettings settings)
Parameter
Name Description
settings AnalyticsAdminServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

acknowledgeUserDataCollectionSettings()

public UnaryCallSettings.Builder<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse> acknowledgeUserDataCollectionSettings()

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

Returns
Type Description
Builder<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse>

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

public AnalyticsAdminServiceStubSettings.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
AnalyticsAdminServiceStubSettings.Builder

archiveCustomDimensionSettings()

public UnaryCallSettings.Builder<ArchiveCustomDimensionRequest,Empty> archiveCustomDimensionSettings()

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

Returns
Type Description
Builder<ArchiveCustomDimensionRequest,Empty>

archiveCustomMetricSettings()

public UnaryCallSettings.Builder<ArchiveCustomMetricRequest,Empty> archiveCustomMetricSettings()

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

Returns
Type Description
Builder<ArchiveCustomMetricRequest,Empty>

build()

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

createConversionEventSettings() (deprecated)

public UnaryCallSettings.Builder<CreateConversionEventRequest,ConversionEvent> createConversionEventSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<CreateConversionEventRequest,ConversionEvent>

createCustomDimensionSettings()

public UnaryCallSettings.Builder<CreateCustomDimensionRequest,CustomDimension> createCustomDimensionSettings()

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

Returns
Type Description
Builder<CreateCustomDimensionRequest,CustomDimension>

createCustomMetricSettings()

public UnaryCallSettings.Builder<CreateCustomMetricRequest,CustomMetric> createCustomMetricSettings()

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

Returns
Type Description
Builder<CreateCustomMetricRequest,CustomMetric>

createDataStreamSettings()

public UnaryCallSettings.Builder<CreateDataStreamRequest,DataStream> createDataStreamSettings()

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

Returns
Type Description
Builder<CreateDataStreamRequest,DataStream>

createFirebaseLinkSettings()

public UnaryCallSettings.Builder<CreateFirebaseLinkRequest,FirebaseLink> createFirebaseLinkSettings()

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

Returns
Type Description
Builder<CreateFirebaseLinkRequest,FirebaseLink>

createGoogleAdsLinkSettings()

public UnaryCallSettings.Builder<CreateGoogleAdsLinkRequest,GoogleAdsLink> createGoogleAdsLinkSettings()

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

Returns
Type Description
Builder<CreateGoogleAdsLinkRequest,GoogleAdsLink>

createKeyEventSettings()

public UnaryCallSettings.Builder<CreateKeyEventRequest,KeyEvent> createKeyEventSettings()

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

Returns
Type Description
Builder<CreateKeyEventRequest,KeyEvent>

createMeasurementProtocolSecretSettings()

public UnaryCallSettings.Builder<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> createMeasurementProtocolSecretSettings()

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

Returns
Type Description
Builder<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

createPropertySettings()

public UnaryCallSettings.Builder<CreatePropertyRequest,Property> createPropertySettings()

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

Returns
Type Description
Builder<CreatePropertyRequest,Property>

deleteAccountSettings()

public UnaryCallSettings.Builder<DeleteAccountRequest,Empty> deleteAccountSettings()

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

Returns
Type Description
Builder<DeleteAccountRequest,Empty>

deleteConversionEventSettings() (deprecated)

public UnaryCallSettings.Builder<DeleteConversionEventRequest,Empty> deleteConversionEventSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<DeleteConversionEventRequest,Empty>

deleteDataStreamSettings()

public UnaryCallSettings.Builder<DeleteDataStreamRequest,Empty> deleteDataStreamSettings()

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

Returns
Type Description
Builder<DeleteDataStreamRequest,Empty>

deleteFirebaseLinkSettings()

public UnaryCallSettings.Builder<DeleteFirebaseLinkRequest,Empty> deleteFirebaseLinkSettings()

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

Returns
Type Description
Builder<DeleteFirebaseLinkRequest,Empty>

deleteGoogleAdsLinkSettings()

public UnaryCallSettings.Builder<DeleteGoogleAdsLinkRequest,Empty> deleteGoogleAdsLinkSettings()

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

Returns
Type Description
Builder<DeleteGoogleAdsLinkRequest,Empty>

deleteKeyEventSettings()

public UnaryCallSettings.Builder<DeleteKeyEventRequest,Empty> deleteKeyEventSettings()

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

Returns
Type Description
Builder<DeleteKeyEventRequest,Empty>

deleteMeasurementProtocolSecretSettings()

public UnaryCallSettings.Builder<DeleteMeasurementProtocolSecretRequest,Empty> deleteMeasurementProtocolSecretSettings()

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

Returns
Type Description
Builder<DeleteMeasurementProtocolSecretRequest,Empty>

deletePropertySettings()

public UnaryCallSettings.Builder<DeletePropertyRequest,Property> deletePropertySettings()

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

Returns
Type Description
Builder<DeletePropertyRequest,Property>

getAccountSettings()

public UnaryCallSettings.Builder<GetAccountRequest,Account> getAccountSettings()

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

Returns
Type Description
Builder<GetAccountRequest,Account>

getConversionEventSettings() (deprecated)

public UnaryCallSettings.Builder<GetConversionEventRequest,ConversionEvent> getConversionEventSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<GetConversionEventRequest,ConversionEvent>

getCustomDimensionSettings()

public UnaryCallSettings.Builder<GetCustomDimensionRequest,CustomDimension> getCustomDimensionSettings()

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

Returns
Type Description
Builder<GetCustomDimensionRequest,CustomDimension>

getCustomMetricSettings()

public UnaryCallSettings.Builder<GetCustomMetricRequest,CustomMetric> getCustomMetricSettings()

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

Returns
Type Description
Builder<GetCustomMetricRequest,CustomMetric>

getDataRetentionSettingsSettings()

public UnaryCallSettings.Builder<GetDataRetentionSettingsRequest,DataRetentionSettings> getDataRetentionSettingsSettings()

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

Returns
Type Description
Builder<GetDataRetentionSettingsRequest,DataRetentionSettings>

getDataSharingSettingsSettings()

public UnaryCallSettings.Builder<GetDataSharingSettingsRequest,DataSharingSettings> getDataSharingSettingsSettings()

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

Returns
Type Description
Builder<GetDataSharingSettingsRequest,DataSharingSettings>

getDataStreamSettings()

public UnaryCallSettings.Builder<GetDataStreamRequest,DataStream> getDataStreamSettings()

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

Returns
Type Description
Builder<GetDataStreamRequest,DataStream>

getKeyEventSettings()

public UnaryCallSettings.Builder<GetKeyEventRequest,KeyEvent> getKeyEventSettings()

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

Returns
Type Description
Builder<GetKeyEventRequest,KeyEvent>

getMeasurementProtocolSecretSettings()

public UnaryCallSettings.Builder<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret> getMeasurementProtocolSecretSettings()

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

Returns
Type Description
Builder<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

getPropertySettings()

public UnaryCallSettings.Builder<GetPropertyRequest,Property> getPropertySettings()

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

Returns
Type Description
Builder<GetPropertyRequest,Property>

listAccountSummariesSettings()

public PagedCallSettings.Builder<ListAccountSummariesRequest,ListAccountSummariesResponse,AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse> listAccountSummariesSettings()

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

Returns
Type Description
Builder<ListAccountSummariesRequest,ListAccountSummariesResponse,ListAccountSummariesPagedResponse>

listAccountsSettings()

public PagedCallSettings.Builder<ListAccountsRequest,ListAccountsResponse,AnalyticsAdminServiceClient.ListAccountsPagedResponse> listAccountsSettings()

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

Returns
Type Description
Builder<ListAccountsRequest,ListAccountsResponse,ListAccountsPagedResponse>

listConversionEventsSettings() (deprecated)

public PagedCallSettings.Builder<ListConversionEventsRequest,ListConversionEventsResponse,AnalyticsAdminServiceClient.ListConversionEventsPagedResponse> listConversionEventsSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<ListConversionEventsRequest,ListConversionEventsResponse,ListConversionEventsPagedResponse>

listCustomDimensionsSettings()

public PagedCallSettings.Builder<ListCustomDimensionsRequest,ListCustomDimensionsResponse,AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse> listCustomDimensionsSettings()

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

Returns
Type Description
Builder<ListCustomDimensionsRequest,ListCustomDimensionsResponse,ListCustomDimensionsPagedResponse>

listCustomMetricsSettings()

public PagedCallSettings.Builder<ListCustomMetricsRequest,ListCustomMetricsResponse,AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse> listCustomMetricsSettings()

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

Returns
Type Description
Builder<ListCustomMetricsRequest,ListCustomMetricsResponse,ListCustomMetricsPagedResponse>

listDataStreamsSettings()

public PagedCallSettings.Builder<ListDataStreamsRequest,ListDataStreamsResponse,AnalyticsAdminServiceClient.ListDataStreamsPagedResponse> listDataStreamsSettings()

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

Returns
Type Description
Builder<ListDataStreamsRequest,ListDataStreamsResponse,ListDataStreamsPagedResponse>

listFirebaseLinksSettings()

public PagedCallSettings.Builder<ListFirebaseLinksRequest,ListFirebaseLinksResponse,AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse> listFirebaseLinksSettings()

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

Returns
Type Description
Builder<ListFirebaseLinksRequest,ListFirebaseLinksResponse,ListFirebaseLinksPagedResponse>

listGoogleAdsLinksSettings()

public PagedCallSettings.Builder<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse> listGoogleAdsLinksSettings()

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

Returns
Type Description
Builder<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,ListGoogleAdsLinksPagedResponse>

listKeyEventsSettings()

public PagedCallSettings.Builder<ListKeyEventsRequest,ListKeyEventsResponse,AnalyticsAdminServiceClient.ListKeyEventsPagedResponse> listKeyEventsSettings()

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

Returns
Type Description
Builder<ListKeyEventsRequest,ListKeyEventsResponse,ListKeyEventsPagedResponse>

listMeasurementProtocolSecretsSettings()

public PagedCallSettings.Builder<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings()

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

Returns
Type Description
Builder<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,ListMeasurementProtocolSecretsPagedResponse>

listPropertiesSettings()

public PagedCallSettings.Builder<ListPropertiesRequest,ListPropertiesResponse,AnalyticsAdminServiceClient.ListPropertiesPagedResponse> listPropertiesSettings()

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

Returns
Type Description
Builder<ListPropertiesRequest,ListPropertiesResponse,ListPropertiesPagedResponse>

provisionAccountTicketSettings()

public UnaryCallSettings.Builder<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse> provisionAccountTicketSettings()

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

Returns
Type Description
Builder<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>

runAccessReportSettings()

public UnaryCallSettings.Builder<RunAccessReportRequest,RunAccessReportResponse> runAccessReportSettings()

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

Returns
Type Description
Builder<RunAccessReportRequest,RunAccessReportResponse>

searchChangeHistoryEventsSettings()

public PagedCallSettings.Builder<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings()

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

Returns
Type Description
Builder<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,SearchChangeHistoryEventsPagedResponse>

unaryMethodSettingsBuilders()

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

updateAccountSettings()

public UnaryCallSettings.Builder<UpdateAccountRequest,Account> updateAccountSettings()

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

Returns
Type Description
Builder<UpdateAccountRequest,Account>

updateConversionEventSettings() (deprecated)

public UnaryCallSettings.Builder<UpdateConversionEventRequest,ConversionEvent> updateConversionEventSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
Type Description
Builder<UpdateConversionEventRequest,ConversionEvent>

updateCustomDimensionSettings()

public UnaryCallSettings.Builder<UpdateCustomDimensionRequest,CustomDimension> updateCustomDimensionSettings()

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

Returns
Type Description
Builder<UpdateCustomDimensionRequest,CustomDimension>

updateCustomMetricSettings()

public UnaryCallSettings.Builder<UpdateCustomMetricRequest,CustomMetric> updateCustomMetricSettings()

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

Returns
Type Description
Builder<UpdateCustomMetricRequest,CustomMetric>

updateDataRetentionSettingsSettings()

public UnaryCallSettings.Builder<UpdateDataRetentionSettingsRequest,DataRetentionSettings> updateDataRetentionSettingsSettings()

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

Returns
Type Description
Builder<UpdateDataRetentionSettingsRequest,DataRetentionSettings>

updateDataStreamSettings()

public UnaryCallSettings.Builder<UpdateDataStreamRequest,DataStream> updateDataStreamSettings()

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

Returns
Type Description
Builder<UpdateDataStreamRequest,DataStream>

updateGoogleAdsLinkSettings()

public UnaryCallSettings.Builder<UpdateGoogleAdsLinkRequest,GoogleAdsLink> updateGoogleAdsLinkSettings()

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

Returns
Type Description
Builder<UpdateGoogleAdsLinkRequest,GoogleAdsLink>

updateKeyEventSettings()

public UnaryCallSettings.Builder<UpdateKeyEventRequest,KeyEvent> updateKeyEventSettings()

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

Returns
Type Description
Builder<UpdateKeyEventRequest,KeyEvent>

updateMeasurementProtocolSecretSettings()

public UnaryCallSettings.Builder<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> updateMeasurementProtocolSecretSettings()

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

Returns
Type Description
Builder<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

updatePropertySettings()

public UnaryCallSettings.Builder<UpdatePropertyRequest,Property> updatePropertySettings()

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

Returns
Type Description
Builder<UpdatePropertyRequest,Property>