Class DataCatalogSettings


  • @Generated("by gapic-generator-java")
    public class DataCatalogSettings
    extends com.google.api.gax.rpc.ClientSettings<DataCatalogSettings>
    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 total timeout of createEntryGroup 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
     DataCatalogSettings.Builder dataCatalogSettingsBuilder = DataCatalogSettings.newBuilder();
     dataCatalogSettingsBuilder
         .createEntryGroupSettings()
         .setRetrySettings(
             dataCatalogSettingsBuilder
                 .createEntryGroupSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataCatalogSettings dataCatalogSettings = dataCatalogSettingsBuilder.build();
     
    • Method Detail

      • createEntryGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateEntryGroupRequest,​EntryGroup> createEntryGroupSettings()
        Returns the object with the settings used for calls to createEntryGroup.
      • getEntryGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetEntryGroupRequest,​EntryGroup> getEntryGroupSettings()
        Returns the object with the settings used for calls to getEntryGroup.
      • updateEntryGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryGroupRequest,​EntryGroup> updateEntryGroupSettings()
        Returns the object with the settings used for calls to updateEntryGroup.
      • deleteEntryGroupSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryGroupRequest,​com.google.protobuf.Empty> deleteEntryGroupSettings()
        Returns the object with the settings used for calls to deleteEntryGroup.
      • createEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateEntryRequest,​Entry> createEntrySettings()
        Returns the object with the settings used for calls to createEntry.
      • updateEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateEntryRequest,​Entry> updateEntrySettings()
        Returns the object with the settings used for calls to updateEntry.
      • deleteEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteEntryRequest,​com.google.protobuf.Empty> deleteEntrySettings()
        Returns the object with the settings used for calls to deleteEntry.
      • getEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetEntryRequest,​Entry> getEntrySettings()
        Returns the object with the settings used for calls to getEntry.
      • lookupEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<LookupEntryRequest,​Entry> lookupEntrySettings()
        Returns the object with the settings used for calls to lookupEntry.
      • modifyEntryOverviewSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryOverviewRequest,​EntryOverview> modifyEntryOverviewSettings()
        Returns the object with the settings used for calls to modifyEntryOverview.
      • modifyEntryContactsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ModifyEntryContactsRequest,​Contacts> modifyEntryContactsSettings()
        Returns the object with the settings used for calls to modifyEntryContacts.
      • createTagTemplateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateRequest,​TagTemplate> createTagTemplateSettings()
        Returns the object with the settings used for calls to createTagTemplate.
      • getTagTemplateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetTagTemplateRequest,​TagTemplate> getTagTemplateSettings()
        Returns the object with the settings used for calls to getTagTemplate.
      • updateTagTemplateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateRequest,​TagTemplate> updateTagTemplateSettings()
        Returns the object with the settings used for calls to updateTagTemplate.
      • deleteTagTemplateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateRequest,​com.google.protobuf.Empty> deleteTagTemplateSettings()
        Returns the object with the settings used for calls to deleteTagTemplate.
      • createTagTemplateFieldSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateTagTemplateFieldRequest,​TagTemplateField> createTagTemplateFieldSettings()
        Returns the object with the settings used for calls to createTagTemplateField.
      • updateTagTemplateFieldSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagTemplateFieldRequest,​TagTemplateField> updateTagTemplateFieldSettings()
        Returns the object with the settings used for calls to updateTagTemplateField.
      • renameTagTemplateFieldSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldRequest,​TagTemplateField> renameTagTemplateFieldSettings()
        Returns the object with the settings used for calls to renameTagTemplateField.
      • renameTagTemplateFieldEnumValueSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RenameTagTemplateFieldEnumValueRequest,​TagTemplateField> renameTagTemplateFieldEnumValueSettings()
        Returns the object with the settings used for calls to renameTagTemplateFieldEnumValue.
      • deleteTagTemplateFieldSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagTemplateFieldRequest,​com.google.protobuf.Empty> deleteTagTemplateFieldSettings()
        Returns the object with the settings used for calls to deleteTagTemplateField.
      • createTagSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateTagRequest,​Tag> createTagSettings()
        Returns the object with the settings used for calls to createTag.
      • updateTagSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateTagRequest,​Tag> updateTagSettings()
        Returns the object with the settings used for calls to updateTag.
      • deleteTagSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteTagRequest,​com.google.protobuf.Empty> deleteTagSettings()
        Returns the object with the settings used for calls to deleteTag.
      • reconcileTagsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ReconcileTagsRequest,​com.google.longrunning.Operation> reconcileTagsSettings()
        Returns the object with the settings used for calls to reconcileTags.
      • starEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<StarEntryRequest,​StarEntryResponse> starEntrySettings()
        Returns the object with the settings used for calls to starEntry.
      • unstarEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<UnstarEntryRequest,​UnstarEntryResponse> unstarEntrySettings()
        Returns the object with the settings used for calls to unstarEntry.
      • setIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,​com.google.iam.v1.Policy> setIamPolicySettings()
        Returns the object with the settings used for calls to setIamPolicy.
      • getIamPolicySettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,​com.google.iam.v1.Policy> getIamPolicySettings()
        Returns the object with the settings used for calls to getIamPolicy.
      • testIamPermissionsSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,​com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
        Returns the object with the settings used for calls to testIamPermissions.
      • importEntriesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ImportEntriesRequest,​com.google.longrunning.Operation> importEntriesSettings()
        Returns the object with the settings used for calls to importEntries.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default gRPC ChannelProvider for this service.
      • defaultHttpJsonTransportProviderBuilder

        @BetaApi
        public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
        Returns a builder for the default REST ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
      • newHttpJsonBuilder

        @BetaApi
        public static DataCatalogSettings.Builder newHttpJsonBuilder()
        Returns a new REST builder for this class.
      • newBuilder

        public static DataCatalogSettings.Builder newBuilder​(com.google.api.gax.rpc.ClientContext clientContext)
        Returns a new builder for this class.