Class HttpJsonRapidMigrationAssessmentStub (0.25.0)

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.

Inheritance

java.lang.Object > RapidMigrationAssessmentStub > HttpJsonRapidMigrationAssessmentStub

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()
Overrides

createAnnotationCallable()

public UnaryCallable<CreateAnnotationRequest,Operation> createAnnotationCallable()
Returns
Type Description
UnaryCallable<CreateAnnotationRequest,Operation>
Overrides

createAnnotationOperationCallable()

public OperationCallable<CreateAnnotationRequest,Annotation,OperationMetadata> createAnnotationOperationCallable()
Returns
Type Description
OperationCallable<CreateAnnotationRequest,Annotation,OperationMetadata>
Overrides

createCollectorCallable()

public UnaryCallable<CreateCollectorRequest,Operation> createCollectorCallable()
Returns
Type Description
UnaryCallable<CreateCollectorRequest,Operation>
Overrides

createCollectorOperationCallable()

public OperationCallable<CreateCollectorRequest,Collector,OperationMetadata> createCollectorOperationCallable()
Returns
Type Description
OperationCallable<CreateCollectorRequest,Collector,OperationMetadata>
Overrides

deleteCollectorCallable()

public UnaryCallable<DeleteCollectorRequest,Operation> deleteCollectorCallable()
Returns
Type Description
UnaryCallable<DeleteCollectorRequest,Operation>
Overrides

deleteCollectorOperationCallable()

public OperationCallable<DeleteCollectorRequest,Collector,OperationMetadata> deleteCollectorOperationCallable()
Returns
Type Description
OperationCallable<DeleteCollectorRequest,Collector,OperationMetadata>
Overrides

getAnnotationCallable()

public UnaryCallable<GetAnnotationRequest,Annotation> getAnnotationCallable()
Returns
Type Description
UnaryCallable<GetAnnotationRequest,Annotation>
Overrides

getCollectorCallable()

public UnaryCallable<GetCollectorRequest,Collector> getCollectorCallable()
Returns
Type Description
UnaryCallable<GetCollectorRequest,Collector>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCollectorsCallable()

public UnaryCallable<ListCollectorsRequest,ListCollectorsResponse> listCollectorsCallable()
Returns
Type Description
UnaryCallable<ListCollectorsRequest,ListCollectorsResponse>
Overrides

listCollectorsPagedCallable()

public UnaryCallable<ListCollectorsRequest,RapidMigrationAssessmentClient.ListCollectorsPagedResponse> listCollectorsPagedCallable()
Returns
Type Description
UnaryCallable<ListCollectorsRequest,ListCollectorsPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

pauseCollectorCallable()

public UnaryCallable<PauseCollectorRequest,Operation> pauseCollectorCallable()
Returns
Type Description
UnaryCallable<PauseCollectorRequest,Operation>
Overrides

pauseCollectorOperationCallable()

public OperationCallable<PauseCollectorRequest,Collector,OperationMetadata> pauseCollectorOperationCallable()
Returns
Type Description
OperationCallable<PauseCollectorRequest,Collector,OperationMetadata>
Overrides

registerCollectorCallable()

public UnaryCallable<RegisterCollectorRequest,Operation> registerCollectorCallable()
Returns
Type Description
UnaryCallable<RegisterCollectorRequest,Operation>
Overrides

registerCollectorOperationCallable()

public OperationCallable<RegisterCollectorRequest,Collector,OperationMetadata> registerCollectorOperationCallable()
Returns
Type Description
OperationCallable<RegisterCollectorRequest,Collector,OperationMetadata>
Overrides

resumeCollectorCallable()

public UnaryCallable<ResumeCollectorRequest,Operation> resumeCollectorCallable()
Returns
Type Description
UnaryCallable<ResumeCollectorRequest,Operation>
Overrides

resumeCollectorOperationCallable()

public OperationCallable<ResumeCollectorRequest,Collector,OperationMetadata> resumeCollectorOperationCallable()
Returns
Type Description
OperationCallable<ResumeCollectorRequest,Collector,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCollectorCallable()

public UnaryCallable<UpdateCollectorRequest,Operation> updateCollectorCallable()
Returns
Type Description
UnaryCallable<UpdateCollectorRequest,Operation>
Overrides

updateCollectorOperationCallable()

public OperationCallable<UpdateCollectorRequest,Collector,OperationMetadata> updateCollectorOperationCallable()
Returns
Type Description
OperationCallable<UpdateCollectorRequest,Collector,OperationMetadata>
Overrides