Class MigrationServiceGrpc.MigrationServiceStub (0.61.0)

public static final class MigrationServiceGrpc.MigrationServiceStub extends AbstractAsyncStub<MigrationServiceGrpc.MigrationServiceStub>

A stub to allow clients to do asynchronous rpc calls to service MigrationService.

Service to handle EDW migrations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > MigrationServiceGrpc.MigrationServiceStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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(java.time.Duration)
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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected MigrationServiceGrpc.MigrationServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createMigrationWorkflow(CreateMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

public void createMigrationWorkflow(CreateMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

Creates a migration workflow.

Parameters
Name Description
request CreateMigrationWorkflowRequest
responseObserver io.grpc.stub.StreamObserver<MigrationWorkflow>

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

public void deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

Deletes a migration workflow by name.

Parameters
Name Description
request DeleteMigrationWorkflowRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getMigrationSubtask(GetMigrationSubtaskRequest request, StreamObserver<MigrationSubtask> responseObserver)

public void getMigrationSubtask(GetMigrationSubtaskRequest request, StreamObserver<MigrationSubtask> responseObserver)

Gets a previously created migration subtask.

Parameters
Name Description
request GetMigrationSubtaskRequest
responseObserver io.grpc.stub.StreamObserver<MigrationSubtask>

getMigrationWorkflow(GetMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

public void getMigrationWorkflow(GetMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

Gets a previously created migration workflow.

Parameters
Name Description
request GetMigrationWorkflowRequest
responseObserver io.grpc.stub.StreamObserver<MigrationWorkflow>

listMigrationSubtasks(ListMigrationSubtasksRequest request, StreamObserver<ListMigrationSubtasksResponse> responseObserver)

public void listMigrationSubtasks(ListMigrationSubtasksRequest request, StreamObserver<ListMigrationSubtasksResponse> responseObserver)

Lists previously created migration subtasks.

Parameters
Name Description
request ListMigrationSubtasksRequest
responseObserver io.grpc.stub.StreamObserver<ListMigrationSubtasksResponse>

listMigrationWorkflows(ListMigrationWorkflowsRequest request, StreamObserver<ListMigrationWorkflowsResponse> responseObserver)

public void listMigrationWorkflows(ListMigrationWorkflowsRequest request, StreamObserver<ListMigrationWorkflowsResponse> responseObserver)

Lists previously created migration workflow.

Parameters
Name Description
request ListMigrationWorkflowsRequest
responseObserver io.grpc.stub.StreamObserver<ListMigrationWorkflowsResponse>

startMigrationWorkflow(StartMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

public void startMigrationWorkflow(StartMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

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.

Parameters
Name Description
request StartMigrationWorkflowRequest
responseObserver io.grpc.stub.StreamObserver<Empty>