Class GrpcGSuiteAddOnsStub (2.33.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcGSuiteAddOnsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcGSuiteAddOnsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcGSuiteAddOnsStub
Exceptions
TypeDescription
IOException

create(GSuiteAddOnsStubSettings settings)

public static final GrpcGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings)
Parameter
NameDescription
settingsGSuiteAddOnsStubSettings
Returns
TypeDescription
GrpcGSuiteAddOnsStub
Exceptions
TypeDescription
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
NameDescription
settingsGSuiteAddOnsStubSettings
clientContextClientContext

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
NameDescription
settingsGSuiteAddOnsStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDeploymentCallable()

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

deleteDeploymentCallable()

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

getAuthorizationCallable()

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

getDeploymentCallable()

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

getInstallStatusCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

installDeploymentCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDeploymentsCallable()

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

listDeploymentsPagedCallable()

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

replaceDeploymentCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

uninstallDeploymentCallable()

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