AnalyticsAdminServiceSettings.java
/*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.analytics.admin.v1beta;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListAccountSummariesPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListAccountsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListConversionEventsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListCustomDimensionsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListCustomMetricsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListDataStreamsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListFirebaseLinksPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListGoogleAdsLinksPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListMeasurementProtocolSecretsPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.ListPropertiesPagedResponse;
import static com.google.analytics.admin.v1beta.AnalyticsAdminServiceClient.SearchChangeHistoryEventsPagedResponse;
import com.google.analytics.admin.v1beta.stub.AnalyticsAdminServiceStubSettings;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link AnalyticsAdminServiceClient}.
*
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (analyticsadmin.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>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.
*
* <p>For example, to set the total timeout of getAccount to 30 seconds:
*
* <pre>{@code
* // 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
* AnalyticsAdminServiceSettings.Builder analyticsAdminServiceSettingsBuilder =
* AnalyticsAdminServiceSettings.newBuilder();
* analyticsAdminServiceSettingsBuilder
* .getAccountSettings()
* .setRetrySettings(
* analyticsAdminServiceSettingsBuilder.getAccountSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AnalyticsAdminServiceSettings analyticsAdminServiceSettings =
* analyticsAdminServiceSettingsBuilder.build();
* }</pre>
*/
@BetaApi
@Generated("by gapic-generator-java")
public class AnalyticsAdminServiceSettings extends ClientSettings<AnalyticsAdminServiceSettings> {
/** Returns the object with the settings used for calls to getAccount. */
public UnaryCallSettings<GetAccountRequest, Account> getAccountSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getAccountSettings();
}
/** Returns the object with the settings used for calls to listAccounts. */
public PagedCallSettings<ListAccountsRequest, ListAccountsResponse, ListAccountsPagedResponse>
listAccountsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccountsSettings();
}
/** Returns the object with the settings used for calls to deleteAccount. */
public UnaryCallSettings<DeleteAccountRequest, Empty> deleteAccountSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteAccountSettings();
}
/** Returns the object with the settings used for calls to updateAccount. */
public UnaryCallSettings<UpdateAccountRequest, Account> updateAccountSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateAccountSettings();
}
/** Returns the object with the settings used for calls to provisionAccountTicket. */
public UnaryCallSettings<ProvisionAccountTicketRequest, ProvisionAccountTicketResponse>
provisionAccountTicketSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).provisionAccountTicketSettings();
}
/** Returns the object with the settings used for calls to listAccountSummaries. */
public PagedCallSettings<
ListAccountSummariesRequest,
ListAccountSummariesResponse,
ListAccountSummariesPagedResponse>
listAccountSummariesSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listAccountSummariesSettings();
}
/** Returns the object with the settings used for calls to getProperty. */
public UnaryCallSettings<GetPropertyRequest, Property> getPropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getPropertySettings();
}
/** Returns the object with the settings used for calls to listProperties. */
public PagedCallSettings<
ListPropertiesRequest, ListPropertiesResponse, ListPropertiesPagedResponse>
listPropertiesSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listPropertiesSettings();
}
/** Returns the object with the settings used for calls to createProperty. */
public UnaryCallSettings<CreatePropertyRequest, Property> createPropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createPropertySettings();
}
/** Returns the object with the settings used for calls to deleteProperty. */
public UnaryCallSettings<DeletePropertyRequest, Property> deletePropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deletePropertySettings();
}
/** Returns the object with the settings used for calls to updateProperty. */
public UnaryCallSettings<UpdatePropertyRequest, Property> updatePropertySettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updatePropertySettings();
}
/** Returns the object with the settings used for calls to createFirebaseLink. */
public UnaryCallSettings<CreateFirebaseLinkRequest, FirebaseLink> createFirebaseLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createFirebaseLinkSettings();
}
/** Returns the object with the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings<DeleteFirebaseLinkRequest, Empty> deleteFirebaseLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteFirebaseLinkSettings();
}
/** Returns the object with the settings used for calls to listFirebaseLinks. */
public PagedCallSettings<
ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse>
listFirebaseLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listFirebaseLinksSettings();
}
/** Returns the object with the settings used for calls to createGoogleAdsLink. */
public UnaryCallSettings<CreateGoogleAdsLinkRequest, GoogleAdsLink>
createGoogleAdsLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createGoogleAdsLinkSettings();
}
/** Returns the object with the settings used for calls to updateGoogleAdsLink. */
public UnaryCallSettings<UpdateGoogleAdsLinkRequest, GoogleAdsLink>
updateGoogleAdsLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateGoogleAdsLinkSettings();
}
/** Returns the object with the settings used for calls to deleteGoogleAdsLink. */
public UnaryCallSettings<DeleteGoogleAdsLinkRequest, Empty> deleteGoogleAdsLinkSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteGoogleAdsLinkSettings();
}
/** Returns the object with the settings used for calls to listGoogleAdsLinks. */
public PagedCallSettings<
ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse>
listGoogleAdsLinksSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listGoogleAdsLinksSettings();
}
/** Returns the object with the settings used for calls to getDataSharingSettings. */
public UnaryCallSettings<GetDataSharingSettingsRequest, DataSharingSettings>
getDataSharingSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getDataSharingSettingsSettings();
}
/** Returns the object with the settings used for calls to getMeasurementProtocolSecret. */
public UnaryCallSettings<GetMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
getMeasurementProtocolSecretSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.getMeasurementProtocolSecretSettings();
}
/** Returns the object with the settings used for calls to listMeasurementProtocolSecrets. */
public PagedCallSettings<
ListMeasurementProtocolSecretsRequest,
ListMeasurementProtocolSecretsResponse,
ListMeasurementProtocolSecretsPagedResponse>
listMeasurementProtocolSecretsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.listMeasurementProtocolSecretsSettings();
}
/** Returns the object with the settings used for calls to createMeasurementProtocolSecret. */
public UnaryCallSettings<CreateMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
createMeasurementProtocolSecretSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.createMeasurementProtocolSecretSettings();
}
/** Returns the object with the settings used for calls to deleteMeasurementProtocolSecret. */
public UnaryCallSettings<DeleteMeasurementProtocolSecretRequest, Empty>
deleteMeasurementProtocolSecretSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.deleteMeasurementProtocolSecretSettings();
}
/** Returns the object with the settings used for calls to updateMeasurementProtocolSecret. */
public UnaryCallSettings<UpdateMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
updateMeasurementProtocolSecretSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.updateMeasurementProtocolSecretSettings();
}
/** Returns the object with the settings used for calls to acknowledgeUserDataCollection. */
public UnaryCallSettings<
AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse>
acknowledgeUserDataCollectionSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.acknowledgeUserDataCollectionSettings();
}
/** Returns the object with the settings used for calls to searchChangeHistoryEvents. */
public PagedCallSettings<
SearchChangeHistoryEventsRequest,
SearchChangeHistoryEventsResponse,
SearchChangeHistoryEventsPagedResponse>
searchChangeHistoryEventsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.searchChangeHistoryEventsSettings();
}
/** Returns the object with the settings used for calls to createConversionEvent. */
public UnaryCallSettings<CreateConversionEventRequest, ConversionEvent>
createConversionEventSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createConversionEventSettings();
}
/** Returns the object with the settings used for calls to getConversionEvent. */
public UnaryCallSettings<GetConversionEventRequest, ConversionEvent>
getConversionEventSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getConversionEventSettings();
}
/** Returns the object with the settings used for calls to deleteConversionEvent. */
public UnaryCallSettings<DeleteConversionEventRequest, Empty> deleteConversionEventSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteConversionEventSettings();
}
/** Returns the object with the settings used for calls to listConversionEvents. */
public PagedCallSettings<
ListConversionEventsRequest,
ListConversionEventsResponse,
ListConversionEventsPagedResponse>
listConversionEventsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listConversionEventsSettings();
}
/** Returns the object with the settings used for calls to createCustomDimension. */
public UnaryCallSettings<CreateCustomDimensionRequest, CustomDimension>
createCustomDimensionSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createCustomDimensionSettings();
}
/** Returns the object with the settings used for calls to updateCustomDimension. */
public UnaryCallSettings<UpdateCustomDimensionRequest, CustomDimension>
updateCustomDimensionSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateCustomDimensionSettings();
}
/** Returns the object with the settings used for calls to listCustomDimensions. */
public PagedCallSettings<
ListCustomDimensionsRequest,
ListCustomDimensionsResponse,
ListCustomDimensionsPagedResponse>
listCustomDimensionsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listCustomDimensionsSettings();
}
/** Returns the object with the settings used for calls to archiveCustomDimension. */
public UnaryCallSettings<ArchiveCustomDimensionRequest, Empty> archiveCustomDimensionSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).archiveCustomDimensionSettings();
}
/** Returns the object with the settings used for calls to getCustomDimension. */
public UnaryCallSettings<GetCustomDimensionRequest, CustomDimension>
getCustomDimensionSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getCustomDimensionSettings();
}
/** Returns the object with the settings used for calls to createCustomMetric. */
public UnaryCallSettings<CreateCustomMetricRequest, CustomMetric> createCustomMetricSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createCustomMetricSettings();
}
/** Returns the object with the settings used for calls to updateCustomMetric. */
public UnaryCallSettings<UpdateCustomMetricRequest, CustomMetric> updateCustomMetricSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateCustomMetricSettings();
}
/** Returns the object with the settings used for calls to listCustomMetrics. */
public PagedCallSettings<
ListCustomMetricsRequest, ListCustomMetricsResponse, ListCustomMetricsPagedResponse>
listCustomMetricsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listCustomMetricsSettings();
}
/** Returns the object with the settings used for calls to archiveCustomMetric. */
public UnaryCallSettings<ArchiveCustomMetricRequest, Empty> archiveCustomMetricSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).archiveCustomMetricSettings();
}
/** Returns the object with the settings used for calls to getCustomMetric. */
public UnaryCallSettings<GetCustomMetricRequest, CustomMetric> getCustomMetricSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getCustomMetricSettings();
}
/** Returns the object with the settings used for calls to getDataRetentionSettings. */
public UnaryCallSettings<GetDataRetentionSettingsRequest, DataRetentionSettings>
getDataRetentionSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.getDataRetentionSettingsSettings();
}
/** Returns the object with the settings used for calls to updateDataRetentionSettings. */
public UnaryCallSettings<UpdateDataRetentionSettingsRequest, DataRetentionSettings>
updateDataRetentionSettingsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings())
.updateDataRetentionSettingsSettings();
}
/** Returns the object with the settings used for calls to createDataStream. */
public UnaryCallSettings<CreateDataStreamRequest, DataStream> createDataStreamSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).createDataStreamSettings();
}
/** Returns the object with the settings used for calls to deleteDataStream. */
public UnaryCallSettings<DeleteDataStreamRequest, Empty> deleteDataStreamSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).deleteDataStreamSettings();
}
/** Returns the object with the settings used for calls to updateDataStream. */
public UnaryCallSettings<UpdateDataStreamRequest, DataStream> updateDataStreamSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).updateDataStreamSettings();
}
/** Returns the object with the settings used for calls to listDataStreams. */
public PagedCallSettings<
ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse>
listDataStreamsSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).listDataStreamsSettings();
}
/** Returns the object with the settings used for calls to getDataStream. */
public UnaryCallSettings<GetDataStreamRequest, DataStream> getDataStreamSettings() {
return ((AnalyticsAdminServiceStubSettings) getStubSettings()).getDataStreamSettings();
}
public static final AnalyticsAdminServiceSettings create(AnalyticsAdminServiceStubSettings stub)
throws IOException {
return new AnalyticsAdminServiceSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return AnalyticsAdminServiceStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return AnalyticsAdminServiceStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List<String> getDefaultServiceScopes() {
return AnalyticsAdminServiceStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return AnalyticsAdminServiceStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return AnalyticsAdminServiceStubSettings.defaultGrpcTransportProviderBuilder();
}
/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return AnalyticsAdminServiceStubSettings.defaultHttpJsonTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return AnalyticsAdminServiceStubSettings.defaultTransportChannelProvider();
}
@BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return AnalyticsAdminServiceStubSettings.defaultApiClientHeaderProviderBuilder();
}
/** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
/** Returns a new REST builder for this class. */
@BetaApi
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
}
/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
}
protected AnalyticsAdminServiceSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for AnalyticsAdminServiceSettings. */
public static class Builder
extends ClientSettings.Builder<AnalyticsAdminServiceSettings, Builder> {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(AnalyticsAdminServiceStubSettings.newBuilder(clientContext));
}
protected Builder(AnalyticsAdminServiceSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(AnalyticsAdminServiceStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(AnalyticsAdminServiceStubSettings.newBuilder());
}
@BetaApi
private static Builder createHttpJsonDefault() {
return new Builder(AnalyticsAdminServiceStubSettings.newHttpJsonBuilder());
}
public AnalyticsAdminServiceStubSettings.Builder getStubSettingsBuilder() {
return ((AnalyticsAdminServiceStubSettings.Builder) getStubSettings());
}
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* <p>Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
}
/** Returns the builder for the settings used for calls to getAccount. */
public UnaryCallSettings.Builder<GetAccountRequest, Account> getAccountSettings() {
return getStubSettingsBuilder().getAccountSettings();
}
/** Returns the builder for the settings used for calls to listAccounts. */
public PagedCallSettings.Builder<
ListAccountsRequest, ListAccountsResponse, ListAccountsPagedResponse>
listAccountsSettings() {
return getStubSettingsBuilder().listAccountsSettings();
}
/** Returns the builder for the settings used for calls to deleteAccount. */
public UnaryCallSettings.Builder<DeleteAccountRequest, Empty> deleteAccountSettings() {
return getStubSettingsBuilder().deleteAccountSettings();
}
/** Returns the builder for the settings used for calls to updateAccount. */
public UnaryCallSettings.Builder<UpdateAccountRequest, Account> updateAccountSettings() {
return getStubSettingsBuilder().updateAccountSettings();
}
/** Returns the builder for the settings used for calls to provisionAccountTicket. */
public UnaryCallSettings.Builder<ProvisionAccountTicketRequest, ProvisionAccountTicketResponse>
provisionAccountTicketSettings() {
return getStubSettingsBuilder().provisionAccountTicketSettings();
}
/** Returns the builder for the settings used for calls to listAccountSummaries. */
public PagedCallSettings.Builder<
ListAccountSummariesRequest,
ListAccountSummariesResponse,
ListAccountSummariesPagedResponse>
listAccountSummariesSettings() {
return getStubSettingsBuilder().listAccountSummariesSettings();
}
/** Returns the builder for the settings used for calls to getProperty. */
public UnaryCallSettings.Builder<GetPropertyRequest, Property> getPropertySettings() {
return getStubSettingsBuilder().getPropertySettings();
}
/** Returns the builder for the settings used for calls to listProperties. */
public PagedCallSettings.Builder<
ListPropertiesRequest, ListPropertiesResponse, ListPropertiesPagedResponse>
listPropertiesSettings() {
return getStubSettingsBuilder().listPropertiesSettings();
}
/** Returns the builder for the settings used for calls to createProperty. */
public UnaryCallSettings.Builder<CreatePropertyRequest, Property> createPropertySettings() {
return getStubSettingsBuilder().createPropertySettings();
}
/** Returns the builder for the settings used for calls to deleteProperty. */
public UnaryCallSettings.Builder<DeletePropertyRequest, Property> deletePropertySettings() {
return getStubSettingsBuilder().deletePropertySettings();
}
/** Returns the builder for the settings used for calls to updateProperty. */
public UnaryCallSettings.Builder<UpdatePropertyRequest, Property> updatePropertySettings() {
return getStubSettingsBuilder().updatePropertySettings();
}
/** Returns the builder for the settings used for calls to createFirebaseLink. */
public UnaryCallSettings.Builder<CreateFirebaseLinkRequest, FirebaseLink>
createFirebaseLinkSettings() {
return getStubSettingsBuilder().createFirebaseLinkSettings();
}
/** Returns the builder for the settings used for calls to deleteFirebaseLink. */
public UnaryCallSettings.Builder<DeleteFirebaseLinkRequest, Empty>
deleteFirebaseLinkSettings() {
return getStubSettingsBuilder().deleteFirebaseLinkSettings();
}
/** Returns the builder for the settings used for calls to listFirebaseLinks. */
public PagedCallSettings.Builder<
ListFirebaseLinksRequest, ListFirebaseLinksResponse, ListFirebaseLinksPagedResponse>
listFirebaseLinksSettings() {
return getStubSettingsBuilder().listFirebaseLinksSettings();
}
/** Returns the builder for the settings used for calls to createGoogleAdsLink. */
public UnaryCallSettings.Builder<CreateGoogleAdsLinkRequest, GoogleAdsLink>
createGoogleAdsLinkSettings() {
return getStubSettingsBuilder().createGoogleAdsLinkSettings();
}
/** Returns the builder for the settings used for calls to updateGoogleAdsLink. */
public UnaryCallSettings.Builder<UpdateGoogleAdsLinkRequest, GoogleAdsLink>
updateGoogleAdsLinkSettings() {
return getStubSettingsBuilder().updateGoogleAdsLinkSettings();
}
/** Returns the builder for the settings used for calls to deleteGoogleAdsLink. */
public UnaryCallSettings.Builder<DeleteGoogleAdsLinkRequest, Empty>
deleteGoogleAdsLinkSettings() {
return getStubSettingsBuilder().deleteGoogleAdsLinkSettings();
}
/** Returns the builder for the settings used for calls to listGoogleAdsLinks. */
public PagedCallSettings.Builder<
ListGoogleAdsLinksRequest, ListGoogleAdsLinksResponse, ListGoogleAdsLinksPagedResponse>
listGoogleAdsLinksSettings() {
return getStubSettingsBuilder().listGoogleAdsLinksSettings();
}
/** Returns the builder for the settings used for calls to getDataSharingSettings. */
public UnaryCallSettings.Builder<GetDataSharingSettingsRequest, DataSharingSettings>
getDataSharingSettingsSettings() {
return getStubSettingsBuilder().getDataSharingSettingsSettings();
}
/** Returns the builder for the settings used for calls to getMeasurementProtocolSecret. */
public UnaryCallSettings.Builder<GetMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
getMeasurementProtocolSecretSettings() {
return getStubSettingsBuilder().getMeasurementProtocolSecretSettings();
}
/** Returns the builder for the settings used for calls to listMeasurementProtocolSecrets. */
public PagedCallSettings.Builder<
ListMeasurementProtocolSecretsRequest,
ListMeasurementProtocolSecretsResponse,
ListMeasurementProtocolSecretsPagedResponse>
listMeasurementProtocolSecretsSettings() {
return getStubSettingsBuilder().listMeasurementProtocolSecretsSettings();
}
/** Returns the builder for the settings used for calls to createMeasurementProtocolSecret. */
public UnaryCallSettings.Builder<
CreateMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
createMeasurementProtocolSecretSettings() {
return getStubSettingsBuilder().createMeasurementProtocolSecretSettings();
}
/** Returns the builder for the settings used for calls to deleteMeasurementProtocolSecret. */
public UnaryCallSettings.Builder<DeleteMeasurementProtocolSecretRequest, Empty>
deleteMeasurementProtocolSecretSettings() {
return getStubSettingsBuilder().deleteMeasurementProtocolSecretSettings();
}
/** Returns the builder for the settings used for calls to updateMeasurementProtocolSecret. */
public UnaryCallSettings.Builder<
UpdateMeasurementProtocolSecretRequest, MeasurementProtocolSecret>
updateMeasurementProtocolSecretSettings() {
return getStubSettingsBuilder().updateMeasurementProtocolSecretSettings();
}
/** Returns the builder for the settings used for calls to acknowledgeUserDataCollection. */
public UnaryCallSettings.Builder<
AcknowledgeUserDataCollectionRequest, AcknowledgeUserDataCollectionResponse>
acknowledgeUserDataCollectionSettings() {
return getStubSettingsBuilder().acknowledgeUserDataCollectionSettings();
}
/** Returns the builder for the settings used for calls to searchChangeHistoryEvents. */
public PagedCallSettings.Builder<
SearchChangeHistoryEventsRequest,
SearchChangeHistoryEventsResponse,
SearchChangeHistoryEventsPagedResponse>
searchChangeHistoryEventsSettings() {
return getStubSettingsBuilder().searchChangeHistoryEventsSettings();
}
/** Returns the builder for the settings used for calls to createConversionEvent. */
public UnaryCallSettings.Builder<CreateConversionEventRequest, ConversionEvent>
createConversionEventSettings() {
return getStubSettingsBuilder().createConversionEventSettings();
}
/** Returns the builder for the settings used for calls to getConversionEvent. */
public UnaryCallSettings.Builder<GetConversionEventRequest, ConversionEvent>
getConversionEventSettings() {
return getStubSettingsBuilder().getConversionEventSettings();
}
/** Returns the builder for the settings used for calls to deleteConversionEvent. */
public UnaryCallSettings.Builder<DeleteConversionEventRequest, Empty>
deleteConversionEventSettings() {
return getStubSettingsBuilder().deleteConversionEventSettings();
}
/** Returns the builder for the settings used for calls to listConversionEvents. */
public PagedCallSettings.Builder<
ListConversionEventsRequest,
ListConversionEventsResponse,
ListConversionEventsPagedResponse>
listConversionEventsSettings() {
return getStubSettingsBuilder().listConversionEventsSettings();
}
/** Returns the builder for the settings used for calls to createCustomDimension. */
public UnaryCallSettings.Builder<CreateCustomDimensionRequest, CustomDimension>
createCustomDimensionSettings() {
return getStubSettingsBuilder().createCustomDimensionSettings();
}
/** Returns the builder for the settings used for calls to updateCustomDimension. */
public UnaryCallSettings.Builder<UpdateCustomDimensionRequest, CustomDimension>
updateCustomDimensionSettings() {
return getStubSettingsBuilder().updateCustomDimensionSettings();
}
/** Returns the builder for the settings used for calls to listCustomDimensions. */
public PagedCallSettings.Builder<
ListCustomDimensionsRequest,
ListCustomDimensionsResponse,
ListCustomDimensionsPagedResponse>
listCustomDimensionsSettings() {
return getStubSettingsBuilder().listCustomDimensionsSettings();
}
/** Returns the builder for the settings used for calls to archiveCustomDimension. */
public UnaryCallSettings.Builder<ArchiveCustomDimensionRequest, Empty>
archiveCustomDimensionSettings() {
return getStubSettingsBuilder().archiveCustomDimensionSettings();
}
/** Returns the builder for the settings used for calls to getCustomDimension. */
public UnaryCallSettings.Builder<GetCustomDimensionRequest, CustomDimension>
getCustomDimensionSettings() {
return getStubSettingsBuilder().getCustomDimensionSettings();
}
/** Returns the builder for the settings used for calls to createCustomMetric. */
public UnaryCallSettings.Builder<CreateCustomMetricRequest, CustomMetric>
createCustomMetricSettings() {
return getStubSettingsBuilder().createCustomMetricSettings();
}
/** Returns the builder for the settings used for calls to updateCustomMetric. */
public UnaryCallSettings.Builder<UpdateCustomMetricRequest, CustomMetric>
updateCustomMetricSettings() {
return getStubSettingsBuilder().updateCustomMetricSettings();
}
/** Returns the builder for the settings used for calls to listCustomMetrics. */
public PagedCallSettings.Builder<
ListCustomMetricsRequest, ListCustomMetricsResponse, ListCustomMetricsPagedResponse>
listCustomMetricsSettings() {
return getStubSettingsBuilder().listCustomMetricsSettings();
}
/** Returns the builder for the settings used for calls to archiveCustomMetric. */
public UnaryCallSettings.Builder<ArchiveCustomMetricRequest, Empty>
archiveCustomMetricSettings() {
return getStubSettingsBuilder().archiveCustomMetricSettings();
}
/** Returns the builder for the settings used for calls to getCustomMetric. */
public UnaryCallSettings.Builder<GetCustomMetricRequest, CustomMetric>
getCustomMetricSettings() {
return getStubSettingsBuilder().getCustomMetricSettings();
}
/** Returns the builder for the settings used for calls to getDataRetentionSettings. */
public UnaryCallSettings.Builder<GetDataRetentionSettingsRequest, DataRetentionSettings>
getDataRetentionSettingsSettings() {
return getStubSettingsBuilder().getDataRetentionSettingsSettings();
}
/** Returns the builder for the settings used for calls to updateDataRetentionSettings. */
public UnaryCallSettings.Builder<UpdateDataRetentionSettingsRequest, DataRetentionSettings>
updateDataRetentionSettingsSettings() {
return getStubSettingsBuilder().updateDataRetentionSettingsSettings();
}
/** Returns the builder for the settings used for calls to createDataStream. */
public UnaryCallSettings.Builder<CreateDataStreamRequest, DataStream>
createDataStreamSettings() {
return getStubSettingsBuilder().createDataStreamSettings();
}
/** Returns the builder for the settings used for calls to deleteDataStream. */
public UnaryCallSettings.Builder<DeleteDataStreamRequest, Empty> deleteDataStreamSettings() {
return getStubSettingsBuilder().deleteDataStreamSettings();
}
/** Returns the builder for the settings used for calls to updateDataStream. */
public UnaryCallSettings.Builder<UpdateDataStreamRequest, DataStream>
updateDataStreamSettings() {
return getStubSettingsBuilder().updateDataStreamSettings();
}
/** Returns the builder for the settings used for calls to listDataStreams. */
public PagedCallSettings.Builder<
ListDataStreamsRequest, ListDataStreamsResponse, ListDataStreamsPagedResponse>
listDataStreamsSettings() {
return getStubSettingsBuilder().listDataStreamsSettings();
}
/** Returns the builder for the settings used for calls to getDataStream. */
public UnaryCallSettings.Builder<GetDataStreamRequest, DataStream> getDataStreamSettings() {
return getStubSettingsBuilder().getDataStreamSettings();
}
@Override
public AnalyticsAdminServiceSettings build() throws IOException {
return new AnalyticsAdminServiceSettings(this);
}
}
}