Class GrpcLicenseManagerStub
java.lang.Object
com.google.cloud.licensemanager.v1.stub.LicenseManagerStub
com.google.cloud.licensemanager.v1.stub.GrpcLicenseManagerStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcLicenseManagerStub
extends LicenseManagerStub
gRPC stub implementation for the LicenseManager service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcLicenseManagerStub, using the given settings.protectedGrpcLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcLicenseManagerStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcLicenseManagerStubcreate(ClientContext clientContext) static final GrpcLicenseManagerStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcLicenseManagerStubcreate(LicenseManagerStubSettings settings) OperationCallable<DeleteConfigurationRequest,com.google.protobuf.Empty, OperationMetadata> booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.licensemanager.v1.stub.LicenseManagerStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcLicenseManagerStub
protected GrpcLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcLicenseManagerStub, 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
-
GrpcLicenseManagerStub
protected GrpcLicenseManagerStub(LicenseManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcLicenseManagerStub, 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 GrpcLicenseManagerStub create(LicenseManagerStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcLicenseManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin 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
-