Class UserLicenseServiceGrpc.UserLicenseServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<UserLicenseServiceGrpc.UserLicenseServiceStub>
com.google.cloud.discoveryengine.v1.UserLicenseServiceGrpc.UserLicenseServiceStub
- Enclosing class:
- UserLicenseServiceGrpc
public static final class UserLicenseServiceGrpc.UserLicenseServiceStub
extends io.grpc.stub.AbstractAsyncStub<UserLicenseServiceGrpc.UserLicenseServiceStub>
A stub to allow clients to do asynchronous rpc calls to service UserLicenseService.
Service for managing User Licenses.
-
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 TypeMethodDescriptionvoidbatchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the User License.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidlistUserLicenses(ListUserLicensesRequest request, io.grpc.stub.StreamObserver<ListUserLicensesResponse> responseObserver) Lists the User Licenses.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 UserLicenseServiceGrpc.UserLicenseServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<UserLicenseServiceGrpc.UserLicenseServiceStub>
-
listUserLicenses
public void listUserLicenses(ListUserLicensesRequest request, io.grpc.stub.StreamObserver<ListUserLicensesResponse> responseObserver) Lists the User Licenses.
-
batchUpdateUserLicenses
public void batchUpdateUserLicenses(BatchUpdateUserLicensesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates the User License. This method is used for batch assign/unassign licenses to users.
-