public class GrpcRapidMigrationAssessmentStub extends RapidMigrationAssessmentStub
gRPC stub implementation for the RapidMigrationAssessment service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcRapidMigrationAssessmentStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRapidMigrationAssessmentStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(RapidMigrationAssessmentStubSettings settings)
public static final GrpcRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
Constructors
GrpcRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext)
protected GrpcRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRapidMigrationAssessmentStub, 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.
GrpcRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRapidMigrationAssessmentStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createAnnotationCallable()
public UnaryCallable<CreateAnnotationRequest,Operation> createAnnotationCallable()
Overrides
createAnnotationOperationCallable()
public OperationCallable<CreateAnnotationRequest,Annotation,OperationMetadata> createAnnotationOperationCallable()
Overrides
createCollectorCallable()
public UnaryCallable<CreateCollectorRequest,Operation> createCollectorCallable()
Overrides
createCollectorOperationCallable()
public OperationCallable<CreateCollectorRequest,Collector,OperationMetadata> createCollectorOperationCallable()
Overrides
deleteCollectorCallable()
public UnaryCallable<DeleteCollectorRequest,Operation> deleteCollectorCallable()
Overrides
deleteCollectorOperationCallable()
public OperationCallable<DeleteCollectorRequest,Collector,OperationMetadata> deleteCollectorOperationCallable()
Overrides
getAnnotationCallable()
public UnaryCallable<GetAnnotationRequest,Annotation> getAnnotationCallable()
Overrides
getCollectorCallable()
public UnaryCallable<GetCollectorRequest,Collector> getCollectorCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCollectorsCallable()
public UnaryCallable<ListCollectorsRequest,ListCollectorsResponse> listCollectorsCallable()
Overrides
listCollectorsPagedCallable()
public UnaryCallable<ListCollectorsRequest,RapidMigrationAssessmentClient.ListCollectorsPagedResponse> listCollectorsPagedCallable()
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,RapidMigrationAssessmentClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
pauseCollectorCallable()
public UnaryCallable<PauseCollectorRequest,Operation> pauseCollectorCallable()
Overrides
pauseCollectorOperationCallable()
public OperationCallable<PauseCollectorRequest,Collector,OperationMetadata> pauseCollectorOperationCallable()
Overrides
registerCollectorCallable()
public UnaryCallable<RegisterCollectorRequest,Operation> registerCollectorCallable()
Overrides
registerCollectorOperationCallable()
public OperationCallable<RegisterCollectorRequest,Collector,OperationMetadata> registerCollectorOperationCallable()
Overrides
resumeCollectorCallable()
public UnaryCallable<ResumeCollectorRequest,Operation> resumeCollectorCallable()
Overrides
resumeCollectorOperationCallable()
public OperationCallable<ResumeCollectorRequest,Collector,OperationMetadata> resumeCollectorOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCollectorCallable()
public UnaryCallable<UpdateCollectorRequest,Operation> updateCollectorCallable()
Overrides
updateCollectorOperationCallable()
public OperationCallable<UpdateCollectorRequest,Collector,OperationMetadata> updateCollectorOperationCallable()
Overrides