Class AnalyticsAdminServiceStubSettings.Builder (0.19.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
NameDescription
settingsAnalyticsAdminServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Methods

acknowledgeUserDataCollectionSettings()

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

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

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

archiveCustomDimensionSettings()

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

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

Returns
TypeDescription
Builder<ArchiveCustomDimensionRequest,Empty>

archiveCustomMetricSettings()

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

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

Returns
TypeDescription
Builder<ArchiveCustomMetricRequest,Empty>

build()

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

createConversionEventSettings()

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

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

Returns
TypeDescription
Builder<CreateConversionEventRequest,ConversionEvent>

createCustomDimensionSettings()

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

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

Returns
TypeDescription
Builder<CreateCustomDimensionRequest,CustomDimension>

createCustomMetricSettings()

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

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

Returns
TypeDescription
Builder<CreateCustomMetricRequest,CustomMetric>

createDataStreamSettings()

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

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

Returns
TypeDescription
Builder<CreateDataStreamRequest,DataStream>

createFirebaseLinkSettings()

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

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

Returns
TypeDescription
Builder<CreateFirebaseLinkRequest,FirebaseLink>

createGoogleAdsLinkSettings()

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

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

Returns
TypeDescription
Builder<CreateGoogleAdsLinkRequest,GoogleAdsLink>

createMeasurementProtocolSecretSettings()

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

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

Returns
TypeDescription
Builder<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

createPropertySettings()

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

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

Returns
TypeDescription
Builder<CreatePropertyRequest,Property>

deleteAccountSettings()

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

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

Returns
TypeDescription
Builder<DeleteAccountRequest,Empty>

deleteConversionEventSettings()

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

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

Returns
TypeDescription
Builder<DeleteConversionEventRequest,Empty>

deleteDataStreamSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataStreamRequest,Empty>

deleteFirebaseLinkSettings()

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

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

Returns
TypeDescription
Builder<DeleteFirebaseLinkRequest,Empty>

deleteGoogleAdsLinkSettings()

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

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

Returns
TypeDescription
Builder<DeleteGoogleAdsLinkRequest,Empty>

deleteMeasurementProtocolSecretSettings()

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

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

Returns
TypeDescription
Builder<DeleteMeasurementProtocolSecretRequest,Empty>

deletePropertySettings()

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

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

Returns
TypeDescription
Builder<DeletePropertyRequest,Property>

getAccountSettings()

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

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

Returns
TypeDescription
Builder<GetAccountRequest,Account>

getConversionEventSettings()

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

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

Returns
TypeDescription
Builder<GetConversionEventRequest,ConversionEvent>

getCustomDimensionSettings()

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

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

Returns
TypeDescription
Builder<GetCustomDimensionRequest,CustomDimension>

getCustomMetricSettings()

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

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

Returns
TypeDescription
Builder<GetCustomMetricRequest,CustomMetric>

getDataRetentionSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetDataRetentionSettingsRequest,DataRetentionSettings>

getDataSharingSettingsSettings()

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

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

Returns
TypeDescription
Builder<GetDataSharingSettingsRequest,DataSharingSettings>

getDataStreamSettings()

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

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

Returns
TypeDescription
Builder<GetDataStreamRequest,DataStream>

getMeasurementProtocolSecretSettings()

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

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

Returns
TypeDescription
Builder<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

getPropertySettings()

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

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

Returns
TypeDescription
Builder<GetPropertyRequest,Property>

listAccountSummariesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListAccountsRequest,ListAccountsResponse,ListAccountsPagedResponse>

listConversionEventsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,ListGoogleAdsLinksPagedResponse>

listMeasurementProtocolSecretsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListPropertiesRequest,ListPropertiesResponse,ListPropertiesPagedResponse>

provisionAccountTicketSettings()

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

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

Returns
TypeDescription
Builder<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse>

searchChangeHistoryEventsSettings()

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

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

Returns
TypeDescription
Builder<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,SearchChangeHistoryEventsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateAccountRequest,Account>

updateCustomDimensionSettings()

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

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

Returns
TypeDescription
Builder<UpdateCustomDimensionRequest,CustomDimension>

updateCustomMetricSettings()

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

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

Returns
TypeDescription
Builder<UpdateCustomMetricRequest,CustomMetric>

updateDataRetentionSettingsSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataRetentionSettingsRequest,DataRetentionSettings>

updateDataStreamSettings()

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

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

Returns
TypeDescription
Builder<UpdateDataStreamRequest,DataStream>

updateGoogleAdsLinkSettings()

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

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

Returns
TypeDescription
Builder<UpdateGoogleAdsLinkRequest,GoogleAdsLink>

updateMeasurementProtocolSecretSettings()

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

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

Returns
TypeDescription
Builder<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret>

updatePropertySettings()

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

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

Returns
TypeDescription
Builder<UpdatePropertyRequest,Property>