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.
Static Methods
create(ClientContext clientContext)
public static final GrpcVmMigrationStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcVmMigrationStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(VmMigrationStubSettings settings)
public static final GrpcVmMigrationStub create(VmMigrationStubSettings settings)
Parameter
Returns
Exceptions
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
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
Methods
addGroupMigrationCallable()
public UnaryCallable<AddGroupMigrationRequest,Operation> addGroupMigrationCallable()
Returns
Overrides
addGroupMigrationOperationCallable()
public OperationCallable<AddGroupMigrationRequest,AddGroupMigrationResponse,OperationMetadata> addGroupMigrationOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
cancelCloneJobCallable()
public UnaryCallable<CancelCloneJobRequest,Operation> cancelCloneJobCallable()
Returns
Overrides
cancelCloneJobOperationCallable()
public OperationCallable<CancelCloneJobRequest,CancelCloneJobResponse,OperationMetadata> cancelCloneJobOperationCallable()
Returns
Overrides
cancelCutoverJobCallable()
public UnaryCallable<CancelCutoverJobRequest,Operation> cancelCutoverJobCallable()
Returns
Overrides
cancelCutoverJobOperationCallable()
public OperationCallable<CancelCutoverJobRequest,CancelCutoverJobResponse,OperationMetadata> cancelCutoverJobOperationCallable()
Returns
Overrides
close()
public final void close()
Overrides
createCloneJobCallable()
public UnaryCallable<CreateCloneJobRequest,Operation> createCloneJobCallable()
Returns
Overrides
createCloneJobOperationCallable()
public OperationCallable<CreateCloneJobRequest,CloneJob,OperationMetadata> createCloneJobOperationCallable()
Returns
Overrides
createCutoverJobCallable()
public UnaryCallable<CreateCutoverJobRequest,Operation> createCutoverJobCallable()
Returns
Overrides
createCutoverJobOperationCallable()
public OperationCallable<CreateCutoverJobRequest,CutoverJob,OperationMetadata> createCutoverJobOperationCallable()
Returns
Overrides
createDatacenterConnectorCallable()
public UnaryCallable<CreateDatacenterConnectorRequest,Operation> createDatacenterConnectorCallable()
Returns
Overrides
createDatacenterConnectorOperationCallable()
public OperationCallable<CreateDatacenterConnectorRequest,DatacenterConnector,OperationMetadata> createDatacenterConnectorOperationCallable()
Returns
Overrides
createGroupCallable()
public UnaryCallable<CreateGroupRequest,Operation> createGroupCallable()
Returns
Overrides
createGroupOperationCallable()
public OperationCallable<CreateGroupRequest,Group,OperationMetadata> createGroupOperationCallable()
Returns
Overrides
createMigratingVmCallable()
public UnaryCallable<CreateMigratingVmRequest,Operation> createMigratingVmCallable()
Returns
Overrides
createMigratingVmOperationCallable()
public OperationCallable<CreateMigratingVmRequest,MigratingVm,OperationMetadata> createMigratingVmOperationCallable()
Returns
Overrides
createSourceCallable()
public UnaryCallable<CreateSourceRequest,Operation> createSourceCallable()
Returns
Overrides
createSourceOperationCallable()
public OperationCallable<CreateSourceRequest,Source,OperationMetadata> createSourceOperationCallable()
Returns
Overrides
createTargetProjectCallable()
public UnaryCallable<CreateTargetProjectRequest,Operation> createTargetProjectCallable()
Returns
Overrides
createTargetProjectOperationCallable()
public OperationCallable<CreateTargetProjectRequest,TargetProject,OperationMetadata> createTargetProjectOperationCallable()
Returns
Overrides
createUtilizationReportCallable()
public UnaryCallable<CreateUtilizationReportRequest,Operation> createUtilizationReportCallable()
Returns
Overrides
createUtilizationReportOperationCallable()
public OperationCallable<CreateUtilizationReportRequest,UtilizationReport,OperationMetadata> createUtilizationReportOperationCallable()
Returns
Overrides
deleteDatacenterConnectorCallable()
public UnaryCallable<DeleteDatacenterConnectorRequest,Operation> deleteDatacenterConnectorCallable()
Returns
Overrides
deleteDatacenterConnectorOperationCallable()
public OperationCallable<DeleteDatacenterConnectorRequest,Empty,OperationMetadata> deleteDatacenterConnectorOperationCallable()
Returns
Overrides
deleteGroupCallable()
public UnaryCallable<DeleteGroupRequest,Operation> deleteGroupCallable()
Returns
Overrides
deleteGroupOperationCallable()
public OperationCallable<DeleteGroupRequest,Empty,OperationMetadata> deleteGroupOperationCallable()
Returns
Overrides
deleteMigratingVmCallable()
public UnaryCallable<DeleteMigratingVmRequest,Operation> deleteMigratingVmCallable()
Returns
Overrides
deleteMigratingVmOperationCallable()
public OperationCallable<DeleteMigratingVmRequest,Empty,OperationMetadata> deleteMigratingVmOperationCallable()
Returns
Overrides
deleteSourceCallable()
public UnaryCallable<DeleteSourceRequest,Operation> deleteSourceCallable()
Returns
Overrides
deleteSourceOperationCallable()
public OperationCallable<DeleteSourceRequest,Empty,OperationMetadata> deleteSourceOperationCallable()
Returns
Overrides
deleteTargetProjectCallable()
public UnaryCallable<DeleteTargetProjectRequest,Operation> deleteTargetProjectCallable()
Returns
Overrides
deleteTargetProjectOperationCallable()
public OperationCallable<DeleteTargetProjectRequest,Empty,OperationMetadata> deleteTargetProjectOperationCallable()
Returns
Overrides
deleteUtilizationReportCallable()
public UnaryCallable<DeleteUtilizationReportRequest,Operation> deleteUtilizationReportCallable()
Returns
Overrides
deleteUtilizationReportOperationCallable()
public OperationCallable<DeleteUtilizationReportRequest,Empty,OperationMetadata> deleteUtilizationReportOperationCallable()
Returns
Overrides
fetchInventoryCallable()
public UnaryCallable<FetchInventoryRequest,FetchInventoryResponse> fetchInventoryCallable()
Returns
Overrides
finalizeMigrationCallable()
public UnaryCallable<FinalizeMigrationRequest,Operation> finalizeMigrationCallable()
Returns
Overrides
finalizeMigrationOperationCallable()
public OperationCallable<FinalizeMigrationRequest,FinalizeMigrationResponse,OperationMetadata> finalizeMigrationOperationCallable()
Returns
Overrides
getCloneJobCallable()
public UnaryCallable<GetCloneJobRequest,CloneJob> getCloneJobCallable()
Returns
Overrides
getCutoverJobCallable()
public UnaryCallable<GetCutoverJobRequest,CutoverJob> getCutoverJobCallable()
Returns
Overrides
getDatacenterConnectorCallable()
public UnaryCallable<GetDatacenterConnectorRequest,DatacenterConnector> getDatacenterConnectorCallable()
Returns
Overrides
getGroupCallable()
public UnaryCallable<GetGroupRequest,Group> getGroupCallable()
Returns
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
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getReplicationCycleCallable()
public UnaryCallable<GetReplicationCycleRequest,ReplicationCycle> getReplicationCycleCallable()
Returns
Overrides
getSourceCallable()
public UnaryCallable<GetSourceRequest,Source> getSourceCallable()
Returns
Overrides
getTargetProjectCallable()
public UnaryCallable<GetTargetProjectRequest,TargetProject> getTargetProjectCallable()
Returns
Overrides
getUtilizationReportCallable()
public UnaryCallable<GetUtilizationReportRequest,UtilizationReport> getUtilizationReportCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCloneJobsCallable()
public UnaryCallable<ListCloneJobsRequest,ListCloneJobsResponse> listCloneJobsCallable()
Returns
Overrides
listCloneJobsPagedCallable()
public UnaryCallable<ListCloneJobsRequest,VmMigrationClient.ListCloneJobsPagedResponse> listCloneJobsPagedCallable()
Returns
Overrides
listCutoverJobsCallable()
public UnaryCallable<ListCutoverJobsRequest,ListCutoverJobsResponse> listCutoverJobsCallable()
Returns
Overrides
listCutoverJobsPagedCallable()
public UnaryCallable<ListCutoverJobsRequest,VmMigrationClient.ListCutoverJobsPagedResponse> listCutoverJobsPagedCallable()
Returns
Overrides
listDatacenterConnectorsCallable()
public UnaryCallable<ListDatacenterConnectorsRequest,ListDatacenterConnectorsResponse> listDatacenterConnectorsCallable()
Returns
Overrides
listDatacenterConnectorsPagedCallable()
public UnaryCallable<ListDatacenterConnectorsRequest,VmMigrationClient.ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsPagedCallable()
Returns
Overrides
listGroupsCallable()
public UnaryCallable<ListGroupsRequest,ListGroupsResponse> listGroupsCallable()
Returns
Overrides
listGroupsPagedCallable()
public UnaryCallable<ListGroupsRequest,VmMigrationClient.ListGroupsPagedResponse> listGroupsPagedCallable()
Returns
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
Overrides
listMigratingVmsCallable()
public UnaryCallable<ListMigratingVmsRequest,ListMigratingVmsResponse> listMigratingVmsCallable()
Returns
Overrides
listMigratingVmsPagedCallable()
public UnaryCallable<ListMigratingVmsRequest,VmMigrationClient.ListMigratingVmsPagedResponse> listMigratingVmsPagedCallable()
Returns
Overrides
listReplicationCyclesCallable()
public UnaryCallable<ListReplicationCyclesRequest,ListReplicationCyclesResponse> listReplicationCyclesCallable()
Returns
Overrides
listReplicationCyclesPagedCallable()
public UnaryCallable<ListReplicationCyclesRequest,VmMigrationClient.ListReplicationCyclesPagedResponse> listReplicationCyclesPagedCallable()
Returns
Overrides
listSourcesCallable()
public UnaryCallable<ListSourcesRequest,ListSourcesResponse> listSourcesCallable()
Returns
Overrides
listSourcesPagedCallable()
public UnaryCallable<ListSourcesRequest,VmMigrationClient.ListSourcesPagedResponse> listSourcesPagedCallable()
Returns
Overrides
listTargetProjectsCallable()
public UnaryCallable<ListTargetProjectsRequest,ListTargetProjectsResponse> listTargetProjectsCallable()
Returns
Overrides
listTargetProjectsPagedCallable()
public UnaryCallable<ListTargetProjectsRequest,VmMigrationClient.ListTargetProjectsPagedResponse> listTargetProjectsPagedCallable()
Returns
Overrides
listUtilizationReportsCallable()
public UnaryCallable<ListUtilizationReportsRequest,ListUtilizationReportsResponse> listUtilizationReportsCallable()
Returns
Overrides
listUtilizationReportsPagedCallable()
public UnaryCallable<ListUtilizationReportsRequest,VmMigrationClient.ListUtilizationReportsPagedResponse> listUtilizationReportsPagedCallable()
Returns
Overrides
pauseMigrationCallable()
public UnaryCallable<PauseMigrationRequest,Operation> pauseMigrationCallable()
Returns
Overrides
pauseMigrationOperationCallable()
public OperationCallable<PauseMigrationRequest,PauseMigrationResponse,OperationMetadata> pauseMigrationOperationCallable()
Returns
Overrides
removeGroupMigrationCallable()
public UnaryCallable<RemoveGroupMigrationRequest,Operation> removeGroupMigrationCallable()
Returns
Overrides
removeGroupMigrationOperationCallable()
public OperationCallable<RemoveGroupMigrationRequest,RemoveGroupMigrationResponse,OperationMetadata> removeGroupMigrationOperationCallable()
Returns
Overrides
resumeMigrationCallable()
public UnaryCallable<ResumeMigrationRequest,Operation> resumeMigrationCallable()
Returns
Overrides
resumeMigrationOperationCallable()
public OperationCallable<ResumeMigrationRequest,ResumeMigrationResponse,OperationMetadata> resumeMigrationOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startMigrationCallable()
public UnaryCallable<StartMigrationRequest,Operation> startMigrationCallable()
Returns
Overrides
startMigrationOperationCallable()
public OperationCallable<StartMigrationRequest,StartMigrationResponse,OperationMetadata> startMigrationOperationCallable()
Returns
Overrides
updateGroupCallable()
public UnaryCallable<UpdateGroupRequest,Operation> updateGroupCallable()
Returns
Overrides
updateGroupOperationCallable()
public OperationCallable<UpdateGroupRequest,Group,OperationMetadata> updateGroupOperationCallable()
Returns
Overrides
updateMigratingVmCallable()
public UnaryCallable<UpdateMigratingVmRequest,Operation> updateMigratingVmCallable()
Returns
Overrides
updateMigratingVmOperationCallable()
public OperationCallable<UpdateMigratingVmRequest,MigratingVm,OperationMetadata> updateMigratingVmOperationCallable()
Returns
Overrides
updateSourceCallable()
public UnaryCallable<UpdateSourceRequest,Operation> updateSourceCallable()
Returns
Overrides
updateSourceOperationCallable()
public OperationCallable<UpdateSourceRequest,Source,OperationMetadata> updateSourceOperationCallable()
Returns
Overrides
updateTargetProjectCallable()
public UnaryCallable<UpdateTargetProjectRequest,Operation> updateTargetProjectCallable()
Returns
Overrides
updateTargetProjectOperationCallable()
public OperationCallable<UpdateTargetProjectRequest,TargetProject,OperationMetadata> updateTargetProjectOperationCallable()
Returns
Overrides
upgradeApplianceCallable()
public UnaryCallable<UpgradeApplianceRequest,Operation> upgradeApplianceCallable()
Returns
Overrides
upgradeApplianceOperationCallable()
public OperationCallable<UpgradeApplianceRequest,UpgradeApplianceResponse,OperationMetadata> upgradeApplianceOperationCallable()
Returns
Overrides