Class DataCatalogSettings
java.lang.Object
com.google.api.gax.rpc.ClientSettings<DataCatalogSettings>
com.google.cloud.datacatalog.v1beta1.DataCatalogSettings
@BetaApi
@Deprecated
@Generated("by gapic-generator-java")
public class DataCatalogSettings
extends ClientSettings<DataCatalogSettings>
Deprecated.
This class is deprecated and will be removed in the next major version update.
Settings class to configure an instance of
DataCatalogClient.
The default instance has everything set to sensible defaults:
- The default service address (datacatalog.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 [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://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
retries.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.Builder for DataCatalogSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDataCatalogSettings(DataCatalogSettings.Builder settingsBuilder) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic final DataCatalogSettingsDeprecated.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Deprecated.Returns a builder for the default credentials for this service.Deprecated.Returns a builder for the default ExecutorProvider for this service.Deprecated.Returns a builder for the default gRPC ChannelProvider for this service.Deprecated.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderDeprecated.UnaryCallSettings<DeleteEntryGroupRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings<DeleteEntryRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings<DeleteTagRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.UnaryCallSettings<DeleteTagTemplateRequest,com.google.protobuf.Empty> Deprecated.This method is deprecated and will be removed in the next major version update.static StringDeprecated.Returns the default service endpoint.Deprecated.Returns the default service scopes.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<ListEntriesRequest,ListEntriesResponse, DataCatalogClient.ListEntriesPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<ListEntryGroupsRequest,ListEntryGroupsResponse, DataCatalogClient.ListEntryGroupsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.static DataCatalogSettings.BuilderDeprecated.Returns a new gRPC builder for this class.static DataCatalogSettings.BuildernewBuilder(ClientContext clientContext) Deprecated.Returns a new builder for this class.static DataCatalogSettings.BuilderDeprecated.Returns a new REST builder for this class.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.PagedCallSettings<SearchCatalogRequest,SearchCatalogResponse, DataCatalogClient.SearchCatalogPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.Returns a builder containing all the values of this settings class.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Deprecated.This method is deprecated and will be removed in the next major version update.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
DataCatalogSettings
Deprecated.- Throws:
IOException
-
-
Method Details
-
searchCatalogSettings
@Deprecated public PagedCallSettings<SearchCatalogRequest,SearchCatalogResponse, searchCatalogSettings()DataCatalogClient.SearchCatalogPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to searchCatalog. -
createEntryGroupSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createEntryGroup. -
updateEntryGroupSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateEntryGroup. -
getEntryGroupSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getEntryGroup. -
deleteEntryGroupSettings
@Deprecated public UnaryCallSettings<DeleteEntryGroupRequest,com.google.protobuf.Empty> deleteEntryGroupSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteEntryGroup. -
listEntryGroupsSettings
@Deprecated public PagedCallSettings<ListEntryGroupsRequest,ListEntryGroupsResponse, listEntryGroupsSettings()DataCatalogClient.ListEntryGroupsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listEntryGroups. -
createEntrySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createEntry. -
updateEntrySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateEntry. -
deleteEntrySettings
@Deprecated public UnaryCallSettings<DeleteEntryRequest,com.google.protobuf.Empty> deleteEntrySettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteEntry. -
getEntrySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getEntry. -
lookupEntrySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to lookupEntry. -
listEntriesSettings
@Deprecated public PagedCallSettings<ListEntriesRequest,ListEntriesResponse, listEntriesSettings()DataCatalogClient.ListEntriesPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listEntries. -
createTagTemplateSettings
@Deprecated public UnaryCallSettings<CreateTagTemplateRequest,TagTemplate> createTagTemplateSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createTagTemplate. -
getTagTemplateSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getTagTemplate. -
updateTagTemplateSettings
@Deprecated public UnaryCallSettings<UpdateTagTemplateRequest,TagTemplate> updateTagTemplateSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateTagTemplate. -
deleteTagTemplateSettings
@Deprecated public UnaryCallSettings<DeleteTagTemplateRequest,com.google.protobuf.Empty> deleteTagTemplateSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteTagTemplate. -
createTagTemplateFieldSettings
@Deprecated public UnaryCallSettings<CreateTagTemplateFieldRequest,TagTemplateField> createTagTemplateFieldSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createTagTemplateField. -
updateTagTemplateFieldSettings
@Deprecated public UnaryCallSettings<UpdateTagTemplateFieldRequest,TagTemplateField> updateTagTemplateFieldSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateTagTemplateField. -
renameTagTemplateFieldSettings
@Deprecated public UnaryCallSettings<RenameTagTemplateFieldRequest,TagTemplateField> renameTagTemplateFieldSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to renameTagTemplateField. -
renameTagTemplateFieldEnumValueSettings
@Deprecated public UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest,TagTemplateField> renameTagTemplateFieldEnumValueSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue. -
deleteTagTemplateFieldSettings
@Deprecated public UnaryCallSettings<DeleteTagTemplateFieldRequest,com.google.protobuf.Empty> deleteTagTemplateFieldSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteTagTemplateField. -
createTagSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to createTag. -
updateTagSettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to updateTag. -
deleteTagSettings
@Deprecated public UnaryCallSettings<DeleteTagRequest,com.google.protobuf.Empty> deleteTagSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to deleteTag. -
listTagsSettings
@Deprecated public PagedCallSettings<ListTagsRequest,ListTagsResponse, listTagsSettings()DataCatalogClient.ListTagsPagedResponse> Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to listTags. -
setIamPolicySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to setIamPolicy. -
getIamPolicySettings
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
@Deprecated public UnaryCallSettings<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Deprecated.This method is deprecated and will be removed in the next major version update.Returns the object with the settings used for calls to testIamPermissions. -
create
Deprecated.- Throws:
IOException
-
defaultExecutorProviderBuilder
Deprecated.Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Deprecated.Returns the default service endpoint. -
getDefaultServiceScopes
Deprecated.Returns the default service scopes. -
defaultCredentialsProviderBuilder
Deprecated.Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Deprecated.Returns a builder for the default gRPC ChannelProvider for this service. -
defaultHttpJsonTransportProviderBuilder
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()Deprecated.Returns a builder for the default REST ChannelProvider for this service. -
defaultTransportChannelProvider
Deprecated. -
defaultApiClientHeaderProviderBuilder
Deprecated. -
newBuilder
Deprecated.Returns a new gRPC builder for this class. -
newHttpJsonBuilder
Deprecated.Returns a new REST builder for this class. -
newBuilder
Deprecated.Returns a new builder for this class. -
toBuilder
Deprecated.Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<DataCatalogSettings>
-