Class GrpcLicenseConfigServiceStub (0.90.0)

public class GrpcLicenseConfigServiceStub extends LicenseConfigServiceStub

gRPC stub implementation for the LicenseConfigService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > LicenseConfigServiceStub > GrpcLicenseConfigServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcLicenseConfigServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcLicenseConfigServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcLicenseConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcLicenseConfigServiceStub
Exceptions
Type Description
IOException

create(LicenseConfigServiceStubSettings settings)

public static final GrpcLicenseConfigServiceStub create(LicenseConfigServiceStubSettings settings)
Parameter
Name Description
settings LicenseConfigServiceStubSettings
Returns
Type Description
GrpcLicenseConfigServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext)

protected GrpcLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcLicenseConfigServiceStub, 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.

Parameters
Name Description
settings LicenseConfigServiceStubSettings
clientContext ClientContext

GrpcLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcLicenseConfigServiceStub, 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.

Parameters
Name Description
settings LicenseConfigServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createLicenseConfigCallable()

public UnaryCallable<CreateLicenseConfigRequest,LicenseConfig> createLicenseConfigCallable()
Returns
Type Description
UnaryCallable<CreateLicenseConfigRequest,LicenseConfig>
Overrides

distributeLicenseConfigCallable()

public UnaryCallable<DistributeLicenseConfigRequest,DistributeLicenseConfigResponse> distributeLicenseConfigCallable()
Returns
Type Description
UnaryCallable<DistributeLicenseConfigRequest,DistributeLicenseConfigResponse>
Overrides

getLicenseConfigCallable()

public UnaryCallable<GetLicenseConfigRequest,LicenseConfig> getLicenseConfigCallable()
Returns
Type Description
UnaryCallable<GetLicenseConfigRequest,LicenseConfig>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLicenseConfigsCallable()

public UnaryCallable<ListLicenseConfigsRequest,ListLicenseConfigsResponse> listLicenseConfigsCallable()
Returns
Type Description
UnaryCallable<ListLicenseConfigsRequest,ListLicenseConfigsResponse>
Overrides

listLicenseConfigsPagedCallable()

public UnaryCallable<ListLicenseConfigsRequest,LicenseConfigServiceClient.ListLicenseConfigsPagedResponse> listLicenseConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListLicenseConfigsRequest,ListLicenseConfigsPagedResponse>
Overrides

retractLicenseConfigCallable()

public UnaryCallable<RetractLicenseConfigRequest,RetractLicenseConfigResponse> retractLicenseConfigCallable()
Returns
Type Description
UnaryCallable<RetractLicenseConfigRequest,RetractLicenseConfigResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateLicenseConfigCallable()

public UnaryCallable<UpdateLicenseConfigRequest,LicenseConfig> updateLicenseConfigCallable()
Returns
Type Description
UnaryCallable<UpdateLicenseConfigRequest,LicenseConfig>
Overrides