@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonLicenseCodeStub extends LicenseCodeStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier and Type | Field and Description |
|---|---|
static ApiMethodDescriptor<GetLicenseCodeHttpRequest,LicenseCode> |
getLicenseCodeMethodDescriptor |
static ApiMethodDescriptor<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> |
testIamPermissionsLicenseCodeMethodDescriptor |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonLicenseCodeStub, using the given settings.
|
protected |
HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLicenseCodeStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonLicenseCodeStub |
create(ClientContext clientContext) |
static HttpJsonLicenseCodeStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonLicenseCodeStub |
create(LicenseCodeStubSettings settings) |
UnaryCallable<GetLicenseCodeHttpRequest,LicenseCode> |
getLicenseCodeCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> |
testIamPermissionsLicenseCodeCallable() |
@InternalApi public static final ApiMethodDescriptor<GetLicenseCodeHttpRequest,LicenseCode> getLicenseCodeMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseCodeMethodDescriptor
protected HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings, ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodeStub create(LicenseCodeStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodeStub create(ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonLicenseCodeStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@BetaApi public UnaryCallable<GetLicenseCodeHttpRequest,LicenseCode> getLicenseCodeCallable()
getLicenseCodeCallable in class LicenseCodeStub@BetaApi public UnaryCallable<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseCodeCallable()
testIamPermissionsLicenseCodeCallable in class LicenseCodeStubpublic final void close()
close in interface AutoCloseableclose in class LicenseCodeStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.