public class AnalyticsAdminServiceStubSettings extends StubSettings<AnalyticsAdminServiceStubSettings>
Settings class to configure an instance of AnalyticsAdminServiceStub.
The default instance has everything set to sensible defaults:
- The default service address (analyticsadmin.googleapis.com) and default port (443) are
used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When
build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getAccount to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AnalyticsAdminServiceStubSettings.Builder analyticsAdminServiceSettingsBuilder =
AnalyticsAdminServiceStubSettings.newBuilder();
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.setRetrySettings(
analyticsAdminServiceSettingsBuilder
.getAccountSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AnalyticsAdminServiceStubSettings analyticsAdminServiceSettings =
analyticsAdminServiceSettingsBuilder.build();
Static Methods
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns
public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Returns
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Returns
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns
newBuilder()
public static AnalyticsAdminServiceStubSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Returns
newBuilder(ClientContext clientContext)
public static AnalyticsAdminServiceStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter
Returns
newHttpJsonBuilder()
public static AnalyticsAdminServiceStubSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns
Constructors
AnalyticsAdminServiceStubSettings(AnalyticsAdminServiceStubSettings.Builder settingsBuilder)
protected AnalyticsAdminServiceStubSettings(AnalyticsAdminServiceStubSettings.Builder settingsBuilder)
Parameter
Methods
acknowledgeUserDataCollectionSettings()
public UnaryCallSettings<AcknowledgeUserDataCollectionRequest,AcknowledgeUserDataCollectionResponse> acknowledgeUserDataCollectionSettings()
Returns the object with the settings used for calls to acknowledgeUserDataCollection.
Returns
approveDisplayVideo360AdvertiserLinkProposalSettings()
public UnaryCallSettings<ApproveDisplayVideo360AdvertiserLinkProposalRequest,ApproveDisplayVideo360AdvertiserLinkProposalResponse> approveDisplayVideo360AdvertiserLinkProposalSettings()
Returns the object with the settings used for calls to
approveDisplayVideo360AdvertiserLinkProposal.
Returns
archiveAudienceSettings()
public UnaryCallSettings<ArchiveAudienceRequest,Empty> archiveAudienceSettings()
Returns the object with the settings used for calls to archiveAudience.
Returns
archiveCustomDimensionSettings()
public UnaryCallSettings<ArchiveCustomDimensionRequest,Empty> archiveCustomDimensionSettings()
Returns the object with the settings used for calls to archiveCustomDimension.
Returns
archiveCustomMetricSettings()
public UnaryCallSettings<ArchiveCustomMetricRequest,Empty> archiveCustomMetricSettings()
Returns the object with the settings used for calls to archiveCustomMetric.
Returns
auditUserLinksSettings()
public PagedCallSettings<AuditUserLinksRequest,AuditUserLinksResponse,AnalyticsAdminServiceClient.AuditUserLinksPagedResponse> auditUserLinksSettings()
Returns the object with the settings used for calls to auditUserLinks.
Returns
batchCreateUserLinksSettings()
public UnaryCallSettings<BatchCreateUserLinksRequest,BatchCreateUserLinksResponse> batchCreateUserLinksSettings()
Returns the object with the settings used for calls to batchCreateUserLinks.
Returns
batchDeleteUserLinksSettings()
public UnaryCallSettings<BatchDeleteUserLinksRequest,Empty> batchDeleteUserLinksSettings()
Returns the object with the settings used for calls to batchDeleteUserLinks.
Returns
batchGetUserLinksSettings()
public UnaryCallSettings<BatchGetUserLinksRequest,BatchGetUserLinksResponse> batchGetUserLinksSettings()
Returns the object with the settings used for calls to batchGetUserLinks.
Returns
batchUpdateUserLinksSettings()
public UnaryCallSettings<BatchUpdateUserLinksRequest,BatchUpdateUserLinksResponse> batchUpdateUserLinksSettings()
Returns the object with the settings used for calls to batchUpdateUserLinks.
Returns
cancelDisplayVideo360AdvertiserLinkProposalSettings()
public UnaryCallSettings<CancelDisplayVideo360AdvertiserLinkProposalRequest,DisplayVideo360AdvertiserLinkProposal> cancelDisplayVideo360AdvertiserLinkProposalSettings()
Returns the object with the settings used for calls to
cancelDisplayVideo360AdvertiserLinkProposal.
Returns
createAudienceSettings()
public UnaryCallSettings<CreateAudienceRequest,Audience> createAudienceSettings()
Returns the object with the settings used for calls to createAudience.
Returns
createConversionEventSettings()
public UnaryCallSettings<CreateConversionEventRequest,ConversionEvent> createConversionEventSettings()
Returns the object with the settings used for calls to createConversionEvent.
Returns
createCustomDimensionSettings()
public UnaryCallSettings<CreateCustomDimensionRequest,CustomDimension> createCustomDimensionSettings()
Returns the object with the settings used for calls to createCustomDimension.
Returns
createCustomMetricSettings()
public UnaryCallSettings<CreateCustomMetricRequest,CustomMetric> createCustomMetricSettings()
Returns the object with the settings used for calls to createCustomMetric.
Returns
createDataStreamSettings()
public UnaryCallSettings<CreateDataStreamRequest,DataStream> createDataStreamSettings()
Returns the object with the settings used for calls to createDataStream.
Returns
createDisplayVideo360AdvertiserLinkProposalSettings()
public UnaryCallSettings<CreateDisplayVideo360AdvertiserLinkProposalRequest,DisplayVideo360AdvertiserLinkProposal> createDisplayVideo360AdvertiserLinkProposalSettings()
Returns the object with the settings used for calls to
createDisplayVideo360AdvertiserLinkProposal.
Returns
createDisplayVideo360AdvertiserLinkSettings()
public UnaryCallSettings<CreateDisplayVideo360AdvertiserLinkRequest,DisplayVideo360AdvertiserLink> createDisplayVideo360AdvertiserLinkSettings()
Returns the object with the settings used for calls to createDisplayVideo360AdvertiserLink.
Returns
createFirebaseLinkSettings()
public UnaryCallSettings<CreateFirebaseLinkRequest,FirebaseLink> createFirebaseLinkSettings()
Returns the object with the settings used for calls to createFirebaseLink.
Returns
createGoogleAdsLinkSettings()
public UnaryCallSettings<CreateGoogleAdsLinkRequest,GoogleAdsLink> createGoogleAdsLinkSettings()
Returns the object with the settings used for calls to createGoogleAdsLink.
Returns
createMeasurementProtocolSecretSettings()
public UnaryCallSettings<CreateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> createMeasurementProtocolSecretSettings()
Returns the object with the settings used for calls to createMeasurementProtocolSecret.
Returns
createPropertySettings()
public UnaryCallSettings<CreatePropertyRequest,Property> createPropertySettings()
Returns the object with the settings used for calls to createProperty.
Returns
createStub()
public AnalyticsAdminServiceStub createStub()
Returns
Exceptions
createUserLinkSettings()
public UnaryCallSettings<CreateUserLinkRequest,UserLink> createUserLinkSettings()
Returns the object with the settings used for calls to createUserLink.
Returns
deleteAccountSettings()
public UnaryCallSettings<DeleteAccountRequest,Empty> deleteAccountSettings()
Returns the object with the settings used for calls to deleteAccount.
Returns
deleteConversionEventSettings()
public UnaryCallSettings<DeleteConversionEventRequest,Empty> deleteConversionEventSettings()
Returns the object with the settings used for calls to deleteConversionEvent.
Returns
deleteDataStreamSettings()
public UnaryCallSettings<DeleteDataStreamRequest,Empty> deleteDataStreamSettings()
Returns the object with the settings used for calls to deleteDataStream.
Returns
deleteDisplayVideo360AdvertiserLinkProposalSettings()
public UnaryCallSettings<DeleteDisplayVideo360AdvertiserLinkProposalRequest,Empty> deleteDisplayVideo360AdvertiserLinkProposalSettings()
Returns the object with the settings used for calls to
deleteDisplayVideo360AdvertiserLinkProposal.
Returns
deleteDisplayVideo360AdvertiserLinkSettings()
public UnaryCallSettings<DeleteDisplayVideo360AdvertiserLinkRequest,Empty> deleteDisplayVideo360AdvertiserLinkSettings()
Returns the object with the settings used for calls to deleteDisplayVideo360AdvertiserLink.
Returns
deleteFirebaseLinkSettings()
public UnaryCallSettings<DeleteFirebaseLinkRequest,Empty> deleteFirebaseLinkSettings()
Returns the object with the settings used for calls to deleteFirebaseLink.
Returns
deleteGoogleAdsLinkSettings()
public UnaryCallSettings<DeleteGoogleAdsLinkRequest,Empty> deleteGoogleAdsLinkSettings()
Returns the object with the settings used for calls to deleteGoogleAdsLink.
Returns
deleteMeasurementProtocolSecretSettings()
public UnaryCallSettings<DeleteMeasurementProtocolSecretRequest,Empty> deleteMeasurementProtocolSecretSettings()
Returns the object with the settings used for calls to deleteMeasurementProtocolSecret.
Returns
deletePropertySettings()
public UnaryCallSettings<DeletePropertyRequest,Property> deletePropertySettings()
Returns the object with the settings used for calls to deleteProperty.
Returns
deleteUserLinkSettings()
public UnaryCallSettings<DeleteUserLinkRequest,Empty> deleteUserLinkSettings()
Returns the object with the settings used for calls to deleteUserLink.
Returns
getAccountSettings()
public UnaryCallSettings<GetAccountRequest,Account> getAccountSettings()
Returns the object with the settings used for calls to getAccount.
Returns
getAttributionSettingsSettings()
public UnaryCallSettings<GetAttributionSettingsRequest,AttributionSettings> getAttributionSettingsSettings()
Returns the object with the settings used for calls to getAttributionSettings.
Returns
getAudienceSettings()
public UnaryCallSettings<GetAudienceRequest,Audience> getAudienceSettings()
Returns the object with the settings used for calls to getAudience.
Returns
getConversionEventSettings()
public UnaryCallSettings<GetConversionEventRequest,ConversionEvent> getConversionEventSettings()
Returns the object with the settings used for calls to getConversionEvent.
Returns
getCustomDimensionSettings()
public UnaryCallSettings<GetCustomDimensionRequest,CustomDimension> getCustomDimensionSettings()
Returns the object with the settings used for calls to getCustomDimension.
Returns
getCustomMetricSettings()
public UnaryCallSettings<GetCustomMetricRequest,CustomMetric> getCustomMetricSettings()
Returns the object with the settings used for calls to getCustomMetric.
Returns
getDataRetentionSettingsSettings()
public UnaryCallSettings<GetDataRetentionSettingsRequest,DataRetentionSettings> getDataRetentionSettingsSettings()
Returns the object with the settings used for calls to getDataRetentionSettings.
Returns
getDataSharingSettingsSettings()
public UnaryCallSettings<GetDataSharingSettingsRequest,DataSharingSettings> getDataSharingSettingsSettings()
Returns the object with the settings used for calls to getDataSharingSettings.
Returns
getDataStreamSettings()
public UnaryCallSettings<GetDataStreamRequest,DataStream> getDataStreamSettings()
Returns the object with the settings used for calls to getDataStream.
Returns
getDisplayVideo360AdvertiserLinkProposalSettings()
public UnaryCallSettings<GetDisplayVideo360AdvertiserLinkProposalRequest,DisplayVideo360AdvertiserLinkProposal> getDisplayVideo360AdvertiserLinkProposalSettings()
Returns the object with the settings used for calls to
getDisplayVideo360AdvertiserLinkProposal.
Returns
getDisplayVideo360AdvertiserLinkSettings()
public UnaryCallSettings<GetDisplayVideo360AdvertiserLinkRequest,DisplayVideo360AdvertiserLink> getDisplayVideo360AdvertiserLinkSettings()
Returns the object with the settings used for calls to getDisplayVideo360AdvertiserLink.
Returns
public UnaryCallSettings<GetGlobalSiteTagRequest,GlobalSiteTag> getGlobalSiteTagSettings()
Returns the object with the settings used for calls to getGlobalSiteTag.
Returns
getGoogleSignalsSettingsSettings()
public UnaryCallSettings<GetGoogleSignalsSettingsRequest,GoogleSignalsSettings> getGoogleSignalsSettingsSettings()
Returns the object with the settings used for calls to getGoogleSignalsSettings.
Returns
getMeasurementProtocolSecretSettings()
public UnaryCallSettings<GetMeasurementProtocolSecretRequest,MeasurementProtocolSecret> getMeasurementProtocolSecretSettings()
Returns the object with the settings used for calls to getMeasurementProtocolSecret.
Returns
getPropertySettings()
public UnaryCallSettings<GetPropertyRequest,Property> getPropertySettings()
Returns the object with the settings used for calls to getProperty.
Returns
getUserLinkSettings()
public UnaryCallSettings<GetUserLinkRequest,UserLink> getUserLinkSettings()
Returns the object with the settings used for calls to getUserLink.
Returns
listAccountSummariesSettings()
public PagedCallSettings<ListAccountSummariesRequest,ListAccountSummariesResponse,AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse> listAccountSummariesSettings()
Returns the object with the settings used for calls to listAccountSummaries.
Returns
listAccountsSettings()
public PagedCallSettings<ListAccountsRequest,ListAccountsResponse,AnalyticsAdminServiceClient.ListAccountsPagedResponse> listAccountsSettings()
Returns the object with the settings used for calls to listAccounts.
Returns
listAudiencesSettings()
public PagedCallSettings<ListAudiencesRequest,ListAudiencesResponse,AnalyticsAdminServiceClient.ListAudiencesPagedResponse> listAudiencesSettings()
Returns the object with the settings used for calls to listAudiences.
Returns
listConversionEventsSettings()
public PagedCallSettings<ListConversionEventsRequest,ListConversionEventsResponse,AnalyticsAdminServiceClient.ListConversionEventsPagedResponse> listConversionEventsSettings()
Returns the object with the settings used for calls to listConversionEvents.
Returns
listCustomDimensionsSettings()
public PagedCallSettings<ListCustomDimensionsRequest,ListCustomDimensionsResponse,AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse> listCustomDimensionsSettings()
Returns the object with the settings used for calls to listCustomDimensions.
Returns
listCustomMetricsSettings()
public PagedCallSettings<ListCustomMetricsRequest,ListCustomMetricsResponse,AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse> listCustomMetricsSettings()
Returns the object with the settings used for calls to listCustomMetrics.
Returns
listDataStreamsSettings()
public PagedCallSettings<ListDataStreamsRequest,ListDataStreamsResponse,AnalyticsAdminServiceClient.ListDataStreamsPagedResponse> listDataStreamsSettings()
Returns the object with the settings used for calls to listDataStreams.
Returns
listDisplayVideo360AdvertiserLinkProposalsSettings()
public PagedCallSettings<ListDisplayVideo360AdvertiserLinkProposalsRequest,ListDisplayVideo360AdvertiserLinkProposalsResponse,AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinkProposalsPagedResponse> listDisplayVideo360AdvertiserLinkProposalsSettings()
Returns the object with the settings used for calls to
listDisplayVideo360AdvertiserLinkProposals.
Returns
listDisplayVideo360AdvertiserLinksSettings()
public PagedCallSettings<ListDisplayVideo360AdvertiserLinksRequest,ListDisplayVideo360AdvertiserLinksResponse,AnalyticsAdminServiceClient.ListDisplayVideo360AdvertiserLinksPagedResponse> listDisplayVideo360AdvertiserLinksSettings()
Returns the object with the settings used for calls to listDisplayVideo360AdvertiserLinks.
Returns
listFirebaseLinksSettings()
public PagedCallSettings<ListFirebaseLinksRequest,ListFirebaseLinksResponse,AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse> listFirebaseLinksSettings()
Returns the object with the settings used for calls to listFirebaseLinks.
Returns
listGoogleAdsLinksSettings()
public PagedCallSettings<ListGoogleAdsLinksRequest,ListGoogleAdsLinksResponse,AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse> listGoogleAdsLinksSettings()
Returns the object with the settings used for calls to listGoogleAdsLinks.
Returns
listMeasurementProtocolSecretsSettings()
public PagedCallSettings<ListMeasurementProtocolSecretsRequest,ListMeasurementProtocolSecretsResponse,AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse> listMeasurementProtocolSecretsSettings()
Returns the object with the settings used for calls to listMeasurementProtocolSecrets.
Returns
listPropertiesSettings()
public PagedCallSettings<ListPropertiesRequest,ListPropertiesResponse,AnalyticsAdminServiceClient.ListPropertiesPagedResponse> listPropertiesSettings()
Returns the object with the settings used for calls to listProperties.
Returns
listUserLinksSettings()
public PagedCallSettings<ListUserLinksRequest,ListUserLinksResponse,AnalyticsAdminServiceClient.ListUserLinksPagedResponse> listUserLinksSettings()
Returns the object with the settings used for calls to listUserLinks.
Returns
provisionAccountTicketSettings()
public UnaryCallSettings<ProvisionAccountTicketRequest,ProvisionAccountTicketResponse> provisionAccountTicketSettings()
Returns the object with the settings used for calls to provisionAccountTicket.
Returns
runAccessReportSettings()
public UnaryCallSettings<RunAccessReportRequest,RunAccessReportResponse> runAccessReportSettings()
Returns the object with the settings used for calls to runAccessReport.
Returns
searchChangeHistoryEventsSettings()
public PagedCallSettings<SearchChangeHistoryEventsRequest,SearchChangeHistoryEventsResponse,AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse> searchChangeHistoryEventsSettings()
Returns the object with the settings used for calls to searchChangeHistoryEvents.
Returns
toBuilder()
public AnalyticsAdminServiceStubSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns
Overrides
updateAccountSettings()
public UnaryCallSettings<UpdateAccountRequest,Account> updateAccountSettings()
Returns the object with the settings used for calls to updateAccount.
Returns
updateAttributionSettingsSettings()
public UnaryCallSettings<UpdateAttributionSettingsRequest,AttributionSettings> updateAttributionSettingsSettings()
Returns the object with the settings used for calls to updateAttributionSettings.
Returns
updateAudienceSettings()
public UnaryCallSettings<UpdateAudienceRequest,Audience> updateAudienceSettings()
Returns the object with the settings used for calls to updateAudience.
Returns
updateCustomDimensionSettings()
public UnaryCallSettings<UpdateCustomDimensionRequest,CustomDimension> updateCustomDimensionSettings()
Returns the object with the settings used for calls to updateCustomDimension.
Returns
updateCustomMetricSettings()
public UnaryCallSettings<UpdateCustomMetricRequest,CustomMetric> updateCustomMetricSettings()
Returns the object with the settings used for calls to updateCustomMetric.
Returns
updateDataRetentionSettingsSettings()
public UnaryCallSettings<UpdateDataRetentionSettingsRequest,DataRetentionSettings> updateDataRetentionSettingsSettings()
Returns the object with the settings used for calls to updateDataRetentionSettings.
Returns
updateDataStreamSettings()
public UnaryCallSettings<UpdateDataStreamRequest,DataStream> updateDataStreamSettings()
Returns the object with the settings used for calls to updateDataStream.
Returns
updateDisplayVideo360AdvertiserLinkSettings()
public UnaryCallSettings<UpdateDisplayVideo360AdvertiserLinkRequest,DisplayVideo360AdvertiserLink> updateDisplayVideo360AdvertiserLinkSettings()
Returns the object with the settings used for calls to updateDisplayVideo360AdvertiserLink.
Returns
updateGoogleAdsLinkSettings()
public UnaryCallSettings<UpdateGoogleAdsLinkRequest,GoogleAdsLink> updateGoogleAdsLinkSettings()
Returns the object with the settings used for calls to updateGoogleAdsLink.
Returns
updateGoogleSignalsSettingsSettings()
public UnaryCallSettings<UpdateGoogleSignalsSettingsRequest,GoogleSignalsSettings> updateGoogleSignalsSettingsSettings()
Returns the object with the settings used for calls to updateGoogleSignalsSettings.
Returns
updateMeasurementProtocolSecretSettings()
public UnaryCallSettings<UpdateMeasurementProtocolSecretRequest,MeasurementProtocolSecret> updateMeasurementProtocolSecretSettings()
Returns the object with the settings used for calls to updateMeasurementProtocolSecret.
Returns
updatePropertySettings()
public UnaryCallSettings<UpdatePropertyRequest,Property> updatePropertySettings()
Returns the object with the settings used for calls to updateProperty.
Returns
updateUserLinkSettings()
public UnaryCallSettings<UpdateUserLinkRequest,UserLink> updateUserLinkSettings()
Returns the object with the settings used for calls to updateUserLink.
Returns