Send feedback
Class StorageTransferServiceSettings.Builder (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.11.0 keyboard_arrow_down
public static class StorageTransferServiceSettings . Builder extends ClientSettings . Builder<StorageTransferServiceSettings , StorageTransferServiceSettings . Builder >
Builder for StorageTransferServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(StorageTransferServiceSettings settings)
protected Builder ( StorageTransferServiceSettings settings )
Parameter
Builder(StorageTransferServiceStubSettings.Builder stubSettings)
protected Builder ( StorageTransferServiceStubSettings . Builder stubSettings )
Parameter
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.
Parameter
Returns
build()
public StorageTransferServiceSettings build ()
Returns
Overrides
Exceptions
createAgentPoolSettings()
public UnaryCallSettings . Builder<TransferProto . CreateAgentPoolRequest , TransferTypes . AgentPool > createAgentPoolSettings ()
Returns the builder for the settings used for calls to createAgentPool.
Returns
createTransferJobSettings()
public UnaryCallSettings . Builder<TransferProto . CreateTransferJobRequest , TransferTypes . TransferJob > createTransferJobSettings ()
Returns the builder for the settings used for calls to createTransferJob.
Returns
deleteAgentPoolSettings()
public UnaryCallSettings . Builder<TransferProto . DeleteAgentPoolRequest , Empty > deleteAgentPoolSettings ()
Returns the builder for the settings used for calls to deleteAgentPool.
Returns
deleteTransferJobSettings()
public UnaryCallSettings . Builder<TransferProto . DeleteTransferJobRequest , Empty > deleteTransferJobSettings ()
Returns the builder for the settings used for calls to deleteTransferJob.
Returns
getAgentPoolSettings()
public UnaryCallSettings . Builder<TransferProto . GetAgentPoolRequest , TransferTypes . AgentPool > getAgentPoolSettings ()
Returns the builder for the settings used for calls to getAgentPool.
Returns
getGoogleServiceAccountSettings()
public UnaryCallSettings . Builder<TransferProto . GetGoogleServiceAccountRequest , TransferTypes . GoogleServiceAccount > getGoogleServiceAccountSettings ()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
Returns
getStubSettingsBuilder()
public StorageTransferServiceStubSettings . Builder getStubSettingsBuilder ()
Returns
getTransferJobSettings()
public UnaryCallSettings . Builder<TransferProto . GetTransferJobRequest , TransferTypes . TransferJob > getTransferJobSettings ()
Returns the builder for the settings used for calls to getTransferJob.
Returns
listAgentPoolsSettings()
public PagedCallSettings . Builder<TransferProto . ListAgentPoolsRequest , TransferProto . ListAgentPoolsResponse , StorageTransferServiceClient . ListAgentPoolsPagedResponse > listAgentPoolsSettings ()
Returns the builder for the settings used for calls to listAgentPools.
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
updateAgentPoolSettings()
public UnaryCallSettings . Builder<TransferProto . UpdateAgentPoolRequest , TransferTypes . AgentPool > updateAgentPoolSettings ()
Returns the builder for the settings used for calls to updateAgentPool.
Returns
updateTransferJobSettings()
public UnaryCallSettings . Builder<TransferProto . UpdateTransferJobRequest , TransferTypes . TransferJob > updateTransferJobSettings ()
Returns the builder for the settings used for calls to updateTransferJob.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-19 UTC."],[],[]]