Class HttpJsonRapidMigrationAssessmentStub (0.6.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRapidMigrationAssessmentStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRapidMigrationAssessmentStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonRapidMigrationAssessmentStub
Exceptions
TypeDescription
IOException

create(RapidMigrationAssessmentStubSettings settings)

public static final HttpJsonRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
Parameter
NameDescription
settingsRapidMigrationAssessmentStubSettings
Returns
TypeDescription
HttpJsonRapidMigrationAssessmentStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRapidMigrationAssessmentStubSettings
clientContextClientContext

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
NameDescription
settingsRapidMigrationAssessmentStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createAnnotationCallable()

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

createAnnotationOperationCallable()

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

createCollectorCallable()

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

createCollectorOperationCallable()

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

deleteCollectorCallable()

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

deleteCollectorOperationCallable()

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

getAnnotationCallable()

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

getCollectorCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCollectorsCallable()

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

listCollectorsPagedCallable()

public UnaryCallable<ListCollectorsRequest,RapidMigrationAssessmentClient.ListCollectorsPagedResponse> listCollectorsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCollectorsRequest,ListCollectorsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,RapidMigrationAssessmentClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

pauseCollectorCallable()

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

pauseCollectorOperationCallable()

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

registerCollectorCallable()

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

registerCollectorOperationCallable()

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

resumeCollectorCallable()

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

resumeCollectorOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCollectorCallable()

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

updateCollectorOperationCallable()

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