Class DataTransferServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
com.google.cloud.bigquery.datatransfer.v1.stub.DataTransferServiceStubSettings.Builder
- Enclosing class:
- DataTransferServiceStubSettings
public static class DataTransferServiceStubSettings.Builder
extends StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
Builder for DataTransferServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataTransferServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to checkValidCreds.Returns the builder for the settings used for calls to createTransferConfig.UnaryCallSettings.Builder<DeleteTransferConfigRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTransferConfig.UnaryCallSettings.Builder<DeleteTransferRunRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTransferRun.UnaryCallSettings.Builder<EnrollDataSourcesRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to enrollDataSources.Returns the builder for the settings used for calls to getDataSource.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getTransferConfig.Returns the builder for the settings used for calls to getTransferRun.PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse, DataTransferServiceClient.ListDataSourcesPagedResponse> Returns the builder for the settings used for calls to listDataSources.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, DataTransferServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse, DataTransferServiceClient.ListTransferConfigsPagedResponse> Returns the builder for the settings used for calls to listTransferConfigs.PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse, DataTransferServiceClient.ListTransferLogsPagedResponse> Returns the builder for the settings used for calls to listTransferLogs.PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse, DataTransferServiceClient.ListTransferRunsPagedResponse> Returns the builder for the settings used for calls to listTransferRuns.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 startManualTransferRuns.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> UnaryCallSettings.Builder<UnenrollDataSourcesRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to unenrollDataSources.Returns the builder for the settings used for calls to updateTransferConfig.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public DataTransferServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
getDataSourceSettings
Returns the builder for the settings used for calls to getDataSource. -
listDataSourcesSettings
public PagedCallSettings.Builder<ListDataSourcesRequest,ListDataSourcesResponse, listDataSourcesSettings()DataTransferServiceClient.ListDataSourcesPagedResponse> Returns the builder for the settings used for calls to listDataSources. -
createTransferConfigSettings
public UnaryCallSettings.Builder<CreateTransferConfigRequest,TransferConfig> createTransferConfigSettings()Returns the builder for the settings used for calls to createTransferConfig. -
updateTransferConfigSettings
public UnaryCallSettings.Builder<UpdateTransferConfigRequest,TransferConfig> updateTransferConfigSettings()Returns the builder for the settings used for calls to updateTransferConfig. -
deleteTransferConfigSettings
public UnaryCallSettings.Builder<DeleteTransferConfigRequest,com.google.protobuf.Empty> deleteTransferConfigSettings()Returns the builder for the settings used for calls to deleteTransferConfig. -
getTransferConfigSettings
public UnaryCallSettings.Builder<GetTransferConfigRequest,TransferConfig> getTransferConfigSettings()Returns the builder for the settings used for calls to getTransferConfig. -
listTransferConfigsSettings
public PagedCallSettings.Builder<ListTransferConfigsRequest,ListTransferConfigsResponse, listTransferConfigsSettings()DataTransferServiceClient.ListTransferConfigsPagedResponse> Returns the builder for the settings used for calls to listTransferConfigs. -
scheduleTransferRunsSettings
@Deprecated public 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 UnaryCallSettings.Builder<StartManualTransferRunsRequest,StartManualTransferRunsResponse> startManualTransferRunsSettings()Returns the builder for the settings used for calls to startManualTransferRuns. -
getTransferRunSettings
Returns the builder for the settings used for calls to getTransferRun. -
deleteTransferRunSettings
public UnaryCallSettings.Builder<DeleteTransferRunRequest,com.google.protobuf.Empty> deleteTransferRunSettings()Returns the builder for the settings used for calls to deleteTransferRun. -
listTransferRunsSettings
public PagedCallSettings.Builder<ListTransferRunsRequest,ListTransferRunsResponse, listTransferRunsSettings()DataTransferServiceClient.ListTransferRunsPagedResponse> Returns the builder for the settings used for calls to listTransferRuns. -
listTransferLogsSettings
public PagedCallSettings.Builder<ListTransferLogsRequest,ListTransferLogsResponse, listTransferLogsSettings()DataTransferServiceClient.ListTransferLogsPagedResponse> Returns the builder for the settings used for calls to listTransferLogs. -
checkValidCredsSettings
public UnaryCallSettings.Builder<CheckValidCredsRequest,CheckValidCredsResponse> checkValidCredsSettings()Returns the builder for the settings used for calls to checkValidCreds. -
enrollDataSourcesSettings
public UnaryCallSettings.Builder<EnrollDataSourcesRequest,com.google.protobuf.Empty> enrollDataSourcesSettings()Returns the builder for the settings used for calls to enrollDataSources. -
unenrollDataSourcesSettings
public UnaryCallSettings.Builder<UnenrollDataSourcesRequest,com.google.protobuf.Empty> unenrollDataSourcesSettings()Returns the builder for the settings used for calls to unenrollDataSources. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()DataTransferServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder> - Throws:
IOException
-