Class GrpcGSuiteAddOnsStub
java.lang.Object
com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStub
com.google.cloud.gsuiteaddons.v1.stub.GrpcGSuiteAddOnsStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the GSuiteAddOns service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcGSuiteAddOnsStub, using the given settings.protectedGrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcGSuiteAddOnsStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcGSuiteAddOnsStubcreate(ClientContext clientContext) static final GrpcGSuiteAddOnsStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcGSuiteAddOnsStubcreate(GSuiteAddOnsStubSettings settings) UnaryCallable<DeleteDeploymentRequest,com.google.protobuf.Empty> UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty> booleanbooleanvoidshutdown()voidUnaryCallable<UninstallDeploymentRequest,com.google.protobuf.Empty>
-
Constructor Details
-
GrpcGSuiteAddOnsStub
protected GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcGSuiteAddOnsStub
protected GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcGSuiteAddOnsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
getAuthorizationCallable
- Overrides:
getAuthorizationCallablein classGSuiteAddOnsStub
-
createDeploymentCallable
- Overrides:
createDeploymentCallablein classGSuiteAddOnsStub
-
replaceDeploymentCallable
- Overrides:
replaceDeploymentCallablein classGSuiteAddOnsStub
-
getDeploymentCallable
- Overrides:
getDeploymentCallablein classGSuiteAddOnsStub
-
listDeploymentsCallable
- Overrides:
listDeploymentsCallablein classGSuiteAddOnsStub
-
listDeploymentsPagedCallable
public UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()- Overrides:
listDeploymentsPagedCallablein classGSuiteAddOnsStub
-
deleteDeploymentCallable
- Overrides:
deleteDeploymentCallablein classGSuiteAddOnsStub
-
installDeploymentCallable
public UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty> installDeploymentCallable()- Overrides:
installDeploymentCallablein classGSuiteAddOnsStub
-
uninstallDeploymentCallable
public UnaryCallable<UninstallDeploymentRequest,com.google.protobuf.Empty> uninstallDeploymentCallable()- Overrides:
uninstallDeploymentCallablein classGSuiteAddOnsStub
-
getInstallStatusCallable
- Overrides:
getInstallStatusCallablein classGSuiteAddOnsStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGSuiteAddOnsStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-