Class HttpJsonLicenseManagerStub
java.lang.Object
com.google.cloud.licensemanager.v1.stub.LicenseManagerStub
com.google.cloud.licensemanager.v1.stub.HttpJsonLicenseManagerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonLicenseManagerStub
extends LicenseManagerStub
REST stub implementation for the LicenseManager service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonLicenseManagerStub, using the given settings.protectedHttpJsonLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonLicenseManagerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonLicenseManagerStubcreate(ClientContext clientContext) static final HttpJsonLicenseManagerStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonLicenseManagerStubcreate(LicenseManagerStubSettings settings) OperationCallable<DeleteConfigurationRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.licensemanager.v1.stub.LicenseManagerStub
getOperationsStub
-
Constructor Details
-
HttpJsonLicenseManagerStub
protected HttpJsonLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonLicenseManagerStub, 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.- Throws:
IOException
-
HttpJsonLicenseManagerStub
protected HttpJsonLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonLicenseManagerStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonLicenseManagerStub create(LicenseManagerStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonLicenseManagerStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonLicenseManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classLicenseManagerStub
-
listConfigurationsCallable
public UnaryCallable<ListConfigurationsRequest,ListConfigurationsResponse> listConfigurationsCallable()- Overrides:
listConfigurationsCallablein classLicenseManagerStub
-
listConfigurationsPagedCallable
public UnaryCallable<ListConfigurationsRequest,LicenseManagerClient.ListConfigurationsPagedResponse> listConfigurationsPagedCallable()- Overrides:
listConfigurationsPagedCallablein classLicenseManagerStub
-
getConfigurationCallable
- Overrides:
getConfigurationCallablein classLicenseManagerStub
-
createConfigurationCallable
- Overrides:
createConfigurationCallablein classLicenseManagerStub
-
createConfigurationOperationCallable
public OperationCallable<CreateConfigurationRequest,Configuration, createConfigurationOperationCallable()OperationMetadata> - Overrides:
createConfigurationOperationCallablein classLicenseManagerStub
-
updateConfigurationCallable
- Overrides:
updateConfigurationCallablein classLicenseManagerStub
-
updateConfigurationOperationCallable
public OperationCallable<UpdateConfigurationRequest,Configuration, updateConfigurationOperationCallable()OperationMetadata> - Overrides:
updateConfigurationOperationCallablein classLicenseManagerStub
-
deleteConfigurationCallable
- Overrides:
deleteConfigurationCallablein classLicenseManagerStub
-
deleteConfigurationOperationCallable
public OperationCallable<DeleteConfigurationRequest,com.google.protobuf.Empty, deleteConfigurationOperationCallable()OperationMetadata> - Overrides:
deleteConfigurationOperationCallablein classLicenseManagerStub
-
listInstancesCallable
- Overrides:
listInstancesCallablein classLicenseManagerStub
-
listInstancesPagedCallable
public UnaryCallable<ListInstancesRequest,LicenseManagerClient.ListInstancesPagedResponse> listInstancesPagedCallable()- Overrides:
listInstancesPagedCallablein classLicenseManagerStub
-
getInstanceCallable
- Overrides:
getInstanceCallablein classLicenseManagerStub
-
deactivateConfigurationCallable
- Overrides:
deactivateConfigurationCallablein classLicenseManagerStub
-
deactivateConfigurationOperationCallable
public OperationCallable<DeactivateConfigurationRequest,Configuration, deactivateConfigurationOperationCallable()OperationMetadata> - Overrides:
deactivateConfigurationOperationCallablein classLicenseManagerStub
-
reactivateConfigurationCallable
- Overrides:
reactivateConfigurationCallablein classLicenseManagerStub
-
reactivateConfigurationOperationCallable
public OperationCallable<ReactivateConfigurationRequest,Configuration, reactivateConfigurationOperationCallable()OperationMetadata> - Overrides:
reactivateConfigurationOperationCallablein classLicenseManagerStub
-
queryConfigurationLicenseUsageCallable
public UnaryCallable<QueryConfigurationLicenseUsageRequest,QueryConfigurationLicenseUsageResponse> queryConfigurationLicenseUsageCallable()- Overrides:
queryConfigurationLicenseUsageCallablein classLicenseManagerStub
-
aggregateUsageCallable
- Overrides:
aggregateUsageCallablein classLicenseManagerStub
-
aggregateUsagePagedCallable
public UnaryCallable<AggregateUsageRequest,LicenseManagerClient.AggregateUsagePagedResponse> aggregateUsagePagedCallable()- Overrides:
aggregateUsagePagedCallablein classLicenseManagerStub
-
listProductsCallable
- Overrides:
listProductsCallablein classLicenseManagerStub
-
listProductsPagedCallable
public UnaryCallable<ListProductsRequest,LicenseManagerClient.ListProductsPagedResponse> listProductsPagedCallable()- Overrides:
listProductsPagedCallablein classLicenseManagerStub
-
getProductCallable
- Overrides:
getProductCallablein classLicenseManagerStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classLicenseManagerStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,LicenseManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classLicenseManagerStub
-
getLocationCallable
- Overrides:
getLocationCallablein classLicenseManagerStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classLicenseManagerStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-