Class MigrationServiceGrpc.MigrationServiceFutureStub (0.20.0)

publicstaticfinalclass MigrationServiceGrpc.MigrationServiceFutureStubextendsAbstractFutureStub<MigrationServiceGrpc.MigrationServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service MigrationService.

Service to handle EDW migrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MigrationServiceGrpc.MigrationServiceFutureStub

Inherited Members

io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protectedMigrationServiceGrpc.MigrationServiceFutureStubbuild(Channelchannel,CallOptionscallOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
MigrationServiceGrpc.MigrationServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createMigrationWorkflow(CreateMigrationWorkflowRequest request)

publicListenableFuture<MigrationWorkflow>createMigrationWorkflow(CreateMigrationWorkflowRequestrequest)

Creates a migration workflow.

Parameter
Name Description
request CreateMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request)

publicListenableFuture<Empty>deleteMigrationWorkflow(DeleteMigrationWorkflowRequestrequest)

Deletes a migration workflow by name.

Parameter
Name Description
request DeleteMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getMigrationSubtask(GetMigrationSubtaskRequest request)

publicListenableFuture<MigrationSubtask>getMigrationSubtask(GetMigrationSubtaskRequestrequest)

Gets a previously created migration subtask.

Parameter
Name Description
request GetMigrationSubtaskRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationSubtask>

getMigrationWorkflow(GetMigrationWorkflowRequest request)

publicListenableFuture<MigrationWorkflow>getMigrationWorkflow(GetMigrationWorkflowRequestrequest)

Gets a previously created migration workflow.

Parameter
Name Description
request GetMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MigrationWorkflow>

listMigrationSubtasks(ListMigrationSubtasksRequest request)

publicListenableFuture<ListMigrationSubtasksResponse>listMigrationSubtasks(ListMigrationSubtasksRequestrequest)

Lists previously created migration subtasks.

Parameter
Name Description
request ListMigrationSubtasksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMigrationSubtasksResponse>

listMigrationWorkflows(ListMigrationWorkflowsRequest request)

publicListenableFuture<ListMigrationWorkflowsResponse>listMigrationWorkflows(ListMigrationWorkflowsRequestrequest)

Lists previously created migration workflow.

Parameter
Name Description
request ListMigrationWorkflowsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMigrationWorkflowsResponse>

startMigrationWorkflow(StartMigrationWorkflowRequest request)

publicListenableFuture<Empty>startMigrationWorkflow(StartMigrationWorkflowRequestrequest)

Starts a previously created migration workflow. I.e., the state transitions from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. An error will be signaled if the state is anything other than DRAFT or RUNNING.

Parameter
Name Description
request StartMigrationWorkflowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.