Class LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub>
com.google.cloud.commerce.consumer.procurement.v1.LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub
- Enclosing class:
- LicenseManagementServiceGrpc
public static final class LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<AssignResponse>assign(AssignRequest request) Assigns a license to a user.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<EnumerateLicensedUsersResponse>Enumerates all users assigned a license.com.google.common.util.concurrent.ListenableFuture<LicensePool>getLicensePool(GetLicensePoolRequest request) Gets the license pool.com.google.common.util.concurrent.ListenableFuture<UnassignResponse>unassign(UnassignRequest request) Unassigns a license from a user.com.google.common.util.concurrent.ListenableFuture<LicensePool>Updates the license pool if one exists for this Order.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.LicenseManagementServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LicenseManagementServiceGrpc.LicenseManagementServiceFutureStub>
-
getLicensePool
public com.google.common.util.concurrent.ListenableFuture<LicensePool> getLicensePool(GetLicensePoolRequest request) Gets the license pool.
-
updateLicensePool
public com.google.common.util.concurrent.ListenableFuture<LicensePool> updateLicensePool(UpdateLicensePoolRequest request) Updates the license pool if one exists for this Order.
-
assign
public com.google.common.util.concurrent.ListenableFuture<AssignResponse> assign(AssignRequest request) Assigns a license to a user.
-
unassign
public com.google.common.util.concurrent.ListenableFuture<UnassignResponse> unassign(UnassignRequest request) Unassigns a license from a user.
-
enumerateLicensedUsers
public com.google.common.util.concurrent.ListenableFuture<EnumerateLicensedUsersResponse> enumerateLicensedUsers(EnumerateLicensedUsersRequest request) Enumerates all users assigned a license.
-