Class GrpcMigrationCenterStub
java.lang.Object
com.google.cloud.migrationcenter.v1.stub.MigrationCenterStub
com.google.cloud.migrationcenter.v1.stub.GrpcMigrationCenterStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcMigrationCenterStub
extends MigrationCenterStub
gRPC stub implementation for the MigrationCenter service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcMigrationCenterStub, using the given settings.protectedGrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMigrationCenterStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) UnaryCallable<BatchDeleteAssetsRequest,com.google.protobuf.Empty> final voidclose()static final GrpcMigrationCenterStubcreate(ClientContext clientContext) static final GrpcMigrationCenterStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcMigrationCenterStubcreate(MigrationCenterStubSettings settings) UnaryCallable<DeleteAssetRequest,com.google.protobuf.Empty> OperationCallable<DeleteGroupRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteImportDataFileRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteImportJobRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeletePreferenceSetRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteReportConfigRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteReportRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteSourceRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanOperationCallable<RunImportJobRequest,com.google.protobuf.Empty, OperationMetadata> voidshutdown()voidOperationCallable<ValidateImportJobRequest,com.google.protobuf.Empty, OperationMetadata> Methods inherited from class com.google.cloud.migrationcenter.v1.stub.MigrationCenterStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcMigrationCenterStub
protected GrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcMigrationCenterStub, 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.- Throws:
IOException
-
GrpcMigrationCenterStub
protected GrpcMigrationCenterStub(MigrationCenterStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcMigrationCenterStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcMigrationCenterStub create(MigrationCenterStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcMigrationCenterStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classMigrationCenterStub
-
listAssetsCallable
- Overrides:
listAssetsCallablein classMigrationCenterStub
-
listAssetsPagedCallable
public UnaryCallable<ListAssetsRequest,MigrationCenterClient.ListAssetsPagedResponse> listAssetsPagedCallable()- Overrides:
listAssetsPagedCallablein classMigrationCenterStub
-
getAssetCallable
- Overrides:
getAssetCallablein classMigrationCenterStub
-
updateAssetCallable
- Overrides:
updateAssetCallablein classMigrationCenterStub
-
batchUpdateAssetsCallable
public UnaryCallable<BatchUpdateAssetsRequest,BatchUpdateAssetsResponse> batchUpdateAssetsCallable()- Overrides:
batchUpdateAssetsCallablein classMigrationCenterStub
-
deleteAssetCallable
- Overrides:
deleteAssetCallablein classMigrationCenterStub
-
batchDeleteAssetsCallable
public UnaryCallable<BatchDeleteAssetsRequest,com.google.protobuf.Empty> batchDeleteAssetsCallable()- Overrides:
batchDeleteAssetsCallablein classMigrationCenterStub
-
reportAssetFramesCallable
public UnaryCallable<ReportAssetFramesRequest,ReportAssetFramesResponse> reportAssetFramesCallable()- Overrides:
reportAssetFramesCallablein classMigrationCenterStub
-
aggregateAssetsValuesCallable
public UnaryCallable<AggregateAssetsValuesRequest,AggregateAssetsValuesResponse> aggregateAssetsValuesCallable()- Overrides:
aggregateAssetsValuesCallablein classMigrationCenterStub
-
createImportJobCallable
- Overrides:
createImportJobCallablein classMigrationCenterStub
-
createImportJobOperationCallable
public OperationCallable<CreateImportJobRequest,ImportJob, createImportJobOperationCallable()OperationMetadata> - Overrides:
createImportJobOperationCallablein classMigrationCenterStub
-
listImportJobsCallable
- Overrides:
listImportJobsCallablein classMigrationCenterStub
-
listImportJobsPagedCallable
public UnaryCallable<ListImportJobsRequest,MigrationCenterClient.ListImportJobsPagedResponse> listImportJobsPagedCallable()- Overrides:
listImportJobsPagedCallablein classMigrationCenterStub
-
getImportJobCallable
- Overrides:
getImportJobCallablein classMigrationCenterStub
-
deleteImportJobCallable
- Overrides:
deleteImportJobCallablein classMigrationCenterStub
-
deleteImportJobOperationCallable
public OperationCallable<DeleteImportJobRequest,com.google.protobuf.Empty, deleteImportJobOperationCallable()OperationMetadata> - Overrides:
deleteImportJobOperationCallablein classMigrationCenterStub
-
updateImportJobCallable
- Overrides:
updateImportJobCallablein classMigrationCenterStub
-
updateImportJobOperationCallable
public OperationCallable<UpdateImportJobRequest,ImportJob, updateImportJobOperationCallable()OperationMetadata> - Overrides:
updateImportJobOperationCallablein classMigrationCenterStub
-
validateImportJobCallable
- Overrides:
validateImportJobCallablein classMigrationCenterStub
-
validateImportJobOperationCallable
public OperationCallable<ValidateImportJobRequest,com.google.protobuf.Empty, validateImportJobOperationCallable()OperationMetadata> - Overrides:
validateImportJobOperationCallablein classMigrationCenterStub
-
runImportJobCallable
- Overrides:
runImportJobCallablein classMigrationCenterStub
-
runImportJobOperationCallable
public OperationCallable<RunImportJobRequest,com.google.protobuf.Empty, runImportJobOperationCallable()OperationMetadata> - Overrides:
runImportJobOperationCallablein classMigrationCenterStub
-
getImportDataFileCallable
- Overrides:
getImportDataFileCallablein classMigrationCenterStub
-
listImportDataFilesCallable
public UnaryCallable<ListImportDataFilesRequest,ListImportDataFilesResponse> listImportDataFilesCallable()- Overrides:
listImportDataFilesCallablein classMigrationCenterStub
-
listImportDataFilesPagedCallable
public UnaryCallable<ListImportDataFilesRequest,MigrationCenterClient.ListImportDataFilesPagedResponse> listImportDataFilesPagedCallable()- Overrides:
listImportDataFilesPagedCallablein classMigrationCenterStub
-
createImportDataFileCallable
- Overrides:
createImportDataFileCallablein classMigrationCenterStub
-
createImportDataFileOperationCallable
public OperationCallable<CreateImportDataFileRequest,ImportDataFile, createImportDataFileOperationCallable()OperationMetadata> - Overrides:
createImportDataFileOperationCallablein classMigrationCenterStub
-
deleteImportDataFileCallable
- Overrides:
deleteImportDataFileCallablein classMigrationCenterStub
-
deleteImportDataFileOperationCallable
public OperationCallable<DeleteImportDataFileRequest,com.google.protobuf.Empty, deleteImportDataFileOperationCallable()OperationMetadata> - Overrides:
deleteImportDataFileOperationCallablein classMigrationCenterStub
-
listGroupsCallable
- Overrides:
listGroupsCallablein classMigrationCenterStub
-
listGroupsPagedCallable
public UnaryCallable<ListGroupsRequest,MigrationCenterClient.ListGroupsPagedResponse> listGroupsPagedCallable()- Overrides:
listGroupsPagedCallablein classMigrationCenterStub
-
getGroupCallable
- Overrides:
getGroupCallablein classMigrationCenterStub
-
createGroupCallable
- Overrides:
createGroupCallablein classMigrationCenterStub
-
createGroupOperationCallable
- Overrides:
createGroupOperationCallablein classMigrationCenterStub
-
updateGroupCallable
- Overrides:
updateGroupCallablein classMigrationCenterStub
-
updateGroupOperationCallable
- Overrides:
updateGroupOperationCallablein classMigrationCenterStub
-
deleteGroupCallable
- Overrides:
deleteGroupCallablein classMigrationCenterStub
-
deleteGroupOperationCallable
public OperationCallable<DeleteGroupRequest,com.google.protobuf.Empty, deleteGroupOperationCallable()OperationMetadata> - Overrides:
deleteGroupOperationCallablein classMigrationCenterStub
-
addAssetsToGroupCallable
- Overrides:
addAssetsToGroupCallablein classMigrationCenterStub
-
addAssetsToGroupOperationCallable
public OperationCallable<AddAssetsToGroupRequest,Group, addAssetsToGroupOperationCallable()OperationMetadata> - Overrides:
addAssetsToGroupOperationCallablein classMigrationCenterStub
-
removeAssetsFromGroupCallable
- Overrides:
removeAssetsFromGroupCallablein classMigrationCenterStub
-
removeAssetsFromGroupOperationCallable
public OperationCallable<RemoveAssetsFromGroupRequest,Group, removeAssetsFromGroupOperationCallable()OperationMetadata> - Overrides:
removeAssetsFromGroupOperationCallablein classMigrationCenterStub
-
listErrorFramesCallable
- Overrides:
listErrorFramesCallablein classMigrationCenterStub
-
listErrorFramesPagedCallable
public UnaryCallable<ListErrorFramesRequest,MigrationCenterClient.ListErrorFramesPagedResponse> listErrorFramesPagedCallable()- Overrides:
listErrorFramesPagedCallablein classMigrationCenterStub
-
getErrorFrameCallable
- Overrides:
getErrorFrameCallablein classMigrationCenterStub
-
listSourcesCallable
- Overrides:
listSourcesCallablein classMigrationCenterStub
-
listSourcesPagedCallable
public UnaryCallable<ListSourcesRequest,MigrationCenterClient.ListSourcesPagedResponse> listSourcesPagedCallable()- Overrides:
listSourcesPagedCallablein classMigrationCenterStub
-
getSourceCallable
- Overrides:
getSourceCallablein classMigrationCenterStub
-
createSourceCallable
- Overrides:
createSourceCallablein classMigrationCenterStub
-
createSourceOperationCallable
public OperationCallable<CreateSourceRequest,Source, createSourceOperationCallable()OperationMetadata> - Overrides:
createSourceOperationCallablein classMigrationCenterStub
-
updateSourceCallable
- Overrides:
updateSourceCallablein classMigrationCenterStub
-
updateSourceOperationCallable
public OperationCallable<UpdateSourceRequest,Source, updateSourceOperationCallable()OperationMetadata> - Overrides:
updateSourceOperationCallablein classMigrationCenterStub
-
deleteSourceCallable
- Overrides:
deleteSourceCallablein classMigrationCenterStub
-
deleteSourceOperationCallable
public OperationCallable<DeleteSourceRequest,com.google.protobuf.Empty, deleteSourceOperationCallable()OperationMetadata> - Overrides:
deleteSourceOperationCallablein classMigrationCenterStub
-
listPreferenceSetsCallable
public UnaryCallable<ListPreferenceSetsRequest,ListPreferenceSetsResponse> listPreferenceSetsCallable()- Overrides:
listPreferenceSetsCallablein classMigrationCenterStub
-
listPreferenceSetsPagedCallable
public UnaryCallable<ListPreferenceSetsRequest,MigrationCenterClient.ListPreferenceSetsPagedResponse> listPreferenceSetsPagedCallable()- Overrides:
listPreferenceSetsPagedCallablein classMigrationCenterStub
-
getPreferenceSetCallable
- Overrides:
getPreferenceSetCallablein classMigrationCenterStub
-
createPreferenceSetCallable
- Overrides:
createPreferenceSetCallablein classMigrationCenterStub
-
createPreferenceSetOperationCallable
public OperationCallable<CreatePreferenceSetRequest,PreferenceSet, createPreferenceSetOperationCallable()OperationMetadata> - Overrides:
createPreferenceSetOperationCallablein classMigrationCenterStub
-
updatePreferenceSetCallable
- Overrides:
updatePreferenceSetCallablein classMigrationCenterStub
-
updatePreferenceSetOperationCallable
public OperationCallable<UpdatePreferenceSetRequest,PreferenceSet, updatePreferenceSetOperationCallable()OperationMetadata> - Overrides:
updatePreferenceSetOperationCallablein classMigrationCenterStub
-
deletePreferenceSetCallable
- Overrides:
deletePreferenceSetCallablein classMigrationCenterStub
-
deletePreferenceSetOperationCallable
public OperationCallable<DeletePreferenceSetRequest,com.google.protobuf.Empty, deletePreferenceSetOperationCallable()OperationMetadata> - Overrides:
deletePreferenceSetOperationCallablein classMigrationCenterStub
-
getSettingsCallable
- Overrides:
getSettingsCallablein classMigrationCenterStub
-
updateSettingsCallable
- Overrides:
updateSettingsCallablein classMigrationCenterStub
-
updateSettingsOperationCallable
public OperationCallable<UpdateSettingsRequest,Settings, updateSettingsOperationCallable()OperationMetadata> - Overrides:
updateSettingsOperationCallablein classMigrationCenterStub
-
createReportConfigCallable
- Overrides:
createReportConfigCallablein classMigrationCenterStub
-
createReportConfigOperationCallable
public OperationCallable<CreateReportConfigRequest,ReportConfig, createReportConfigOperationCallable()OperationMetadata> - Overrides:
createReportConfigOperationCallablein classMigrationCenterStub
-
getReportConfigCallable
- Overrides:
getReportConfigCallablein classMigrationCenterStub
-
listReportConfigsCallable
public UnaryCallable<ListReportConfigsRequest,ListReportConfigsResponse> listReportConfigsCallable()- Overrides:
listReportConfigsCallablein classMigrationCenterStub
-
listReportConfigsPagedCallable
public UnaryCallable<ListReportConfigsRequest,MigrationCenterClient.ListReportConfigsPagedResponse> listReportConfigsPagedCallable()- Overrides:
listReportConfigsPagedCallablein classMigrationCenterStub
-
deleteReportConfigCallable
- Overrides:
deleteReportConfigCallablein classMigrationCenterStub
-
deleteReportConfigOperationCallable
public OperationCallable<DeleteReportConfigRequest,com.google.protobuf.Empty, deleteReportConfigOperationCallable()OperationMetadata> - Overrides:
deleteReportConfigOperationCallablein classMigrationCenterStub
-
createReportCallable
- Overrides:
createReportCallablein classMigrationCenterStub
-
createReportOperationCallable
public OperationCallable<CreateReportRequest,Report, createReportOperationCallable()OperationMetadata> - Overrides:
createReportOperationCallablein classMigrationCenterStub
-
getReportCallable
- Overrides:
getReportCallablein classMigrationCenterStub
-
listReportsCallable
- Overrides:
listReportsCallablein classMigrationCenterStub
-
listReportsPagedCallable
public UnaryCallable<ListReportsRequest,MigrationCenterClient.ListReportsPagedResponse> listReportsPagedCallable()- Overrides:
listReportsPagedCallablein classMigrationCenterStub
-
deleteReportCallable
- Overrides:
deleteReportCallablein classMigrationCenterStub
-
deleteReportOperationCallable
public OperationCallable<DeleteReportRequest,com.google.protobuf.Empty, deleteReportOperationCallable()OperationMetadata> - Overrides:
deleteReportOperationCallablein classMigrationCenterStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classMigrationCenterStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,MigrationCenterClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classMigrationCenterStub
-
getLocationCallable
- Overrides:
getLocationCallablein classMigrationCenterStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMigrationCenterStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-