@Deprecated @Generated(value="by gapic-generator-java") public class DataCatalogSettings extends com.google.api.gax.rpc.ClientSettings<DataCatalogSettings>
DataCatalogClient.
The default instance has everything set to sensible defaults:
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 [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of createEntryGroup:
// 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
DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
dataCatalogSettingsBuilder
.createEntryGroupSettings()
.setRetrySettings(
dataCatalogSettingsBuilder
.createEntryGroupSettings()
.getRetrySettings()
.toBuilder()
.setInitialRetryDelayDuration(Duration.ofSeconds(1))
.setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
.setMaxAttempts(5)
.setMaxRetryDelayDuration(Duration.ofSeconds(30))
.setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
.setRetryDelayMultiplier(1.3)
.setRpcTimeoutMultiplier(1.5)
.setTotalTimeoutDuration(Duration.ofSeconds(300))
.build());
DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for
additional support in setting retries.
To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for reconcileTags:
// 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
DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelayDuration(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
dataCatalogSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
DataCatalogSettings.Builder
Deprecated.
Builder for DataCatalogSettings.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DataCatalogSettings(DataCatalogSettings.Builder settingsBuilder)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DataCatalogSettings |
create(DataCatalogStubSettings stub)
Deprecated.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateEntryGroupRequest,EntryGroup> |
createEntryGroupSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateEntryRequest,Entry> |
createEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateTagRequest,Tag> |
createTagSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateFieldRequest,TagTemplateField> |
createTagTemplateFieldSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateRequest,TagTemplate> |
createTagTemplateSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder()
Deprecated.
|
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Deprecated.
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Deprecated.
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Deprecated.
Returns a builder for the default gRPC ChannelProvider for this service.
|
static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder |
defaultHttpJsonTransportProviderBuilder()
Deprecated.
Returns a builder for the default REST ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider()
Deprecated.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryGroupRequest,com.google.protobuf.Empty> |
deleteEntryGroupSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryRequest,com.google.protobuf.Empty> |
deleteEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteTagRequest,com.google.protobuf.Empty> |
deleteTagSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> |
deleteTagTemplateFieldSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateRequest,com.google.protobuf.Empty> |
deleteTagTemplateSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
static String |
getDefaultEndpoint()
Deprecated.
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Deprecated.
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEntryGroupRequest,EntryGroup> |
getEntryGroupSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEntryRequest,Entry> |
getEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<GetTagTemplateRequest,TagTemplate> |
getTagTemplateSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.OperationCallSettings<ImportEntriesRequest,ImportEntriesResponse,ImportEntriesMetadata> |
importEntriesOperationSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportEntriesRequest,com.google.longrunning.Operation> |
importEntriesSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.PagedCallSettings<ListEntriesRequest,ListEntriesResponse,DataCatalogClient.ListEntriesPagedResponse> |
listEntriesSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.PagedCallSettings<ListEntryGroupsRequest,ListEntryGroupsResponse,DataCatalogClient.ListEntryGroupsPagedResponse> |
listEntryGroupsSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.PagedCallSettings<ListTagsRequest,ListTagsResponse,DataCatalogClient.ListTagsPagedResponse> |
listTagsSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<LookupEntryRequest,Entry> |
lookupEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryContactsRequest,Contacts> |
modifyEntryContactsSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryOverviewRequest,EntryOverview> |
modifyEntryOverviewSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
static DataCatalogSettings.Builder |
newBuilder()
Deprecated.
Returns a new gRPC builder for this class.
|
static DataCatalogSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Deprecated.
Returns a new builder for this class.
|
static DataCatalogSettings.Builder |
newHttpJsonBuilder()
Deprecated.
Returns a new REST builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<ReconcileTagsRequest,ReconcileTagsResponse,ReconcileTagsMetadata> |
reconcileTagsOperationSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<ReconcileTagsRequest,com.google.longrunning.Operation> |
reconcileTagsSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> |
renameTagTemplateFieldEnumValueSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldRequest,TagTemplateField> |
renameTagTemplateFieldSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<RetrieveConfigRequest,OrganizationConfig> |
retrieveConfigSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<RetrieveEffectiveConfigRequest,MigrationConfig> |
retrieveEffectiveConfigSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.PagedCallSettings<SearchCatalogRequest,SearchCatalogResponse,DataCatalogClient.SearchCatalogPagedResponse> |
searchCatalogSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<SetConfigRequest,MigrationConfig> |
setConfigSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<StarEntryRequest,StarEntryResponse> |
starEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
DataCatalogSettings.Builder |
toBuilder()
Deprecated.
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UnstarEntryRequest,UnstarEntryResponse> |
unstarEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryGroupRequest,EntryGroup> |
updateEntryGroupSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryRequest,Entry> |
updateEntrySettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTagRequest,Tag> |
updateTagSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateFieldRequest,TagTemplateField> |
updateTagTemplateFieldSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateRequest,TagTemplate> |
updateTagTemplateSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toStringprotected DataCatalogSettings(DataCatalogSettings.Builder settingsBuilder) throws IOException
IOException@Deprecated public com.google.api.gax.rpc.PagedCallSettings<SearchCatalogRequest,SearchCatalogResponse,DataCatalogClient.SearchCatalogPagedResponse> searchCatalogSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<CreateEntryGroupRequest,EntryGroup> createEntryGroupSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<GetEntryGroupRequest,EntryGroup> getEntryGroupSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryGroupRequest,EntryGroup> updateEntryGroupSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryGroupRequest,com.google.protobuf.Empty> deleteEntryGroupSettings()
@Deprecated public com.google.api.gax.rpc.PagedCallSettings<ListEntryGroupsRequest,ListEntryGroupsResponse,DataCatalogClient.ListEntryGroupsPagedResponse> listEntryGroupsSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<CreateEntryRequest,Entry> createEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryRequest,Entry> updateEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryRequest,com.google.protobuf.Empty> deleteEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<GetEntryRequest,Entry> getEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<LookupEntryRequest,Entry> lookupEntrySettings()
@Deprecated public com.google.api.gax.rpc.PagedCallSettings<ListEntriesRequest,ListEntriesResponse,DataCatalogClient.ListEntriesPagedResponse> listEntriesSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryOverviewRequest,EntryOverview> modifyEntryOverviewSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryContactsRequest,Contacts> modifyEntryContactsSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateRequest,TagTemplate> createTagTemplateSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<GetTagTemplateRequest,TagTemplate> getTagTemplateSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateRequest,TagTemplate> updateTagTemplateSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateRequest,com.google.protobuf.Empty> deleteTagTemplateSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateFieldRequest,TagTemplateField> createTagTemplateFieldSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateFieldRequest,TagTemplateField> updateTagTemplateFieldSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldRequest,TagTemplateField> renameTagTemplateFieldSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> renameTagTemplateFieldEnumValueSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> deleteTagTemplateFieldSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<CreateTagRequest,Tag> createTagSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagRequest,Tag> updateTagSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagRequest,com.google.protobuf.Empty> deleteTagSettings()
@Deprecated public com.google.api.gax.rpc.PagedCallSettings<ListTagsRequest,ListTagsResponse,DataCatalogClient.ListTagsPagedResponse> listTagsSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ReconcileTagsRequest,com.google.longrunning.Operation> reconcileTagsSettings()
@Deprecated public com.google.api.gax.rpc.OperationCallSettings<ReconcileTagsRequest,ReconcileTagsResponse,ReconcileTagsMetadata> reconcileTagsOperationSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<StarEntryRequest,StarEntryResponse> starEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<UnstarEntryRequest,UnstarEntryResponse> unstarEntrySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<ImportEntriesRequest,com.google.longrunning.Operation> importEntriesSettings()
@Deprecated public com.google.api.gax.rpc.OperationCallSettings<ImportEntriesRequest,ImportEntriesResponse,ImportEntriesMetadata> importEntriesOperationSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<SetConfigRequest,MigrationConfig> setConfigSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<RetrieveConfigRequest,OrganizationConfig> retrieveConfigSettings()
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings<RetrieveEffectiveConfigRequest,MigrationConfig> retrieveEffectiveConfigSettings()
public static final DataCatalogSettings create(DataCatalogStubSettings stub) throws IOException
IOExceptionpublic static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
@BetaApi public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DataCatalogSettings.Builder newBuilder()
public static DataCatalogSettings.Builder newHttpJsonBuilder()
public static DataCatalogSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public DataCatalogSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<DataCatalogSettings>Copyright © 2025 Google LLC. All rights reserved.