Class RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub (0.11.0)

public static final class RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub extends AbstractAsyncStub<RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub>

A stub to allow clients to do asynchronous rpc calls to service RapidMigrationAssessment.

Service describing handlers for resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub

Methods

build(Channel channel, CallOptions callOptions)

protected RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RapidMigrationAssessmentGrpc.RapidMigrationAssessmentStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAnnotation(CreateAnnotationRequest request, StreamObserver<Operation> responseObserver)

public void createAnnotation(CreateAnnotationRequest request, StreamObserver<Operation> responseObserver)

Creates an Annotation

Parameters
NameDescription
requestCreateAnnotationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createCollector(CreateCollectorRequest request, StreamObserver<Operation> responseObserver)

public void createCollector(CreateCollectorRequest request, StreamObserver<Operation> responseObserver)

Create a Collector to manage the on-prem appliance which collects information about Customer assets.

Parameters
NameDescription
requestCreateCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCollector(DeleteCollectorRequest request, StreamObserver<Operation> responseObserver)

public void deleteCollector(DeleteCollectorRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Collector - changes state of collector to "Deleting". Background jobs does final deletion thorugh producer api.

Parameters
NameDescription
requestDeleteCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAnnotation(GetAnnotationRequest request, StreamObserver<Annotation> responseObserver)

public void getAnnotation(GetAnnotationRequest request, StreamObserver<Annotation> responseObserver)

Gets details of a single Annotation.

Parameters
NameDescription
requestGetAnnotationRequest
responseObserverio.grpc.stub.StreamObserver<Annotation>

getCollector(GetCollectorRequest request, StreamObserver<Collector> responseObserver)

public void getCollector(GetCollectorRequest request, StreamObserver<Collector> responseObserver)

Gets details of a single Collector.

Parameters
NameDescription
requestGetCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Collector>

listCollectors(ListCollectorsRequest request, StreamObserver<ListCollectorsResponse> responseObserver)

public void listCollectors(ListCollectorsRequest request, StreamObserver<ListCollectorsResponse> responseObserver)

Lists Collectors in a given project and location.

Parameters
NameDescription
requestListCollectorsRequest
responseObserverio.grpc.stub.StreamObserver<ListCollectorsResponse>

pauseCollector(PauseCollectorRequest request, StreamObserver<Operation> responseObserver)

public void pauseCollector(PauseCollectorRequest request, StreamObserver<Operation> responseObserver)

Pauses the given collector.

Parameters
NameDescription
requestPauseCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

registerCollector(RegisterCollectorRequest request, StreamObserver<Operation> responseObserver)

public void registerCollector(RegisterCollectorRequest request, StreamObserver<Operation> responseObserver)

Registers the given collector.

Parameters
NameDescription
requestRegisterCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

resumeCollector(ResumeCollectorRequest request, StreamObserver<Operation> responseObserver)

public void resumeCollector(ResumeCollectorRequest request, StreamObserver<Operation> responseObserver)

Resumes the given collector.

Parameters
NameDescription
requestResumeCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCollector(UpdateCollectorRequest request, StreamObserver<Operation> responseObserver)

public void updateCollector(UpdateCollectorRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Collector.

Parameters
NameDescription
requestUpdateCollectorRequest
responseObserverio.grpc.stub.StreamObserver<Operation>