@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonLicenseStub extends LicenseStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonLicenseStub(LicenseStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonLicenseStub, using the given settings.
|
protected |
HttpJsonLicenseStub(LicenseStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLicenseStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<DeleteLicenseHttpRequest,Operation> deleteLicenseMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetLicenseHttpRequest,License> getLicenseMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetIamPolicyLicenseHttpRequest,Policy> getIamPolicyLicenseMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertLicenseHttpRequest,Operation> insertLicenseMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListLicensesHttpRequest,LicensesListResponse> listLicensesMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SetIamPolicyLicenseHttpRequest,Policy> setIamPolicyLicenseMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<TestIamPermissionsLicenseHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseMethodDescriptor
protected HttpJsonLicenseStub(LicenseStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonLicenseStub(LicenseStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonLicenseStub create(LicenseStubSettings settings) throws IOException
IOException
public static final HttpJsonLicenseStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonLicenseStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteLicenseHttpRequest,Operation> deleteLicenseCallable()
deleteLicenseCallable
in class LicenseStub
@BetaApi public UnaryCallable<GetLicenseHttpRequest,License> getLicenseCallable()
getLicenseCallable
in class LicenseStub
@BetaApi public UnaryCallable<GetIamPolicyLicenseHttpRequest,Policy> getIamPolicyLicenseCallable()
getIamPolicyLicenseCallable
in class LicenseStub
@BetaApi public UnaryCallable<InsertLicenseHttpRequest,Operation> insertLicenseCallable()
insertLicenseCallable
in class LicenseStub
@BetaApi public UnaryCallable<ListLicensesHttpRequest,LicenseClient.ListLicensesPagedResponse> listLicensesPagedCallable()
listLicensesPagedCallable
in class LicenseStub
@BetaApi public UnaryCallable<ListLicensesHttpRequest,LicensesListResponse> listLicensesCallable()
listLicensesCallable
in class LicenseStub
@BetaApi public UnaryCallable<SetIamPolicyLicenseHttpRequest,Policy> setIamPolicyLicenseCallable()
setIamPolicyLicenseCallable
in class LicenseStub
@BetaApi public UnaryCallable<TestIamPermissionsLicenseHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseCallable()
testIamPermissionsLicenseCallable
in class LicenseStub
public final void close()
close
in interface AutoCloseable
close
in class LicenseStub
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.