Class GrpcGSuiteAddOnsStub (2.51.0)

public class GrpcGSuiteAddOnsStub extends GSuiteAddOnsStub

gRPC stub implementation for the GSuiteAddOns service API.

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

Inheritance

java.lang.Object > GSuiteAddOnsStub > GrpcGSuiteAddOnsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(GSuiteAddOnsStubSettings settings)

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

Constructors

GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

protected GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcGSuiteAddOnsStub, 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

GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcGSuiteAddOnsStub, 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 GrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

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