Class MigrationServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.stub.MigrationServiceStubSettings.Builder
-
- Enclosing class:
- MigrationServiceStubSettings
public static class MigrationServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder>
Builder for MigrationServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(MigrationServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationServiceStubSettings.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.MigrationServiceStubSettings
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.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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
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(MigrationServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public MigrationServiceStubSettings.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()
-
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 MigrationServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<MigrationServiceStubSettings,MigrationServiceStubSettings.Builder>
- Throws:
IOException
-
-