public class HttpJsonRapidMigrationAssessmentStub extends RapidMigrationAssessmentStub
REST 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 HttpJsonRapidMigrationAssessmentStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRapidMigrationAssessmentStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RapidMigrationAssessmentStubSettings settings)
public static final HttpJsonRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext)
protected HttpJsonRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRapidMigrationAssessmentStub, 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.
HttpJsonRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRapidMigrationAssessmentStub(RapidMigrationAssessmentStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRapidMigrationAssessmentStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
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