Class AlphaAnalyticsDataSettings (0.50.0)

public class AlphaAnalyticsDataSettings extends ClientSettings<AlphaAnalyticsDataSettings>

Settings class to configure an instance of AlphaAnalyticsDataClient.

The default instance has everything set to sensible defaults:

  • The default service address (analyticsdata.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 runFunnelReport 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
 AlphaAnalyticsDataSettings.Builder alphaAnalyticsDataSettingsBuilder =
     AlphaAnalyticsDataSettings.newBuilder();
 alphaAnalyticsDataSettingsBuilder
     .runFunnelReportSettings()
     .setRetrySettings(
         alphaAnalyticsDataSettingsBuilder
             .runFunnelReportSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AlphaAnalyticsDataSettings alphaAnalyticsDataSettings =
     alphaAnalyticsDataSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > AlphaAnalyticsDataSettings

Static Methods

create(AlphaAnalyticsDataStubSettings stub)

public static final AlphaAnalyticsDataSettings create(AlphaAnalyticsDataStubSettings stub)
Parameter
NameDescription
stubAlphaAnalyticsDataStubSettings
Returns
TypeDescription
AlphaAnalyticsDataSettings
Exceptions
TypeDescription
IOException

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static AlphaAnalyticsDataSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
AlphaAnalyticsDataSettings.Builder

newBuilder(ClientContext clientContext)

public static AlphaAnalyticsDataSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
AlphaAnalyticsDataSettings.Builder

newHttpJsonBuilder()

public static AlphaAnalyticsDataSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
AlphaAnalyticsDataSettings.Builder

Constructors

AlphaAnalyticsDataSettings(AlphaAnalyticsDataSettings.Builder settingsBuilder)

protected AlphaAnalyticsDataSettings(AlphaAnalyticsDataSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderAlphaAnalyticsDataSettings.Builder

Methods

createAudienceListOperationSettings()

public OperationCallSettings<CreateAudienceListRequest,AudienceList,AudienceListMetadata> createAudienceListOperationSettings()

Returns the object with the settings used for calls to createAudienceList.

Returns
TypeDescription
OperationCallSettings<CreateAudienceListRequest,AudienceList,AudienceListMetadata>

createAudienceListSettings()

public UnaryCallSettings<CreateAudienceListRequest,Operation> createAudienceListSettings()

Returns the object with the settings used for calls to createAudienceList.

Returns
TypeDescription
UnaryCallSettings<CreateAudienceListRequest,Operation>

createRecurringAudienceListSettings()

public UnaryCallSettings<CreateRecurringAudienceListRequest,RecurringAudienceList> createRecurringAudienceListSettings()

Returns the object with the settings used for calls to createRecurringAudienceList.

Returns
TypeDescription
UnaryCallSettings<CreateRecurringAudienceListRequest,RecurringAudienceList>

getAudienceListSettings()

public UnaryCallSettings<GetAudienceListRequest,AudienceList> getAudienceListSettings()

Returns the object with the settings used for calls to getAudienceList.

Returns
TypeDescription
UnaryCallSettings<GetAudienceListRequest,AudienceList>

getRecurringAudienceListSettings()

public UnaryCallSettings<GetRecurringAudienceListRequest,RecurringAudienceList> getRecurringAudienceListSettings()

Returns the object with the settings used for calls to getRecurringAudienceList.

Returns
TypeDescription
UnaryCallSettings<GetRecurringAudienceListRequest,RecurringAudienceList>

listAudienceListsSettings()

public PagedCallSettings<ListAudienceListsRequest,ListAudienceListsResponse,AlphaAnalyticsDataClient.ListAudienceListsPagedResponse> listAudienceListsSettings()

Returns the object with the settings used for calls to listAudienceLists.

Returns
TypeDescription
PagedCallSettings<ListAudienceListsRequest,ListAudienceListsResponse,ListAudienceListsPagedResponse>

listRecurringAudienceListsSettings()

public PagedCallSettings<ListRecurringAudienceListsRequest,ListRecurringAudienceListsResponse,AlphaAnalyticsDataClient.ListRecurringAudienceListsPagedResponse> listRecurringAudienceListsSettings()

Returns the object with the settings used for calls to listRecurringAudienceLists.

Returns
TypeDescription
PagedCallSettings<ListRecurringAudienceListsRequest,ListRecurringAudienceListsResponse,ListRecurringAudienceListsPagedResponse>

queryAudienceListSettings()

public UnaryCallSettings<QueryAudienceListRequest,QueryAudienceListResponse> queryAudienceListSettings()

Returns the object with the settings used for calls to queryAudienceList.

Returns
TypeDescription
UnaryCallSettings<QueryAudienceListRequest,QueryAudienceListResponse>

runFunnelReportSettings()

public UnaryCallSettings<RunFunnelReportRequest,RunFunnelReportResponse> runFunnelReportSettings()

Returns the object with the settings used for calls to runFunnelReport.

Returns
TypeDescription
UnaryCallSettings<RunFunnelReportRequest,RunFunnelReportResponse>

sheetExportAudienceListSettings()

public UnaryCallSettings<SheetExportAudienceListRequest,SheetExportAudienceListResponse> sheetExportAudienceListSettings()

Returns the object with the settings used for calls to sheetExportAudienceList.

Returns
TypeDescription
UnaryCallSettings<SheetExportAudienceListRequest,SheetExportAudienceListResponse>

toBuilder()

public AlphaAnalyticsDataSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
AlphaAnalyticsDataSettings.Builder
Overrides