Class DataTransferServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
-
- com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceSettings.Builder
-
- Enclosing class:
- DataTransferServiceSettings
public static class DataTransferServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
Builder for DataTransferServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataTransferServiceSettings settings)
protected
Builder(DataTransferServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataTransferServiceSettings.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.DataTransferServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckValidCredsRequest,CheckValidCredsResponse>
checkValidCredsSettings()
Returns the builder for the settings used for calls to checkValidCreds.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTransferConfigRequest,TransferConfig>
createTransferConfigSettings()
Returns the builder for the settings used for calls to createTransferConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTransferConfigRequest,com.google.protobuf.Empty>
deleteTransferConfigSettings()
Returns the builder for the settings used for calls to deleteTransferConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTransferRunRequest,com.google.protobuf.Empty>
deleteTransferRunSettings()
Returns the builder for the settings used for calls to deleteTransferRun.com.google.api.gax.rpc.UnaryCallSettings.Builder<EnrollDataSourcesRequest,com.google.protobuf.Empty>
enrollDataSourcesSettings()
Returns the builder for the settings used for calls to enrollDataSources.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataSourceRequest,DataSource>
getDataSourceSettings()
Returns the builder for the settings used for calls to getDataSource.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.DataTransferServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTransferConfigRequest,TransferConfig>
getTransferConfigSettings()
Returns the builder for the settings used for calls to getTransferConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTransferRunRequest,TransferRun>
getTransferRunSettings()
Returns the builder for the settings used for calls to getTransferRun.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse>
listDataSourcesSettings()
Returns the builder for the settings used for calls to listDataSources.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataTransferServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse>
listTransferConfigsSettings()
Returns the builder for the settings used for calls to listTransferConfigs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse>
listTransferLogsSettings()
Returns the builder for the settings used for calls to listTransferLogs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse>
listTransferRunsSettings()
Returns the builder for the settings used for calls to listTransferRuns.com.google.api.gax.rpc.UnaryCallSettings.Builder<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse>
scheduleTransferRunsSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse>
startManualTransferRunsSettings()
Returns the builder for the settings used for calls to startManualTransferRuns.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTransferConfigRequest,TransferConfig>
updateTransferConfigSettings()
Returns the builder for the settings used for calls to updateTransferConfig.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataTransferServiceSettings settings)
-
Builder
protected Builder(DataTransferServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DataTransferServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DataTransferServiceSettings.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.
-
getDataSourceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataSourceRequest,DataSource> getDataSourceSettings()
Returns the builder for the settings used for calls to getDataSource.
-
listDataSourcesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesSettings()
Returns the builder for the settings used for calls to listDataSources.
-
createTransferConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTransferConfigRequest,TransferConfig> createTransferConfigSettings()
Returns the builder for the settings used for calls to createTransferConfig.
-
updateTransferConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigSettings()
Returns the builder for the settings used for calls to updateTransferConfig.
-
deleteTransferConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTransferConfigRequest,com.google.protobuf.Empty> deleteTransferConfigSettings()
Returns the builder for the settings used for calls to deleteTransferConfig.
-
getTransferConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTransferConfigRequest,TransferConfig> getTransferConfigSettings()
Returns the builder for the settings used for calls to getTransferConfig.
-
listTransferConfigsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsSettings()
Returns the builder for the settings used for calls to listTransferConfigs.
-
scheduleTransferRunsSettings
@Deprecated public com.google.api.gax.rpc.UnaryCallSettings.Builder<ScheduleTransferRunsRequest,ScheduleTransferRunsResponse> scheduleTransferRunsSettings()
Deprecated.This method is deprecated and will be removed in the next major version update.Returns the builder for the settings used for calls to scheduleTransferRuns.
-
startManualTransferRunsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsSettings()
Returns the builder for the settings used for calls to startManualTransferRuns.
-
getTransferRunSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTransferRunRequest,TransferRun> getTransferRunSettings()
Returns the builder for the settings used for calls to getTransferRun.
-
deleteTransferRunSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteTransferRunRequest,com.google.protobuf.Empty> deleteTransferRunSettings()
Returns the builder for the settings used for calls to deleteTransferRun.
-
listTransferRunsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsSettings()
Returns the builder for the settings used for calls to listTransferRuns.
-
listTransferLogsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsSettings()
Returns the builder for the settings used for calls to listTransferLogs.
-
checkValidCredsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsSettings()
Returns the builder for the settings used for calls to checkValidCreds.
-
enrollDataSourcesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnrollDataSourcesRequest,com.google.protobuf.Empty> enrollDataSourcesSettings()
Returns the builder for the settings used for calls to enrollDataSources.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,DataTransferServiceClient.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 DataTransferServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
- Throws:
IOException
-
-