@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 and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteLicenseHttpRequest,Operation> |
deleteLicenseMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyLicenseHttpRequest,Policy> |
getIamPolicyLicenseMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetLicenseHttpRequest,License> |
getLicenseMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertLicenseHttpRequest,Operation> |
insertLicenseMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListLicensesHttpRequest,LicensesListResponse> |
listLicensesMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyLicenseHttpRequest,Policy> |
setIamPolicyLicenseMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsLicenseHttpRequest,TestPermissionsResponse> |
testIamPermissionsLicenseMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonLicenseStub(LicenseStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonLicenseStub, using the given settings.
|
protected |
HttpJsonLicenseStub(LicenseStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLicenseStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteLicenseHttpRequest,Operation> deleteLicenseMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetLicenseHttpRequest,License> getLicenseMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetIamPolicyLicenseHttpRequest,Policy> getIamPolicyLicenseMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertLicenseHttpRequest,Operation> insertLicenseMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListLicensesHttpRequest,LicensesListResponse> listLicensesMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SetIamPolicyLicenseHttpRequest,Policy> setIamPolicyLicenseMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<TestIamPermissionsLicenseHttpRequest,TestPermissionsResponse> testIamPermissionsLicenseMethodDescriptor
protected HttpJsonLicenseStub(LicenseStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonLicenseStub(LicenseStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonLicenseStub create(LicenseStubSettings settings) throws IOException
IOException
public static final HttpJsonLicenseStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonLicenseStub 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<DeleteLicenseHttpRequest,Operation> deleteLicenseCallable()
deleteLicenseCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetLicenseHttpRequest,License> getLicenseCallable()
getLicenseCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyLicenseHttpRequest,Policy> getIamPolicyLicenseCallable()
getIamPolicyLicenseCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertLicenseHttpRequest,Operation> insertLicenseCallable()
insertLicenseCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListLicensesHttpRequest,LicenseClient.ListLicensesPagedResponse> listLicensesPagedCallable()
listLicensesPagedCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListLicensesHttpRequest,LicensesListResponse> listLicensesCallable()
listLicensesCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyLicenseHttpRequest,Policy> setIamPolicyLicenseCallable()
setIamPolicyLicenseCallable
in class LicenseStub
@BetaApi public com.google.api.gax.rpc.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.