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