@Generated(value="by gapic-generator-java") public class HttpJsonLicenseCodesStub extends LicenseCodesStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonLicenseCodesStub(LicenseCodesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonLicenseCodesStub, using the given settings.
|
protected |
HttpJsonLicenseCodesStub(LicenseCodesStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLicenseCodesStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonLicenseCodesStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonLicenseCodesStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonLicenseCodesStub |
create(LicenseCodesStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetLicenseCodeRequest,LicenseCode> |
getCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse> |
testIamPermissionsCallable() |
protected HttpJsonLicenseCodesStub(LicenseCodesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonLicenseCodesStub(LicenseCodesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodesStub create(LicenseCodesStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<GetLicenseCodeRequest,LicenseCode> getCallable()
getCallable in class LicenseCodesStubpublic com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsLicenseCodeRequest,TestPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class LicenseCodesStubpublic final void close()
close in interface AutoCloseableclose in class LicenseCodesStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.