public static class StorageTransferServiceStubSettings.Builder extends StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
Builder for StorageTransferServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(StorageTransferServiceStubSettings settings)
protected Builder(StorageTransferServiceStubSettings settings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageTransferServiceStubSettings.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.
Parameter
Returns
build()
public StorageTransferServiceStubSettings build()
Returns
Overrides
Exceptions
createTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.
Returns
getGoogleServiceAccountSettings()
public UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
Returns
getTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.
Returns
listTransferJobsSettings()
public PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse> listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.
Returns
pauseTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,Empty> pauseTransferOperationSettings()
Returns the builder for the settings used for calls to pauseTransfer.
Returns
resumeTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,Empty> resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.
Returns
runTransferJobOperationSettings()
public OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,Empty,TransferTypes.TransferOperation> runTransferJobOperationSettings()
Returns the builder for the settings used for calls to runTransferJob.
Returns
runTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,Operation> runTransferJobSettings()
Returns the builder for the settings used for calls to runTransferJob.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.
Returns