public static class StorageTransferServiceStubSettings.Builder extends StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
Builder for StorageTransferServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(StorageTransferServiceStubSettings settings)
protected Builder(StorageTransferServiceStubSettings settings)
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.
build()
public StorageTransferServiceStubSettings build()
Overrides
createAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool> createAgentPoolSettings()
Returns the builder for the settings used for calls to createAgentPool.
createTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.
deleteAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,Empty> deleteAgentPoolSettings()
Returns the builder for the settings used for calls to deleteAgentPool.
deleteTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,Empty> deleteTransferJobSettings()
Returns the builder for the settings used for calls to deleteTransferJob.
getAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool> getAgentPoolSettings()
Returns the builder for the settings used for calls to getAgentPool.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns |
Type |
Description |
String |
|
Overrides
getGoogleServiceAccountSettings()
public UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
getTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.
listAgentPoolsSettings()
public PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse,StorageTransferServiceClient.ListAgentPoolsPagedResponse> listAgentPoolsSettings()
Returns the builder for the settings used for calls to listAgentPools.
listTransferJobsSettings()
public PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse> listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.
pauseTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,Empty> pauseTransferOperationSettings()
Returns the builder for the settings used for calls to pauseTransfer.
resumeTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,Empty> resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.
runTransferJobOperationSettings()
public OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,Empty,TransferTypes.TransferOperation> runTransferJobOperationSettings()
Returns the builder for the settings used for calls to runTransferJob.
runTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,Operation> runTransferJobSettings()
Returns the builder for the settings used for calls to runTransferJob.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.UpdateAgentPoolRequest,TransferTypes.AgentPool> updateAgentPoolSettings()
Returns the builder for the settings used for calls to updateAgentPool.
updateTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.