Class GrpcMigrationServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1beta1.stub.MigrationServiceStub
com.google.cloud.aiplatform.v1beta1.stub.GrpcMigrationServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcMigrationServiceStub
extends MigrationServiceStub
gRPC stub implementation for the MigrationService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcMigrationServiceStub(MigrationServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcMigrationServiceStub, using the given settings.protectedGrpcMigrationServiceStub(MigrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcMigrationServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) OperationCallable<BatchMigrateResourcesRequest,BatchMigrateResourcesResponse, BatchMigrateResourcesOperationMetadata> final voidclose()static final GrpcMigrationServiceStubcreate(ClientContext clientContext) static final GrpcMigrationServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcMigrationServiceStubcreate(MigrationServiceStubSettings settings) booleanbooleanUnaryCallable<SearchMigratableResourcesRequest,MigrationServiceClient.SearchMigratableResourcesPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcMigrationServiceStub
protected GrpcMigrationServiceStub(MigrationServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcMigrationServiceStub, 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
-
GrpcMigrationServiceStub
protected GrpcMigrationServiceStub(MigrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcMigrationServiceStub, 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 GrpcMigrationServiceStub create(MigrationServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcMigrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classMigrationServiceStub
-
searchMigratableResourcesCallable
public UnaryCallable<SearchMigratableResourcesRequest,SearchMigratableResourcesResponse> searchMigratableResourcesCallable()- Overrides:
searchMigratableResourcesCallablein classMigrationServiceStub
-
searchMigratableResourcesPagedCallable
public UnaryCallable<SearchMigratableResourcesRequest,MigrationServiceClient.SearchMigratableResourcesPagedResponse> searchMigratableResourcesPagedCallable()- Overrides:
searchMigratableResourcesPagedCallablein classMigrationServiceStub
-
batchMigrateResourcesCallable
- Overrides:
batchMigrateResourcesCallablein classMigrationServiceStub
-
batchMigrateResourcesOperationCallable
public OperationCallable<BatchMigrateResourcesRequest,BatchMigrateResourcesResponse, batchMigrateResourcesOperationCallable()BatchMigrateResourcesOperationMetadata> - Overrides:
batchMigrateResourcesOperationCallablein classMigrationServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classMigrationServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,MigrationServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classMigrationServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classMigrationServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classMigrationServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classMigrationServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classMigrationServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classMigrationServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-