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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonRapidMigrationAssessmentStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRapidMigrationAssessmentStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonRapidMigrationAssessmentStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(RapidMigrationAssessmentStubSettings settings)
public static final HttpJsonRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | RapidMigrationAssessmentStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonRapidMigrationAssessmentStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
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.
Parameters | |
---|---|
Name | Description |
settings | RapidMigrationAssessmentStubSettings |
clientContext | ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings | RapidMigrationAssessmentStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createAnnotationCallable()
public UnaryCallable<CreateAnnotationRequest,Operation> createAnnotationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateAnnotationRequest,Operation> |
createAnnotationOperationCallable()
public OperationCallable<CreateAnnotationRequest,Annotation,OperationMetadata> createAnnotationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateAnnotationRequest,Annotation,OperationMetadata> |
createCollectorCallable()
public UnaryCallable<CreateCollectorRequest,Operation> createCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateCollectorRequest,Operation> |
createCollectorOperationCallable()
public OperationCallable<CreateCollectorRequest,Collector,OperationMetadata> createCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateCollectorRequest,Collector,OperationMetadata> |
deleteCollectorCallable()
public UnaryCallable<DeleteCollectorRequest,Operation> deleteCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteCollectorRequest,Operation> |
deleteCollectorOperationCallable()
public OperationCallable<DeleteCollectorRequest,Collector,OperationMetadata> deleteCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteCollectorRequest,Collector,OperationMetadata> |
getAnnotationCallable()
public UnaryCallable<GetAnnotationRequest,Annotation> getAnnotationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetAnnotationRequest,Annotation> |
getCollectorCallable()
public UnaryCallable<GetCollectorRequest,Collector> getCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetCollectorRequest,Collector> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listCollectorsCallable()
public UnaryCallable<ListCollectorsRequest,ListCollectorsResponse> listCollectorsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCollectorsRequest,ListCollectorsResponse> |
listCollectorsPagedCallable()
public UnaryCallable<ListCollectorsRequest,RapidMigrationAssessmentClient.ListCollectorsPagedResponse> listCollectorsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListCollectorsRequest,ListCollectorsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,RapidMigrationAssessmentClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
pauseCollectorCallable()
public UnaryCallable<PauseCollectorRequest,Operation> pauseCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PauseCollectorRequest,Operation> |
pauseCollectorOperationCallable()
public OperationCallable<PauseCollectorRequest,Collector,OperationMetadata> pauseCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<PauseCollectorRequest,Collector,OperationMetadata> |
registerCollectorCallable()
public UnaryCallable<RegisterCollectorRequest,Operation> registerCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RegisterCollectorRequest,Operation> |
registerCollectorOperationCallable()
public OperationCallable<RegisterCollectorRequest,Collector,OperationMetadata> registerCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RegisterCollectorRequest,Collector,OperationMetadata> |
resumeCollectorCallable()
public UnaryCallable<ResumeCollectorRequest,Operation> resumeCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResumeCollectorRequest,Operation> |
resumeCollectorOperationCallable()
public OperationCallable<ResumeCollectorRequest,Collector,OperationMetadata> resumeCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResumeCollectorRequest,Collector,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateCollectorCallable()
public UnaryCallable<UpdateCollectorRequest,Operation> updateCollectorCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateCollectorRequest,Operation> |
updateCollectorOperationCallable()
public OperationCallable<UpdateCollectorRequest,Collector,OperationMetadata> updateCollectorOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateCollectorRequest,Collector,OperationMetadata> |