Class HttpJsonLicenseConfigServiceStub (0.90.0)

public class HttpJsonLicenseConfigServiceStub extends LicenseConfigServiceStub

REST stub implementation for the LicenseConfigService service API.

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

Inheritance

java.lang.Object > LicenseConfigServiceStub > HttpJsonLicenseConfigServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(LicenseConfigServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonLicenseConfigServiceStub(LicenseConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonLicenseConfigServiceStub, 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 HttpJsonStubCallableFactory

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

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