public static class DataTransferServiceStubSettings.Builder extends StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DataTransferServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
DataTransferServiceStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DataTransferServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DataTransferServiceStubSettings settings)
public DataTransferServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 DataTransferServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.