public class HttpJsonLicensesStub extends LicensesStub
REST stub implementation for the Licenses service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonLicensesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLicensesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(LicensesStubSettings settings)
public static final HttpJsonLicensesStub create(LicensesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonLicensesStub(LicensesStubSettings settings, ClientContext clientContext)
protected HttpJsonLicensesStub(LicensesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonLicensesStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
HttpJsonLicensesStub(LicensesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonLicensesStub(LicensesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonLicensesStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteLicenseRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteLicenseRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetLicenseRequest,License> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyLicenseRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertLicenseRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertLicenseRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListLicensesRequest,LicensesListResponse> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListLicensesRequest,LicensesClient.ListPagedResponse> listPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyLicenseRequest,Policy> setIamPolicyCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsLicenseRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides