Class LicenseManagementServiceGrpc.LicenseManagementServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<LicenseManagementServiceGrpc.LicenseManagementServiceStub>
com.google.cloud.commerce.consumer.procurement.v1.LicenseManagementServiceGrpc.LicenseManagementServiceStub
- Enclosing class:
- LicenseManagementServiceGrpc
public static final class LicenseManagementServiceGrpc.LicenseManagementServiceStub
extends io.grpc.stub.AbstractAsyncStub<LicenseManagementServiceGrpc.LicenseManagementServiceStub>
A stub to allow clients to do asynchronous rpc calls to service LicenseManagementService.
Service for managing 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 TypeMethodDescriptionvoidassign(AssignRequest request, io.grpc.stub.StreamObserver<AssignResponse> responseObserver) Assigns a license to a user.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidenumerateLicensedUsers(EnumerateLicensedUsersRequest request, io.grpc.stub.StreamObserver<EnumerateLicensedUsersResponse> responseObserver) Enumerates all users assigned a license.voidgetLicensePool(GetLicensePoolRequest request, io.grpc.stub.StreamObserver<LicensePool> responseObserver) Gets the license pool.voidunassign(UnassignRequest request, io.grpc.stub.StreamObserver<UnassignResponse> responseObserver) Unassigns a license from a user.voidupdateLicensePool(UpdateLicensePoolRequest request, io.grpc.stub.StreamObserver<LicensePool> responseObserver) Updates the license pool if one exists for this Order.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 LicenseManagementServiceGrpc.LicenseManagementServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LicenseManagementServiceGrpc.LicenseManagementServiceStub>
-
getLicensePool
public void getLicensePool(GetLicensePoolRequest request, io.grpc.stub.StreamObserver<LicensePool> responseObserver) Gets the license pool.
-
updateLicensePool
public void updateLicensePool(UpdateLicensePoolRequest request, io.grpc.stub.StreamObserver<LicensePool> responseObserver) Updates the license pool if one exists for this Order.
-
assign
public void assign(AssignRequest request, io.grpc.stub.StreamObserver<AssignResponse> responseObserver) Assigns a license to a user.
-
unassign
public void unassign(UnassignRequest request, io.grpc.stub.StreamObserver<UnassignResponse> responseObserver) Unassigns a license from a user.
-
enumerateLicensedUsers
public void enumerateLicensedUsers(EnumerateLicensedUsersRequest request, io.grpc.stub.StreamObserver<EnumerateLicensedUsersResponse> responseObserver) Enumerates all users assigned a license.
-