Class StorageTransferServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<StorageTransferServiceSettings,StorageTransferServiceSettings.Builder>
com.google.storagetransfer.v1.proto.StorageTransferServiceSettings.Builder
- Enclosing class:
- StorageTransferServiceSettings
public static class StorageTransferServiceSettings.Builder
extends ClientSettings.Builder<StorageTransferServiceSettings,StorageTransferServiceSettings.Builder>
Builder for StorageTransferServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(StorageTransferServiceSettings settings) protectedBuilder(StorageTransferServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createAgentPool.Returns the builder for the settings used for calls to createTransferJob.UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteAgentPool.UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteTransferJob.Returns the builder for the settings used for calls to getAgentPool.UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> Returns the builder for the settings used for calls to getGoogleServiceAccount.Returns the builder for the settings used for calls to getTransferJob.PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse, StorageTransferServiceClient.ListAgentPoolsPagedResponse> Returns the builder for the settings used for calls to listAgentPools.PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse, StorageTransferServiceClient.ListTransferJobsPagedResponse> Returns the builder for the settings used for calls to listTransferJobs.UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to pauseTransfer.UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to resumeTransfer.OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.protobuf.Empty, TransferTypes.TransferOperation> Returns the builder for the settings used for calls to runTransferJob.Returns the builder for the settings used for calls to runTransferJob.Returns the builder for the settings used for calls to updateAgentPool.Returns the builder for the settings used for calls to updateTransferJob.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
getGoogleServiceAccountSettings
public UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()Returns the builder for the settings used for calls to getGoogleServiceAccount. -
createTransferJobSettings
public UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()Returns the builder for the settings used for calls to createTransferJob. -
updateTransferJobSettings
public UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()Returns the builder for the settings used for calls to updateTransferJob. -
getTransferJobSettings
public UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()Returns the builder for the settings used for calls to getTransferJob. -
listTransferJobsSettings
public PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse, listTransferJobsSettings()StorageTransferServiceClient.ListTransferJobsPagedResponse> Returns the builder for the settings used for calls to listTransferJobs. -
pauseTransferOperationSettings
public UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,com.google.protobuf.Empty> pauseTransferOperationSettings()Returns the builder for the settings used for calls to pauseTransfer. -
resumeTransferOperationSettings
public UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,com.google.protobuf.Empty> resumeTransferOperationSettings()Returns the builder for the settings used for calls to resumeTransfer. -
runTransferJobSettings
public UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,Operation> runTransferJobSettings()Returns the builder for the settings used for calls to runTransferJob. -
runTransferJobOperationSettings
public OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.protobuf.Empty, runTransferJobOperationSettings()TransferTypes.TransferOperation> Returns the builder for the settings used for calls to runTransferJob. -
deleteTransferJobSettings
public UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,com.google.protobuf.Empty> deleteTransferJobSettings()Returns the builder for the settings used for calls to deleteTransferJob. -
createAgentPoolSettings
public UnaryCallSettings.Builder<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool> createAgentPoolSettings()Returns the builder for the settings used for calls to createAgentPool. -
updateAgentPoolSettings
public UnaryCallSettings.Builder<TransferProto.UpdateAgentPoolRequest,TransferTypes.AgentPool> updateAgentPoolSettings()Returns the builder for the settings used for calls to updateAgentPool. -
getAgentPoolSettings
public UnaryCallSettings.Builder<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool> getAgentPoolSettings()Returns the builder for the settings used for calls to getAgentPool. -
listAgentPoolsSettings
public PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse, listAgentPoolsSettings()StorageTransferServiceClient.ListAgentPoolsPagedResponse> Returns the builder for the settings used for calls to listAgentPools. -
deleteAgentPoolSettings
public UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,com.google.protobuf.Empty> deleteAgentPoolSettings()Returns the builder for the settings used for calls to deleteAgentPool. -
build
- Specified by:
buildin classClientSettings.Builder<StorageTransferServiceSettings,StorageTransferServiceSettings.Builder> - Throws:
IOException
-