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.
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()
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> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
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> |