Class MigrationServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder>
com.google.cloud.bigquery.migration.v2.stub.MigrationServiceStubSettings.Builder
- Enclosing class:
- MigrationServiceStubSettings
public static class MigrationServiceStubSettings.Builder
extends StubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder>
Builder for MigrationServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MigrationServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public MigrationServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder> - Throws:
IOException
-