- 1.54.0 (latest)
- 1.53.0
- 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 StorageTransferServiceStubSettings.Builder extends StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
Builder for StorageTransferServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(StorageTransferServiceStubSettings settings)
protected Builder(StorageTransferServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
StorageTransferServiceStubSettings |
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 | |
---|---|
Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
StorageTransferServiceStubSettings.Builder |
build()
public StorageTransferServiceStubSettings build()
Returns | |
---|---|
Type | Description |
StorageTransferServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool> createAgentPoolSettings()
Returns the builder for the settings used for calls to createAgentPool.
Returns | |
---|---|
Type | Description |
Builder<CreateAgentPoolRequest,AgentPool> |
createTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.
Returns | |
---|---|
Type | Description |
Builder<CreateTransferJobRequest,TransferJob> |
deleteAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,Empty> deleteAgentPoolSettings()
Returns the builder for the settings used for calls to deleteAgentPool.
Returns | |
---|---|
Type | Description |
Builder<DeleteAgentPoolRequest,Empty> |
deleteTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,Empty> deleteTransferJobSettings()
Returns the builder for the settings used for calls to deleteTransferJob.
Returns | |
---|---|
Type | Description |
Builder<DeleteTransferJobRequest,Empty> |
getAgentPoolSettings()
public UnaryCallSettings.Builder<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool> getAgentPoolSettings()
Returns the builder for the settings used for calls to getAgentPool.
Returns | |
---|---|
Type | Description |
Builder<GetAgentPoolRequest,AgentPool> |
getGoogleServiceAccountSettings()
public UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
Returns | |
---|---|
Type | Description |
Builder<GetGoogleServiceAccountRequest,GoogleServiceAccount> |
getTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.
Returns | |
---|---|
Type | Description |
Builder<GetTransferJobRequest,TransferJob> |
listAgentPoolsSettings()
public PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse,StorageTransferServiceClient.ListAgentPoolsPagedResponse> listAgentPoolsSettings()
Returns the builder for the settings used for calls to listAgentPools.
Returns | |
---|---|
Type | Description |
Builder<ListAgentPoolsRequest,ListAgentPoolsResponse,ListAgentPoolsPagedResponse> |
listTransferJobsSettings()
public PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse> listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<PauseTransferOperationRequest,Empty> |
resumeTransferOperationSettings()
public UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,Empty> resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.
Returns | |
---|---|
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.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<RunTransferJobRequest,Operation> |
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.
Returns | |
---|---|
Type | Description |
Builder<UpdateAgentPoolRequest,AgentPool> |
updateTransferJobSettings()
public UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.
Returns | |
---|---|
Type | Description |
Builder<UpdateTransferJobRequest,TransferJob> |