Class GrpcRapidMigrationAssessmentStub (0.25.0)

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.

Inheritance

java.lang.Object > RapidMigrationAssessmentStub > GrpcRapidMigrationAssessmentStub

Static Methods

create(ClientContext clientContext)

public static final GrpcRapidMigrationAssessmentStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcRapidMigrationAssessmentStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcRapidMigrationAssessmentStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcRapidMigrationAssessmentStub
Exceptions
Type Description
IOException

create(RapidMigrationAssessmentStubSettings settings)

public static final GrpcRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
Parameter
Name Description
settings RapidMigrationAssessmentStubSettings
Returns
Type Description
GrpcRapidMigrationAssessmentStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings RapidMigrationAssessmentStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings RapidMigrationAssessmentStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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

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()
Returns
Type Description
GrpcOperationsStub
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