Class HttpJsonGSuiteAddOnsStub (2.54.0)

public class HttpJsonGSuiteAddOnsStub extends GSuiteAddOnsStub

REST stub implementation for the GSuiteAddOns service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > GSuiteAddOnsStub > HttpJsonGSuiteAddOnsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonGSuiteAddOnsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGSuiteAddOnsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonGSuiteAddOnsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonGSuiteAddOnsStub
Exceptions
Type Description
IOException

create(GSuiteAddOnsStubSettings settings)

public static final HttpJsonGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings)
Parameter
Name Description
settings GSuiteAddOnsStubSettings
Returns
Type Description
HttpJsonGSuiteAddOnsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonGSuiteAddOnsStub, 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
Name Description
settings GSuiteAddOnsStubSettings
clientContext ClientContext

HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonGSuiteAddOnsStub, 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
Name Description
settings GSuiteAddOnsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createDeploymentCallable()

public UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
Returns
Type Description
UnaryCallable<CreateDeploymentRequest,Deployment>
Overrides

deleteDeploymentCallable()

public UnaryCallable<DeleteDeploymentRequest,Empty> deleteDeploymentCallable()
Returns
Type Description
UnaryCallable<DeleteDeploymentRequest,Empty>
Overrides

getAuthorizationCallable()

public UnaryCallable<GetAuthorizationRequest,Authorization> getAuthorizationCallable()
Returns
Type Description
UnaryCallable<GetAuthorizationRequest,Authorization>
Overrides

getDeploymentCallable()

public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Returns
Type Description
UnaryCallable<GetDeploymentRequest,Deployment>
Overrides

getInstallStatusCallable()

public UnaryCallable<GetInstallStatusRequest,InstallStatus> getInstallStatusCallable()
Returns
Type Description
UnaryCallable<GetInstallStatusRequest,InstallStatus>
Overrides

installDeploymentCallable()

public UnaryCallable<InstallDeploymentRequest,Empty> installDeploymentCallable()
Returns
Type Description
UnaryCallable<InstallDeploymentRequest,Empty>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDeploymentsCallable()

public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>
Overrides

listDeploymentsPagedCallable()

public UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse>
Overrides

replaceDeploymentCallable()

public UnaryCallable<ReplaceDeploymentRequest,Deployment> replaceDeploymentCallable()
Returns
Type Description
UnaryCallable<ReplaceDeploymentRequest,Deployment>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

uninstallDeploymentCallable()

public UnaryCallable<UninstallDeploymentRequest,Empty> uninstallDeploymentCallable()
Returns
Type Description
UnaryCallable<UninstallDeploymentRequest,Empty>
Overrides