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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonLicensesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(LicensesStubSettings settings)
public static final HttpJsonLicensesStub create(LicensesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteLicenseRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteLicenseRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetLicenseRequest,License> getCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyLicenseRequest,Policy> getIamPolicyCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertLicenseRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertLicenseRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListLicensesRequest,LicensesListResponse> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListLicensesRequest,LicensesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyLicenseRequest,Policy> setIamPolicyCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsLicenseRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides