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 ClientSettings.Builder<MigrationServiceSettings,MigrationServiceSettings.Builder>
Builder for MigrationServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MigrationServiceSettings settings) protectedBuilder(MigrationServiceStubSettings.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 createMigrationWorkflow.UnaryCallSettings.Builder<DeleteMigrationWorkflowRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteMigrationWorkflow.Returns the builder for the settings used for calls to getMigrationSubtask.Returns the builder for the settings used for calls to getMigrationWorkflow.PagedCallSettings.Builder<ListMigrationSubtasksRequest,ListMigrationSubtasksResponse, MigrationServiceClient.ListMigrationSubtasksPagedResponse> Returns the builder for the settings used for calls to listMigrationSubtasks.PagedCallSettings.Builder<ListMigrationWorkflowsRequest,ListMigrationWorkflowsResponse, MigrationServiceClient.ListMigrationWorkflowsPagedResponse> Returns the builder for the settings used for calls to listMigrationWorkflows.UnaryCallSettings.Builder<StartMigrationWorkflowRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to startMigrationWorkflow.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 MigrationServiceSettings.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.
-
createMigrationWorkflowSettings
public UnaryCallSettings.Builder<CreateMigrationWorkflowRequest,MigrationWorkflow> createMigrationWorkflowSettings()Returns the builder for the settings used for calls to createMigrationWorkflow. -
getMigrationWorkflowSettings
public UnaryCallSettings.Builder<GetMigrationWorkflowRequest,MigrationWorkflow> getMigrationWorkflowSettings()Returns the builder for the settings used for calls to getMigrationWorkflow. -
listMigrationWorkflowsSettings
public PagedCallSettings.Builder<ListMigrationWorkflowsRequest,ListMigrationWorkflowsResponse, listMigrationWorkflowsSettings()MigrationServiceClient.ListMigrationWorkflowsPagedResponse> Returns the builder for the settings used for calls to listMigrationWorkflows. -
deleteMigrationWorkflowSettings
public UnaryCallSettings.Builder<DeleteMigrationWorkflowRequest,com.google.protobuf.Empty> deleteMigrationWorkflowSettings()Returns the builder for the settings used for calls to deleteMigrationWorkflow. -
startMigrationWorkflowSettings
public UnaryCallSettings.Builder<StartMigrationWorkflowRequest,com.google.protobuf.Empty> startMigrationWorkflowSettings()Returns the builder for the settings used for calls to startMigrationWorkflow. -
getMigrationSubtaskSettings
public UnaryCallSettings.Builder<GetMigrationSubtaskRequest,MigrationSubtask> getMigrationSubtaskSettings()Returns the builder for the settings used for calls to getMigrationSubtask. -
listMigrationSubtasksSettings
public PagedCallSettings.Builder<ListMigrationSubtasksRequest,ListMigrationSubtasksResponse, listMigrationSubtasksSettings()MigrationServiceClient.ListMigrationSubtasksPagedResponse> Returns the builder for the settings used for calls to listMigrationSubtasks. -
build
- Specified by:
buildin classClientSettings.Builder<MigrationServiceSettings,MigrationServiceSettings.Builder> - Throws:
IOException
-