Class ProjectServiceGrpc.ProjectServiceStub (0.41.0)

public static final class ProjectServiceGrpc.ProjectServiceStub extends AbstractAsyncStub<ProjectServiceGrpc.ProjectServiceStub>

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

Service for operations on the Project.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ProjectServiceGrpc.ProjectServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProjectServiceGrpc.ProjectServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProjectServiceGrpc.ProjectServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getProject(GetProjectRequest request, StreamObserver<Project> responseObserver)

public void getProject(GetProjectRequest request, StreamObserver<Project> responseObserver)

Gets a Project. Returns NOT_FOUND when the project is not yet created.

Parameters
Name Description
request GetProjectRequest
responseObserver io.grpc.stub.StreamObserver<Project>

provisionProject(ProvisionProjectRequest request, StreamObserver<Operation> responseObserver)

public void provisionProject(ProvisionProjectRequest request, StreamObserver<Operation> responseObserver)

Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.

Parameters
Name Description
request ProvisionProjectRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

reportConsentChange(ReportConsentChangeRequest request, StreamObserver<Project> responseObserver)

public void reportConsentChange(ReportConsentChangeRequest request, StreamObserver<Project> responseObserver)

Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update:

Parameters
Name Description
request ReportConsentChangeRequest
responseObserver io.grpc.stub.StreamObserver<Project>