Class GrpcVmMigrationStub (1.2.0)

public class GrpcVmMigrationStub extends VmMigrationStub

gRPC stub implementation for the VmMigration service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > VmMigrationStub > GrpcVmMigrationStub

Static Methods

create(ClientContext clientContext)

public static final GrpcVmMigrationStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcVmMigrationStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcVmMigrationStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcVmMigrationStub
Exceptions
TypeDescription
IOException

create(VmMigrationStubSettings settings)

public static final GrpcVmMigrationStub create(VmMigrationStubSettings settings)
Parameter
NameDescription
settingsVmMigrationStubSettings
Returns
TypeDescription
GrpcVmMigrationStub
Exceptions
TypeDescription
IOException

Constructors

GrpcVmMigrationStub(VmMigrationStubSettings settings, ClientContext clientContext)

protected GrpcVmMigrationStub(VmMigrationStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcVmMigrationStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsVmMigrationStubSettings
clientContextClientContext

GrpcVmMigrationStub(VmMigrationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcVmMigrationStub(VmMigrationStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcVmMigrationStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsVmMigrationStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

addGroupMigrationCallable()

public UnaryCallable<AddGroupMigrationRequest,Operation> addGroupMigrationCallable()
Returns
TypeDescription
UnaryCallable<AddGroupMigrationRequest,Operation>
Overrides

addGroupMigrationOperationCallable()

public OperationCallable<AddGroupMigrationRequest,AddGroupMigrationResponse,OperationMetadata> addGroupMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<AddGroupMigrationRequest,AddGroupMigrationResponse,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelCloneJobCallable()

public UnaryCallable<CancelCloneJobRequest,Operation> cancelCloneJobCallable()
Returns
TypeDescription
UnaryCallable<CancelCloneJobRequest,Operation>
Overrides

cancelCloneJobOperationCallable()

public OperationCallable<CancelCloneJobRequest,CancelCloneJobResponse,OperationMetadata> cancelCloneJobOperationCallable()
Returns
TypeDescription
OperationCallable<CancelCloneJobRequest,CancelCloneJobResponse,OperationMetadata>
Overrides

cancelCutoverJobCallable()

public UnaryCallable<CancelCutoverJobRequest,Operation> cancelCutoverJobCallable()
Returns
TypeDescription
UnaryCallable<CancelCutoverJobRequest,Operation>
Overrides

cancelCutoverJobOperationCallable()

public OperationCallable<CancelCutoverJobRequest,CancelCutoverJobResponse,OperationMetadata> cancelCutoverJobOperationCallable()
Returns
TypeDescription
OperationCallable<CancelCutoverJobRequest,CancelCutoverJobResponse,OperationMetadata>
Overrides

close()

public final void close()
Overrides

createCloneJobCallable()

public UnaryCallable<CreateCloneJobRequest,Operation> createCloneJobCallable()
Returns
TypeDescription
UnaryCallable<CreateCloneJobRequest,Operation>
Overrides

createCloneJobOperationCallable()

public OperationCallable<CreateCloneJobRequest,CloneJob,OperationMetadata> createCloneJobOperationCallable()
Returns
TypeDescription
OperationCallable<CreateCloneJobRequest,CloneJob,OperationMetadata>
Overrides

createCutoverJobCallable()

public UnaryCallable<CreateCutoverJobRequest,Operation> createCutoverJobCallable()
Returns
TypeDescription
UnaryCallable<CreateCutoverJobRequest,Operation>
Overrides

createCutoverJobOperationCallable()

public OperationCallable<CreateCutoverJobRequest,CutoverJob,OperationMetadata> createCutoverJobOperationCallable()
Returns
TypeDescription
OperationCallable<CreateCutoverJobRequest,CutoverJob,OperationMetadata>
Overrides

createDatacenterConnectorCallable()

public UnaryCallable<CreateDatacenterConnectorRequest,Operation> createDatacenterConnectorCallable()
Returns
TypeDescription
UnaryCallable<CreateDatacenterConnectorRequest,Operation>
Overrides

createDatacenterConnectorOperationCallable()

public OperationCallable<CreateDatacenterConnectorRequest,DatacenterConnector,OperationMetadata> createDatacenterConnectorOperationCallable()
Returns
TypeDescription
OperationCallable<CreateDatacenterConnectorRequest,DatacenterConnector,OperationMetadata>
Overrides

createGroupCallable()

public UnaryCallable<CreateGroupRequest,Operation> createGroupCallable()
Returns
TypeDescription
UnaryCallable<CreateGroupRequest,Operation>
Overrides

createGroupOperationCallable()

public OperationCallable<CreateGroupRequest,Group,OperationMetadata> createGroupOperationCallable()
Returns
TypeDescription
OperationCallable<CreateGroupRequest,Group,OperationMetadata>
Overrides

createMigratingVmCallable()

public UnaryCallable<CreateMigratingVmRequest,Operation> createMigratingVmCallable()
Returns
TypeDescription
UnaryCallable<CreateMigratingVmRequest,Operation>
Overrides

createMigratingVmOperationCallable()

public OperationCallable<CreateMigratingVmRequest,MigratingVm,OperationMetadata> createMigratingVmOperationCallable()
Returns
TypeDescription
OperationCallable<CreateMigratingVmRequest,MigratingVm,OperationMetadata>
Overrides

createSourceCallable()

public UnaryCallable<CreateSourceRequest,Operation> createSourceCallable()
Returns
TypeDescription
UnaryCallable<CreateSourceRequest,Operation>
Overrides

createSourceOperationCallable()

public OperationCallable<CreateSourceRequest,Source,OperationMetadata> createSourceOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSourceRequest,Source,OperationMetadata>
Overrides

createTargetProjectCallable()

public UnaryCallable<CreateTargetProjectRequest,Operation> createTargetProjectCallable()
Returns
TypeDescription
UnaryCallable<CreateTargetProjectRequest,Operation>
Overrides

createTargetProjectOperationCallable()

public OperationCallable<CreateTargetProjectRequest,TargetProject,OperationMetadata> createTargetProjectOperationCallable()
Returns
TypeDescription
OperationCallable<CreateTargetProjectRequest,TargetProject,OperationMetadata>
Overrides

createUtilizationReportCallable()

public UnaryCallable<CreateUtilizationReportRequest,Operation> createUtilizationReportCallable()
Returns
TypeDescription
UnaryCallable<CreateUtilizationReportRequest,Operation>
Overrides

createUtilizationReportOperationCallable()

public OperationCallable<CreateUtilizationReportRequest,UtilizationReport,OperationMetadata> createUtilizationReportOperationCallable()
Returns
TypeDescription
OperationCallable<CreateUtilizationReportRequest,UtilizationReport,OperationMetadata>
Overrides

deleteDatacenterConnectorCallable()

public UnaryCallable<DeleteDatacenterConnectorRequest,Operation> deleteDatacenterConnectorCallable()
Returns
TypeDescription
UnaryCallable<DeleteDatacenterConnectorRequest,Operation>
Overrides

deleteDatacenterConnectorOperationCallable()

public OperationCallable<DeleteDatacenterConnectorRequest,Empty,OperationMetadata> deleteDatacenterConnectorOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteDatacenterConnectorRequest,Empty,OperationMetadata>
Overrides

deleteGroupCallable()

public UnaryCallable<DeleteGroupRequest,Operation> deleteGroupCallable()
Returns
TypeDescription
UnaryCallable<DeleteGroupRequest,Operation>
Overrides

deleteGroupOperationCallable()

public OperationCallable<DeleteGroupRequest,Empty,OperationMetadata> deleteGroupOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteGroupRequest,Empty,OperationMetadata>
Overrides

deleteMigratingVmCallable()

public UnaryCallable<DeleteMigratingVmRequest,Operation> deleteMigratingVmCallable()
Returns
TypeDescription
UnaryCallable<DeleteMigratingVmRequest,Operation>
Overrides

deleteMigratingVmOperationCallable()

public OperationCallable<DeleteMigratingVmRequest,Empty,OperationMetadata> deleteMigratingVmOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteMigratingVmRequest,Empty,OperationMetadata>
Overrides

deleteSourceCallable()

public UnaryCallable<DeleteSourceRequest,Operation> deleteSourceCallable()
Returns
TypeDescription
UnaryCallable<DeleteSourceRequest,Operation>
Overrides

deleteSourceOperationCallable()

public OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSourceRequest,Empty,OperationMetadata>
Overrides

deleteTargetProjectCallable()

public UnaryCallable<DeleteTargetProjectRequest,Operation> deleteTargetProjectCallable()
Returns
TypeDescription
UnaryCallable<DeleteTargetProjectRequest,Operation>
Overrides

deleteTargetProjectOperationCallable()

public OperationCallable<DeleteTargetProjectRequest,Empty,OperationMetadata> deleteTargetProjectOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteTargetProjectRequest,Empty,OperationMetadata>
Overrides

deleteUtilizationReportCallable()

public UnaryCallable<DeleteUtilizationReportRequest,Operation> deleteUtilizationReportCallable()
Returns
TypeDescription
UnaryCallable<DeleteUtilizationReportRequest,Operation>
Overrides

deleteUtilizationReportOperationCallable()

public OperationCallable<DeleteUtilizationReportRequest,Empty,OperationMetadata> deleteUtilizationReportOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteUtilizationReportRequest,Empty,OperationMetadata>
Overrides

fetchInventoryCallable()

public UnaryCallable<FetchInventoryRequest,FetchInventoryResponse> fetchInventoryCallable()
Returns
TypeDescription
UnaryCallable<FetchInventoryRequest,FetchInventoryResponse>
Overrides

finalizeMigrationCallable()

public UnaryCallable<FinalizeMigrationRequest,Operation> finalizeMigrationCallable()
Returns
TypeDescription
UnaryCallable<FinalizeMigrationRequest,Operation>
Overrides

finalizeMigrationOperationCallable()

public OperationCallable<FinalizeMigrationRequest,FinalizeMigrationResponse,OperationMetadata> finalizeMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<FinalizeMigrationRequest,FinalizeMigrationResponse,OperationMetadata>
Overrides

getCloneJobCallable()

public UnaryCallable<GetCloneJobRequest,CloneJob> getCloneJobCallable()
Returns
TypeDescription
UnaryCallable<GetCloneJobRequest,CloneJob>
Overrides

getCutoverJobCallable()

public UnaryCallable<GetCutoverJobRequest,CutoverJob> getCutoverJobCallable()
Returns
TypeDescription
UnaryCallable<GetCutoverJobRequest,CutoverJob>
Overrides

getDatacenterConnectorCallable()

public UnaryCallable<GetDatacenterConnectorRequest,DatacenterConnector> getDatacenterConnectorCallable()
Returns
TypeDescription
UnaryCallable<GetDatacenterConnectorRequest,DatacenterConnector>
Overrides

getGroupCallable()

public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns
TypeDescription
UnaryCallable<GetGroupRequest,Group>
Overrides

getMigratingVmCallable()

public UnaryCallable<GetMigratingVmRequest,MigratingVm> getMigratingVmCallable()
Returns
TypeDescription
UnaryCallable<GetMigratingVmRequest,MigratingVm>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getSourceCallable()

public UnaryCallable<GetSourceRequest,Source> getSourceCallable()
Returns
TypeDescription
UnaryCallable<GetSourceRequest,Source>
Overrides

getTargetProjectCallable()

public UnaryCallable<GetTargetProjectRequest,TargetProject> getTargetProjectCallable()
Returns
TypeDescription
UnaryCallable<GetTargetProjectRequest,TargetProject>
Overrides

getUtilizationReportCallable()

public UnaryCallable<GetUtilizationReportRequest,UtilizationReport> getUtilizationReportCallable()
Returns
TypeDescription
UnaryCallable<GetUtilizationReportRequest,UtilizationReport>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCloneJobsCallable()

public UnaryCallable<ListCloneJobsRequest,ListCloneJobsResponse> listCloneJobsCallable()
Returns
TypeDescription
UnaryCallable<ListCloneJobsRequest,ListCloneJobsResponse>
Overrides

listCloneJobsPagedCallable()

public UnaryCallable<ListCloneJobsRequest,VmMigrationClient.ListCloneJobsPagedResponse> listCloneJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCloneJobsRequest,ListCloneJobsPagedResponse>
Overrides

listCutoverJobsCallable()

public UnaryCallable<ListCutoverJobsRequest,ListCutoverJobsResponse> listCutoverJobsCallable()
Returns
TypeDescription
UnaryCallable<ListCutoverJobsRequest,ListCutoverJobsResponse>
Overrides

listCutoverJobsPagedCallable()

public UnaryCallable<ListCutoverJobsRequest,VmMigrationClient.ListCutoverJobsPagedResponse> listCutoverJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCutoverJobsRequest,ListCutoverJobsPagedResponse>
Overrides

listDatacenterConnectorsCallable()

public UnaryCallable<ListDatacenterConnectorsRequest,ListDatacenterConnectorsResponse> listDatacenterConnectorsCallable()
Returns
TypeDescription
UnaryCallable<ListDatacenterConnectorsRequest,ListDatacenterConnectorsResponse>
Overrides

listDatacenterConnectorsPagedCallable()

public UnaryCallable<ListDatacenterConnectorsRequest,VmMigrationClient.ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDatacenterConnectorsRequest,ListDatacenterConnectorsPagedResponse>
Overrides

listGroupsCallable()

public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns
TypeDescription
UnaryCallable<ListGroupsRequest,ListGroupsResponse>
Overrides

listGroupsPagedCallable()

public UnaryCallable<ListGroupsRequest,VmMigrationClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListGroupsRequest,ListGroupsPagedResponse>
Overrides

listMigratingVmsCallable()

public UnaryCallable<ListMigratingVmsRequest,ListMigratingVmsResponse> listMigratingVmsCallable()
Returns
TypeDescription
UnaryCallable<ListMigratingVmsRequest,ListMigratingVmsResponse>
Overrides

listMigratingVmsPagedCallable()

public UnaryCallable<ListMigratingVmsRequest,VmMigrationClient.ListMigratingVmsPagedResponse> listMigratingVmsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListMigratingVmsRequest,ListMigratingVmsPagedResponse>
Overrides

listSourcesCallable()

public UnaryCallable<ListSourcesRequest,ListSourcesResponse> listSourcesCallable()
Returns
TypeDescription
UnaryCallable<ListSourcesRequest,ListSourcesResponse>
Overrides

listSourcesPagedCallable()

public UnaryCallable<ListSourcesRequest,VmMigrationClient.ListSourcesPagedResponse> listSourcesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSourcesRequest,ListSourcesPagedResponse>
Overrides

listTargetProjectsCallable()

public UnaryCallable<ListTargetProjectsRequest,ListTargetProjectsResponse> listTargetProjectsCallable()
Returns
TypeDescription
UnaryCallable<ListTargetProjectsRequest,ListTargetProjectsResponse>
Overrides

listTargetProjectsPagedCallable()

public UnaryCallable<ListTargetProjectsRequest,VmMigrationClient.ListTargetProjectsPagedResponse> listTargetProjectsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTargetProjectsRequest,ListTargetProjectsPagedResponse>
Overrides

listUtilizationReportsCallable()

public UnaryCallable<ListUtilizationReportsRequest,ListUtilizationReportsResponse> listUtilizationReportsCallable()
Returns
TypeDescription
UnaryCallable<ListUtilizationReportsRequest,ListUtilizationReportsResponse>
Overrides

listUtilizationReportsPagedCallable()

public UnaryCallable<ListUtilizationReportsRequest,VmMigrationClient.ListUtilizationReportsPagedResponse> listUtilizationReportsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListUtilizationReportsRequest,ListUtilizationReportsPagedResponse>
Overrides

pauseMigrationCallable()

public UnaryCallable<PauseMigrationRequest,Operation> pauseMigrationCallable()
Returns
TypeDescription
UnaryCallable<PauseMigrationRequest,Operation>
Overrides

pauseMigrationOperationCallable()

public OperationCallable<PauseMigrationRequest,PauseMigrationResponse,OperationMetadata> pauseMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<PauseMigrationRequest,PauseMigrationResponse,OperationMetadata>
Overrides

removeGroupMigrationCallable()

public UnaryCallable<RemoveGroupMigrationRequest,Operation> removeGroupMigrationCallable()
Returns
TypeDescription
UnaryCallable<RemoveGroupMigrationRequest,Operation>
Overrides

removeGroupMigrationOperationCallable()

public OperationCallable<RemoveGroupMigrationRequest,RemoveGroupMigrationResponse,OperationMetadata> removeGroupMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<RemoveGroupMigrationRequest,RemoveGroupMigrationResponse,OperationMetadata>
Overrides

resumeMigrationCallable()

public UnaryCallable<ResumeMigrationRequest,Operation> resumeMigrationCallable()
Returns
TypeDescription
UnaryCallable<ResumeMigrationRequest,Operation>
Overrides

resumeMigrationOperationCallable()

public OperationCallable<ResumeMigrationRequest,ResumeMigrationResponse,OperationMetadata> resumeMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<ResumeMigrationRequest,ResumeMigrationResponse,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startMigrationCallable()

public UnaryCallable<StartMigrationRequest,Operation> startMigrationCallable()
Returns
TypeDescription
UnaryCallable<StartMigrationRequest,Operation>
Overrides

startMigrationOperationCallable()

public OperationCallable<StartMigrationRequest,StartMigrationResponse,OperationMetadata> startMigrationOperationCallable()
Returns
TypeDescription
OperationCallable<StartMigrationRequest,StartMigrationResponse,OperationMetadata>
Overrides

updateGroupCallable()

public UnaryCallable<UpdateGroupRequest,Operation> updateGroupCallable()
Returns
TypeDescription
UnaryCallable<UpdateGroupRequest,Operation>
Overrides

updateGroupOperationCallable()

public OperationCallable<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateGroupRequest,Group,OperationMetadata>
Overrides

updateMigratingVmCallable()

public UnaryCallable<UpdateMigratingVmRequest,Operation> updateMigratingVmCallable()
Returns
TypeDescription
UnaryCallable<UpdateMigratingVmRequest,Operation>
Overrides

updateMigratingVmOperationCallable()

public OperationCallable<UpdateMigratingVmRequest,MigratingVm,OperationMetadata> updateMigratingVmOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateMigratingVmRequest,MigratingVm,OperationMetadata>
Overrides

updateSourceCallable()

public UnaryCallable<UpdateSourceRequest,Operation> updateSourceCallable()
Returns
TypeDescription
UnaryCallable<UpdateSourceRequest,Operation>
Overrides

updateSourceOperationCallable()

public OperationCallable<UpdateSourceRequest,Source,OperationMetadata> updateSourceOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSourceRequest,Source,OperationMetadata>
Overrides

updateTargetProjectCallable()

public UnaryCallable<UpdateTargetProjectRequest,Operation> updateTargetProjectCallable()
Returns
TypeDescription
UnaryCallable<UpdateTargetProjectRequest,Operation>
Overrides

updateTargetProjectOperationCallable()

public OperationCallable<UpdateTargetProjectRequest,TargetProject,OperationMetadata> updateTargetProjectOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateTargetProjectRequest,TargetProject,OperationMetadata>
Overrides