public static class DataTransferServiceSettings.Builder extends ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DataTransferServiceSettings settings) |
protected |
Builder(DataTransferServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DataTransferServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DataTransferServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest,com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> |
checkValidCredsSettings()
Returns the builder for the settings used for calls to checkValidCreds.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
createTransferConfigSettings()
Returns the builder for the settings used for calls to createTransferConfig.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest,Empty> |
deleteTransferConfigSettings()
Returns the builder for the settings used for calls to deleteTransferConfig.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest,Empty> |
deleteTransferRunSettings()
Returns the builder for the settings used for calls to deleteTransferRun.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest,com.google.cloud.bigquery.datatransfer.v1.DataSource> |
getDataSourceSettings()
Returns the builder for the settings used for calls to getDataSource.
|
DataTransferServiceStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
getTransferConfigSettings()
Returns the builder for the settings used for calls to getTransferConfig.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest,com.google.cloud.bigquery.datatransfer.v1.TransferRun> |
getTransferRunSettings()
Returns the builder for the settings used for calls to getTransferRun.
|
PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse> |
listDataSourcesSettings()
Returns the builder for the settings used for calls to listDataSources.
|
PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse> |
listTransferConfigsSettings()
Returns the builder for the settings used for calls to listTransferConfigs.
|
PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse> |
listTransferLogsSettings()
Returns the builder for the settings used for calls to listTransferLogs.
|
PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse> |
listTransferRunsSettings()
Returns the builder for the settings used for calls to listTransferRuns.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> |
scheduleTransferRunsSettings()
Returns the builder for the settings used for calls to scheduleTransferRuns.
|
UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> |
updateTransferConfigSettings()
Returns the builder for the settings used for calls to updateTransferConfig.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DataTransferServiceSettings settings)
protected Builder(DataTransferServiceStubSettings.Builder stubSettings)
public DataTransferServiceStubSettings.Builder getStubSettingsBuilder()
public DataTransferServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest,com.google.cloud.bigquery.datatransfer.v1.DataSource> getDataSourceSettings()
public PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesRequest,com.google.cloud.bigquery.datatransfer.v1.ListDataSourcesResponse,DataTransferServiceClient.ListDataSourcesPagedResponse> listDataSourcesSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> createTransferConfigSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.UpdateTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> updateTransferConfigSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest,Empty> deleteTransferConfigSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest,com.google.cloud.bigquery.datatransfer.v1.TransferConfig> getTransferConfigSettings()
public PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferConfigsResponse,DataTransferServiceClient.ListTransferConfigsPagedResponse> listTransferConfigsSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsResponse> scheduleTransferRunsSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest,com.google.cloud.bigquery.datatransfer.v1.TransferRun> getTransferRunSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest,Empty> deleteTransferRunSettings()
public PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferRunsResponse,DataTransferServiceClient.ListTransferRunsPagedResponse> listTransferRunsSettings()
public PagedCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsRequest,com.google.cloud.bigquery.datatransfer.v1.ListTransferLogsResponse,DataTransferServiceClient.ListTransferLogsPagedResponse> listTransferLogsSettings()
public UnaryCallSettings.Builder<com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest,com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse> checkValidCredsSettings()
public DataTransferServiceSettings build() throws IOException
build
in class ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.