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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcRapidMigrationAssessmentStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcRapidMigrationAssessmentStub
Exceptions
TypeDescription
IOException

create(RapidMigrationAssessmentStubSettings settings)

public static final GrpcRapidMigrationAssessmentStub create(RapidMigrationAssessmentStubSettings settings)
Parameter
NameDescription
settingsRapidMigrationAssessmentStubSettings
Returns
TypeDescription
GrpcRapidMigrationAssessmentStub
Exceptions
TypeDescription
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
NameDescription
settingsRapidMigrationAssessmentStubSettings
clientContextClientContext

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

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

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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