Class GrpcVmMigrationStub (1.51.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcVmMigrationStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcVmMigrationStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcVmMigrationStub
Exceptions
Type Description
IOException

create(VmMigrationStubSettings settings)

public static final GrpcVmMigrationStub create(VmMigrationStubSettings settings)
Parameter
Name Description
settings VmMigrationStubSettings
Returns
Type Description
GrpcVmMigrationStub
Exceptions
Type Description
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
Name Description
settings VmMigrationStubSettings
clientContext ClientContext

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
Name Description
settings VmMigrationStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addGroupMigrationCallable()

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

addGroupMigrationOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelCloneJobCallable()

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

cancelCloneJobOperationCallable()

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

cancelCutoverJobCallable()

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

cancelCutoverJobOperationCallable()

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

close()

public final void close()
Overrides

createCloneJobCallable()

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

createCloneJobOperationCallable()

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

createCutoverJobCallable()

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

createCutoverJobOperationCallable()

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

createDatacenterConnectorCallable()

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

createDatacenterConnectorOperationCallable()

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

createGroupCallable()

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

createGroupOperationCallable()

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

createMigratingVmCallable()

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

createMigratingVmOperationCallable()

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

createSourceCallable()

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

createSourceOperationCallable()

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

createTargetProjectCallable()

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

createTargetProjectOperationCallable()

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

createUtilizationReportCallable()

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

createUtilizationReportOperationCallable()

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

deleteDatacenterConnectorCallable()

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

deleteDatacenterConnectorOperationCallable()

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

deleteGroupCallable()

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

deleteGroupOperationCallable()

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

deleteMigratingVmCallable()

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

deleteMigratingVmOperationCallable()

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

deleteSourceCallable()

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

deleteSourceOperationCallable()

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

deleteTargetProjectCallable()

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

deleteTargetProjectOperationCallable()

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

deleteUtilizationReportCallable()

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

deleteUtilizationReportOperationCallable()

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

fetchInventoryCallable()

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

finalizeMigrationCallable()

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

finalizeMigrationOperationCallable()

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

getCloneJobCallable()

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

getCutoverJobCallable()

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

getDatacenterConnectorCallable()

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

getGroupCallable()

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

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMigratingVmCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getReplicationCycleCallable()

public UnaryCallable<GetReplicationCycleRequest,ReplicationCycle> getReplicationCycleCallable()
Returns
Type Description
UnaryCallable<GetReplicationCycleRequest,ReplicationCycle>
Overrides

getSourceCallable()

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

getTargetProjectCallable()

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

getUtilizationReportCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCloneJobsCallable()

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

listCloneJobsPagedCallable()

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

listCutoverJobsCallable()

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

listCutoverJobsPagedCallable()

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

listDatacenterConnectorsCallable()

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

listDatacenterConnectorsPagedCallable()

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

listGroupsCallable()

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

listGroupsPagedCallable()

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

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,VmMigrationClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMigratingVmsCallable()

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

listMigratingVmsPagedCallable()

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

listReplicationCyclesCallable()

public UnaryCallable<ListReplicationCyclesRequest,ListReplicationCyclesResponse> listReplicationCyclesCallable()
Returns
Type Description
UnaryCallable<ListReplicationCyclesRequest,ListReplicationCyclesResponse>
Overrides

listReplicationCyclesPagedCallable()

public UnaryCallable<ListReplicationCyclesRequest,VmMigrationClient.ListReplicationCyclesPagedResponse> listReplicationCyclesPagedCallable()
Returns
Type Description
UnaryCallable<ListReplicationCyclesRequest,ListReplicationCyclesPagedResponse>
Overrides

listSourcesCallable()

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

listSourcesPagedCallable()

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

listTargetProjectsCallable()

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

listTargetProjectsPagedCallable()

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

listUtilizationReportsCallable()

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

listUtilizationReportsPagedCallable()

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

pauseMigrationCallable()

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

pauseMigrationOperationCallable()

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

removeGroupMigrationCallable()

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

removeGroupMigrationOperationCallable()

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

resumeMigrationCallable()

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

resumeMigrationOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startMigrationCallable()

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

startMigrationOperationCallable()

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

updateGroupCallable()

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

updateGroupOperationCallable()

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

updateMigratingVmCallable()

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

updateMigratingVmOperationCallable()

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

updateSourceCallable()

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

updateSourceOperationCallable()

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

updateTargetProjectCallable()

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

updateTargetProjectOperationCallable()

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

upgradeApplianceCallable()

public UnaryCallable<UpgradeApplianceRequest,Operation> upgradeApplianceCallable()
Returns
Type Description
UnaryCallable<UpgradeApplianceRequest,Operation>
Overrides

upgradeApplianceOperationCallable()

public OperationCallable<UpgradeApplianceRequest,UpgradeApplianceResponse,OperationMetadata> upgradeApplianceOperationCallable()
Returns
Type Description
OperationCallable<UpgradeApplianceRequest,UpgradeApplianceResponse,OperationMetadata>
Overrides