@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 com.google.api.gax.httpjson.ApiMethodDescriptor<GetLicenseCodeHttpRequest,LicenseCode> |
getLicenseCodeMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> |
testIamPermissionsLicenseCodeMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonLicenseCodeStub, using the given settings.
|
protected |
HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.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(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonLicenseCodeStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonLicenseCodeStub |
create(LicenseCodeStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<GetLicenseCodeHttpRequest,LicenseCode> |
getLicenseCodeCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> |
testIamPermissionsLicenseCodeCallable() |
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetLicenseCodeHttpRequest,LicenseCode> getLicenseCodeMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseCodeMethodDescriptor
protected HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonLicenseCodeStub(LicenseCodeStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonLicenseCodeStub create(LicenseCodeStubSettings settings) throws IOException
IOException
public static final HttpJsonLicenseCodeStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonLicenseCodeStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetLicenseCodeHttpRequest,LicenseCode> getLicenseCodeCallable()
getLicenseCodeCallable
in class LicenseCodeStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<TestIamPermissionsLicenseCodeHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseCodeCallable()
testIamPermissionsLicenseCodeCallable
in class LicenseCodeStub
public final void close()
close
in interface AutoCloseable
close
in class LicenseCodeStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.