- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public static class StorageTransferServiceSettings.Builder extends ClientSettings.Builder<StorageTransferServiceSettings,StorageTransferServiceSettings.Builder>
Builder for StorageTransferServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(StorageTransferServiceSettings settings)
protected Builder(StorageTransferServiceSettings settings)
Name | Description |
settings | StorageTransferServiceSettings |
Builder(StorageTransferServiceStubSettings.Builder stubSettings)
protected Builder(StorageTransferServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | StorageTransferServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageTransferServiceSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
StorageTransferServiceSettings.Builder |
build()
public StorageTransferServiceSettings build()
Type | Description |
StorageTransferServiceSettings |
Type | Description |
IOException |
createTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.
Type | Description |
Builder<CreateTransferJobRequest,TransferJob> |
getGoogleServiceAccountSettings()
public UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
Type | Description |
Builder<GetGoogleServiceAccountRequest,GoogleServiceAccount> |
getStubSettingsBuilder()
public StorageTransferServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
StorageTransferServiceStubSettings.Builder |
getTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.
Type | Description |
Builder<GetTransferJobRequest,TransferJob> |
listTransferJobsSettings()
public PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse> listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.
Type | Description |
Builder<ListTransferJobsRequest,ListTransferJobsResponse,ListTransferJobsPagedResponse> |
pauseTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,Empty> pauseTransferOperationSettings()
Returns the builder for the settings used for calls to pauseTransfer.
Type | Description |
Builder<PauseTransferOperationRequest,Empty> |
resumeTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,Empty> resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.
Type | Description |
Builder<ResumeTransferOperationRequest,Empty> |
runTransferJobOperationSettings()
public OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,Empty,TransferTypes.TransferOperation> runTransferJobOperationSettings()
Returns the builder for the settings used for calls to runTransferJob.
Type | Description |
Builder<RunTransferJobRequest,Empty,TransferOperation> |
runTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,Operation> runTransferJobSettings()
Returns the builder for the settings used for calls to runTransferJob.
Type | Description |
Builder<RunTransferJobRequest,Operation> |
updateTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.
Type | Description |
Builder<UpdateTransferJobRequest,TransferJob> |