Class DataScanServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<DataScanServiceStubSettings,DataScanServiceStubSettings.Builder>
-
- com.google.cloud.dataplex.v1.stub.DataScanServiceStubSettings.Builder
-
- Enclosing class:
- DataScanServiceStubSettings
public static class DataScanServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DataScanServiceStubSettings,DataScanServiceStubSettings.Builder>
Builder for DataScanServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataScanServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataScanServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DataScanServiceStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDataScanRequest,DataScan,OperationMetadata>
createDataScanOperationSettings()
Returns the builder for the settings used for calls to createDataScan.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDataScanRequest,com.google.longrunning.Operation>
createDataScanSettings()
Returns the builder for the settings used for calls to createDataScan.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDataScanRequest,com.google.protobuf.Empty,OperationMetadata>
deleteDataScanOperationSettings()
Returns the builder for the settings used for calls to deleteDataScan.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDataScanRequest,com.google.longrunning.Operation>
deleteDataScanSettings()
Returns the builder for the settings used for calls to deleteDataScan.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataScanJobRequest,DataScanJob>
getDataScanJobSettings()
Returns the builder for the settings used for calls to getDataScanJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataScanRequest,DataScan>
getDataScanSettings()
Returns the builder for the settings used for calls to getDataScan.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataScanJobsRequest,ListDataScanJobsResponse,DataScanServiceClient.ListDataScanJobsPagedResponse>
listDataScanJobsSettings()
Returns the builder for the settings used for calls to listDataScanJobs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataScansRequest,ListDataScansResponse,DataScanServiceClient.ListDataScansPagedResponse>
listDataScansSettings()
Returns the builder for the settings used for calls to listDataScans.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataScanServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunDataScanRequest,RunDataScanResponse>
runDataScanSettings()
Returns the builder for the settings used for calls to runDataScan.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDataScanRequest,DataScan,OperationMetadata>
updateDataScanOperationSettings()
Returns the builder for the settings used for calls to updateDataScan.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDataScanRequest,com.google.longrunning.Operation>
updateDataScanSettings()
Returns the builder for the settings used for calls to updateDataScan.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataScanServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public DataScanServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createDataScanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDataScanRequest,com.google.longrunning.Operation> createDataScanSettings()
Returns the builder for the settings used for calls to createDataScan.
-
createDataScanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDataScanRequest,DataScan,OperationMetadata> createDataScanOperationSettings()
Returns the builder for the settings used for calls to createDataScan.
-
updateDataScanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDataScanRequest,com.google.longrunning.Operation> updateDataScanSettings()
Returns the builder for the settings used for calls to updateDataScan.
-
updateDataScanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDataScanRequest,DataScan,OperationMetadata> updateDataScanOperationSettings()
Returns the builder for the settings used for calls to updateDataScan.
-
deleteDataScanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDataScanRequest,com.google.longrunning.Operation> deleteDataScanSettings()
Returns the builder for the settings used for calls to deleteDataScan.
-
deleteDataScanOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteDataScanRequest,com.google.protobuf.Empty,OperationMetadata> deleteDataScanOperationSettings()
Returns the builder for the settings used for calls to deleteDataScan.
-
getDataScanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataScanRequest,DataScan> getDataScanSettings()
Returns the builder for the settings used for calls to getDataScan.
-
listDataScansSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataScansRequest,ListDataScansResponse,DataScanServiceClient.ListDataScansPagedResponse> listDataScansSettings()
Returns the builder for the settings used for calls to listDataScans.
-
runDataScanSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunDataScanRequest,RunDataScanResponse> runDataScanSettings()
Returns the builder for the settings used for calls to runDataScan.
-
getDataScanJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataScanJobRequest,DataScanJob> getDataScanJobSettings()
Returns the builder for the settings used for calls to getDataScanJob.
-
listDataScanJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataScanJobsRequest,ListDataScanJobsResponse,DataScanServiceClient.ListDataScanJobsPagedResponse> listDataScanJobsSettings()
Returns the builder for the settings used for calls to listDataScanJobs.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataScanServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public DataScanServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<DataScanServiceStubSettings,DataScanServiceStubSettings.Builder>
- Throws:
IOException
-
-