Class MigrationServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<MigrationServiceSettings,MigrationServiceSettings.Builder>
-
- com.google.cloud.bigquery.migration.v2.MigrationServiceSettings.Builder
-
- Enclosing class:
- MigrationServiceSettings
public static class MigrationServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<MigrationServiceSettings,MigrationServiceSettings.Builder>
Builder for MigrationServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MigrationServiceSettings settings)
protected
Builder(MigrationServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationServiceSettings.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.MigrationServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMigrationWorkflowRequest,MigrationWorkflow>
createMigrationWorkflowSettings()
Returns the builder for the settings used for calls to createMigrationWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteMigrationWorkflowRequest,com.google.protobuf.Empty>
deleteMigrationWorkflowSettings()
Returns the builder for the settings used for calls to deleteMigrationWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMigrationSubtaskRequest,MigrationSubtask>
getMigrationSubtaskSettings()
Returns the builder for the settings used for calls to getMigrationSubtask.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMigrationWorkflowRequest,MigrationWorkflow>
getMigrationWorkflowSettings()
Returns the builder for the settings used for calls to getMigrationWorkflow.MigrationServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListMigrationSubtasksRequest,ListMigrationSubtasksResponse,MigrationServiceClient.ListMigrationSubtasksPagedResponse>
listMigrationSubtasksSettings()
Returns the builder for the settings used for calls to listMigrationSubtasks.com.google.api.gax.rpc.PagedCallSettings.Builder<ListMigrationWorkflowsRequest,ListMigrationWorkflowsResponse,MigrationServiceClient.ListMigrationWorkflowsPagedResponse>
listMigrationWorkflowsSettings()
Returns the builder for the settings used for calls to listMigrationWorkflows.com.google.api.gax.rpc.UnaryCallSettings.Builder<StartMigrationWorkflowRequest,com.google.protobuf.Empty>
startMigrationWorkflowSettings()
Returns the builder for the settings used for calls to startMigrationWorkflow.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(MigrationServiceSettings settings)
-
Builder
protected Builder(MigrationServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public MigrationServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public MigrationServiceSettings.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.
-
createMigrationWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateMigrationWorkflowRequest,MigrationWorkflow> createMigrationWorkflowSettings()
Returns the builder for the settings used for calls to createMigrationWorkflow.
-
getMigrationWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMigrationWorkflowRequest,MigrationWorkflow> getMigrationWorkflowSettings()
Returns the builder for the settings used for calls to getMigrationWorkflow.
-
listMigrationWorkflowsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListMigrationWorkflowsRequest,ListMigrationWorkflowsResponse,MigrationServiceClient.ListMigrationWorkflowsPagedResponse> listMigrationWorkflowsSettings()
Returns the builder for the settings used for calls to listMigrationWorkflows.
-
deleteMigrationWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteMigrationWorkflowRequest,com.google.protobuf.Empty> deleteMigrationWorkflowSettings()
Returns the builder for the settings used for calls to deleteMigrationWorkflow.
-
startMigrationWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<StartMigrationWorkflowRequest,com.google.protobuf.Empty> startMigrationWorkflowSettings()
Returns the builder for the settings used for calls to startMigrationWorkflow.
-
getMigrationSubtaskSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMigrationSubtaskRequest,MigrationSubtask> getMigrationSubtaskSettings()
Returns the builder for the settings used for calls to getMigrationSubtask.
-
listMigrationSubtasksSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListMigrationSubtasksRequest,ListMigrationSubtasksResponse,MigrationServiceClient.ListMigrationSubtasksPagedResponse> listMigrationSubtasksSettings()
Returns the builder for the settings used for calls to listMigrationSubtasks.
-
build
public MigrationServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<MigrationServiceSettings,MigrationServiceSettings.Builder>
- Throws:
IOException
-
-