Class DataplexServiceStubSettings


  • @Generated("by gapic-generator-java")
    public class DataplexServiceStubSettings
    extends com.google.api.gax.rpc.StubSettings<DataplexServiceStubSettings>
    Settings class to configure an instance of DataplexServiceStub.

    The default instance has everything set to sensible defaults:

    • The default service address (dataplex.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 getLake 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
     DataplexServiceStubSettings.Builder dataplexServiceSettingsBuilder =
         DataplexServiceStubSettings.newBuilder();
     dataplexServiceSettingsBuilder
         .getLakeSettings()
         .setRetrySettings(
             dataplexServiceSettingsBuilder
                 .getLakeSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     DataplexServiceStubSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.build();
     
    • Method Detail

      • createLakeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateLakeRequest,​com.google.longrunning.Operation> createLakeSettings()
        Returns the object with the settings used for calls to createLake.
      • createLakeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateLakeRequest,​Lake,​OperationMetadata> createLakeOperationSettings()
        Returns the object with the settings used for calls to createLake.
      • updateLakeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateLakeRequest,​com.google.longrunning.Operation> updateLakeSettings()
        Returns the object with the settings used for calls to updateLake.
      • updateLakeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateLakeRequest,​Lake,​OperationMetadata> updateLakeOperationSettings()
        Returns the object with the settings used for calls to updateLake.
      • deleteLakeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteLakeRequest,​com.google.longrunning.Operation> deleteLakeSettings()
        Returns the object with the settings used for calls to deleteLake.
      • deleteLakeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteLakeRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteLakeOperationSettings()
        Returns the object with the settings used for calls to deleteLake.
      • getLakeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetLakeRequest,​Lake> getLakeSettings()
        Returns the object with the settings used for calls to getLake.
      • createZoneSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateZoneRequest,​com.google.longrunning.Operation> createZoneSettings()
        Returns the object with the settings used for calls to createZone.
      • createZoneOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateZoneRequest,​Zone,​OperationMetadata> createZoneOperationSettings()
        Returns the object with the settings used for calls to createZone.
      • updateZoneSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateZoneRequest,​com.google.longrunning.Operation> updateZoneSettings()
        Returns the object with the settings used for calls to updateZone.
      • updateZoneOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateZoneRequest,​Zone,​OperationMetadata> updateZoneOperationSettings()
        Returns the object with the settings used for calls to updateZone.
      • deleteZoneSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteZoneRequest,​com.google.longrunning.Operation> deleteZoneSettings()
        Returns the object with the settings used for calls to deleteZone.
      • deleteZoneOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteZoneRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteZoneOperationSettings()
        Returns the object with the settings used for calls to deleteZone.
      • getZoneSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetZoneRequest,​Zone> getZoneSettings()
        Returns the object with the settings used for calls to getZone.
      • createAssetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateAssetRequest,​com.google.longrunning.Operation> createAssetSettings()
        Returns the object with the settings used for calls to createAsset.
      • createAssetOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateAssetRequest,​Asset,​OperationMetadata> createAssetOperationSettings()
        Returns the object with the settings used for calls to createAsset.
      • updateAssetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateAssetRequest,​com.google.longrunning.Operation> updateAssetSettings()
        Returns the object with the settings used for calls to updateAsset.
      • updateAssetOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateAssetRequest,​Asset,​OperationMetadata> updateAssetOperationSettings()
        Returns the object with the settings used for calls to updateAsset.
      • deleteAssetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteAssetRequest,​com.google.longrunning.Operation> deleteAssetSettings()
        Returns the object with the settings used for calls to deleteAsset.
      • deleteAssetOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteAssetRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteAssetOperationSettings()
        Returns the object with the settings used for calls to deleteAsset.
      • getAssetSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetAssetRequest,​Asset> getAssetSettings()
        Returns the object with the settings used for calls to getAsset.
      • createTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateTaskRequest,​com.google.longrunning.Operation> createTaskSettings()
        Returns the object with the settings used for calls to createTask.
      • createTaskOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateTaskRequest,​Task,​OperationMetadata> createTaskOperationSettings()
        Returns the object with the settings used for calls to createTask.
      • updateTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateTaskRequest,​com.google.longrunning.Operation> updateTaskSettings()
        Returns the object with the settings used for calls to updateTask.
      • updateTaskOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateTaskRequest,​Task,​OperationMetadata> updateTaskOperationSettings()
        Returns the object with the settings used for calls to updateTask.
      • deleteTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteTaskRequest,​com.google.longrunning.Operation> deleteTaskSettings()
        Returns the object with the settings used for calls to deleteTask.
      • deleteTaskOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteTaskRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteTaskOperationSettings()
        Returns the object with the settings used for calls to deleteTask.
      • getTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetTaskRequest,​Task> getTaskSettings()
        Returns the object with the settings used for calls to getTask.
      • runTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RunTaskRequest,​RunTaskResponse> runTaskSettings()
        Returns the object with the settings used for calls to runTask.
      • getJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetJobRequest,​Job> getJobSettings()
        Returns the object with the settings used for calls to getJob.
      • cancelJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CancelJobRequest,​com.google.protobuf.Empty> cancelJobSettings()
        Returns the object with the settings used for calls to cancelJob.
      • createEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateEnvironmentRequest,​com.google.longrunning.Operation> createEnvironmentSettings()
        Returns the object with the settings used for calls to createEnvironment.
      • createEnvironmentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateEnvironmentRequest,​Environment,​OperationMetadata> createEnvironmentOperationSettings()
        Returns the object with the settings used for calls to createEnvironment.
      • updateEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateEnvironmentRequest,​com.google.longrunning.Operation> updateEnvironmentSettings()
        Returns the object with the settings used for calls to updateEnvironment.
      • updateEnvironmentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateEnvironmentRequest,​Environment,​OperationMetadata> updateEnvironmentOperationSettings()
        Returns the object with the settings used for calls to updateEnvironment.
      • deleteEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteEnvironmentRequest,​com.google.longrunning.Operation> deleteEnvironmentSettings()
        Returns the object with the settings used for calls to deleteEnvironment.
      • deleteEnvironmentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteEnvironmentRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteEnvironmentOperationSettings()
        Returns the object with the settings used for calls to deleteEnvironment.
      • getEnvironmentSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetEnvironmentRequest,​Environment> getEnvironmentSettings()
        Returns the object with the settings used for calls to getEnvironment.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​DataplexServiceClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • 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.
      • getDefaultMtlsEndpoint

        public static String getDefaultMtlsEndpoint()
        Returns the default mTLS 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()
      • defaultGrpcApiClientHeaderProviderBuilder

        @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 defaultGrpcApiClientHeaderProviderBuilder()
      • defaultHttpJsonApiClientHeaderProviderBuilder

        @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 defaultHttpJsonApiClientHeaderProviderBuilder()
      • defaultApiClientHeaderProviderBuilder

        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()