public class GrpcLicenseManagementServiceStub extends LicenseManagementServiceStub
gRPC stub implementation for the LicenseManagementService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcLicenseManagementServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcLicenseManagementServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(LicenseManagementServiceStubSettings settings)
public static final GrpcLicenseManagementServiceStub create(LicenseManagementServiceStubSettings settings)
Constructors
GrpcLicenseManagementServiceStub(LicenseManagementServiceStubSettings settings, ClientContext clientContext)
protected GrpcLicenseManagementServiceStub(LicenseManagementServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcLicenseManagementServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcLicenseManagementServiceStub(LicenseManagementServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcLicenseManagementServiceStub(LicenseManagementServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcLicenseManagementServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
assignCallable()
public UnaryCallable<AssignRequest,AssignResponse> assignCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
enumerateLicensedUsersCallable()
public UnaryCallable<EnumerateLicensedUsersRequest,EnumerateLicensedUsersResponse> enumerateLicensedUsersCallable()
Overrides
enumerateLicensedUsersPagedCallable()
public UnaryCallable<EnumerateLicensedUsersRequest,LicenseManagementServiceClient.EnumerateLicensedUsersPagedResponse> enumerateLicensedUsersPagedCallable()
Overrides
getLicensePoolCallable()
public UnaryCallable<GetLicensePoolRequest,LicensePool> getLicensePoolCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()
unassignCallable()
public UnaryCallable<UnassignRequest,UnassignResponse> unassignCallable()
Overrides
updateLicensePoolCallable()
public UnaryCallable<UpdateLicensePoolRequest,LicensePool> updateLicensePoolCallable()
Overrides