Class ProjectServiceGrpc.ProjectServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ProjectServiceGrpc.ProjectServiceStub>
com.google.cloud.discoveryengine.v1beta.ProjectServiceGrpc.ProjectServiceStub
- Enclosing class:
- ProjectServiceGrpc
public static final class ProjectServiceGrpc.ProjectServiceStub
extends io.grpc.stub.AbstractAsyncStub<ProjectServiceGrpc.ProjectServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ProjectService.
Service for operations on the [Project][google.cloud.discoveryengine.v1beta.Project].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected ProjectServiceGrpc.ProjectServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidprovisionProject(ProvisionProjectRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Provisions the project resource.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ProjectServiceGrpc.ProjectServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ProjectServiceGrpc.ProjectServiceStub>
-
provisionProject
public void provisionProject(ProvisionProjectRequest request, io.grpc.stub.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](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
-