Class StorageTransferServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
-
- com.google.storagetransfer.v1.proto.stub.StorageTransferServiceStubSettings.Builder
-
- Enclosing class:
- StorageTransferServiceStubSettings
public static class StorageTransferServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
Builder for StorageTransferServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(StorageTransferServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageTransferServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.StorageTransferServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool>
createAgentPoolSettings()
Returns the builder for the settings used for calls to createAgentPool.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob>
createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,com.google.protobuf.Empty>
deleteAgentPoolSettings()
Returns the builder for the settings used for calls to deleteAgentPool.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,com.google.protobuf.Empty>
deleteTransferJobSettings()
Returns the builder for the settings used for calls to deleteTransferJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool>
getAgentPoolSettings()
Returns the builder for the settings used for calls to getAgentPool.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount>
getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob>
getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.com.google.api.gax.rpc.PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse,StorageTransferServiceClient.ListAgentPoolsPagedResponse>
listAgentPoolsSettings()
Returns the builder for the settings used for calls to listAgentPools.com.google.api.gax.rpc.PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse>
listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,com.google.protobuf.Empty>
pauseTransferOperationSettings()
Returns the builder for the settings used for calls to pauseTransfer.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,com.google.protobuf.Empty>
resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.com.google.api.gax.rpc.OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.protobuf.Empty,TransferTypes.TransferOperation>
runTransferJobOperationSettings()
Returns the builder for the settings used for calls to runTransferJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.longrunning.Operation>
runTransferJobSettings()
Returns the builder for the settings used for calls to runTransferJob.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.UpdateAgentPoolRequest,TransferTypes.AgentPool>
updateAgentPoolSettings()
Returns the builder for the settings used for calls to updateAgentPool.com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob>
updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(StorageTransferServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public StorageTransferServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
getGoogleServiceAccountSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetGoogleServiceAccountRequest,TransferTypes.GoogleServiceAccount> getGoogleServiceAccountSettings()
Returns the builder for the settings used for calls to getGoogleServiceAccount.
-
createTransferJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.CreateTransferJobRequest,TransferTypes.TransferJob> createTransferJobSettings()
Returns the builder for the settings used for calls to createTransferJob.
-
updateTransferJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.UpdateTransferJobRequest,TransferTypes.TransferJob> updateTransferJobSettings()
Returns the builder for the settings used for calls to updateTransferJob.
-
getTransferJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetTransferJobRequest,TransferTypes.TransferJob> getTransferJobSettings()
Returns the builder for the settings used for calls to getTransferJob.
-
listTransferJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<TransferProto.ListTransferJobsRequest,TransferProto.ListTransferJobsResponse,StorageTransferServiceClient.ListTransferJobsPagedResponse> listTransferJobsSettings()
Returns the builder for the settings used for calls to listTransferJobs.
-
pauseTransferOperationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.PauseTransferOperationRequest,com.google.protobuf.Empty> pauseTransferOperationSettings()
Returns the builder for the settings used for calls to pauseTransfer.
-
resumeTransferOperationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.ResumeTransferOperationRequest,com.google.protobuf.Empty> resumeTransferOperationSettings()
Returns the builder for the settings used for calls to resumeTransfer.
-
runTransferJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.longrunning.Operation> runTransferJobSettings()
Returns the builder for the settings used for calls to runTransferJob.
-
runTransferJobOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<TransferProto.RunTransferJobRequest,com.google.protobuf.Empty,TransferTypes.TransferOperation> runTransferJobOperationSettings()
Returns the builder for the settings used for calls to runTransferJob.
-
deleteTransferJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.DeleteTransferJobRequest,com.google.protobuf.Empty> deleteTransferJobSettings()
Returns the builder for the settings used for calls to deleteTransferJob.
-
createAgentPoolSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.CreateAgentPoolRequest,TransferTypes.AgentPool> createAgentPoolSettings()
Returns the builder for the settings used for calls to createAgentPool.
-
updateAgentPoolSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.UpdateAgentPoolRequest,TransferTypes.AgentPool> updateAgentPoolSettings()
Returns the builder for the settings used for calls to updateAgentPool.
-
getAgentPoolSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.GetAgentPoolRequest,TransferTypes.AgentPool> getAgentPoolSettings()
Returns the builder for the settings used for calls to getAgentPool.
-
listAgentPoolsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<TransferProto.ListAgentPoolsRequest,TransferProto.ListAgentPoolsResponse,StorageTransferServiceClient.ListAgentPoolsPagedResponse> listAgentPoolsSettings()
Returns the builder for the settings used for calls to listAgentPools.
-
deleteAgentPoolSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TransferProto.DeleteAgentPoolRequest,com.google.protobuf.Empty> deleteAgentPoolSettings()
Returns the builder for the settings used for calls to deleteAgentPool.
-
build
public StorageTransferServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<StorageTransferServiceStubSettings,StorageTransferServiceStubSettings.Builder>
- Throws:
IOException
-
-