Class GrpcGSuiteAddOnsStub
- java.lang.Object
-
- com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStub
-
- com.google.cloud.gsuiteaddons.v1.stub.GrpcGSuiteAddOnsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcGSuiteAddOnsStub, using the given settings.protectedGrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcGSuiteAddOnsStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcGSuiteAddOnsStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcGSuiteAddOnsStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcGSuiteAddOnsStubcreate(GSuiteAddOnsStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateDeploymentRequest,Deployment>createDeploymentCallable()com.google.api.gax.rpc.UnaryCallable<DeleteDeploymentRequest,com.google.protobuf.Empty>deleteDeploymentCallable()com.google.api.gax.rpc.UnaryCallable<GetAuthorizationRequest,Authorization>getAuthorizationCallable()com.google.api.gax.rpc.UnaryCallable<GetDeploymentRequest,Deployment>getDeploymentCallable()com.google.api.gax.rpc.UnaryCallable<GetInstallStatusRequest,InstallStatus>getInstallStatusCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty>installDeploymentCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>listDeploymentsCallable()com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse>listDeploymentsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ReplaceDeploymentRequest,Deployment>replaceDeploymentCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UninstallDeploymentRequest,com.google.protobuf.Empty>uninstallDeploymentCallable()
-
-
-
Constructor Detail
-
GrpcGSuiteAddOnsStub
protected GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 Detail
-
create
public static final GrpcGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcGSuiteAddOnsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcGSuiteAddOnsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
getAuthorizationCallable
public com.google.api.gax.rpc.UnaryCallable<GetAuthorizationRequest,Authorization> getAuthorizationCallable()
- Overrides:
getAuthorizationCallablein classGSuiteAddOnsStub
-
createDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
- Overrides:
createDeploymentCallablein classGSuiteAddOnsStub
-
replaceDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<ReplaceDeploymentRequest,Deployment> replaceDeploymentCallable()
- Overrides:
replaceDeploymentCallablein classGSuiteAddOnsStub
-
getDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
- Overrides:
getDeploymentCallablein classGSuiteAddOnsStub
-
listDeploymentsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
- Overrides:
listDeploymentsCallablein classGSuiteAddOnsStub
-
listDeploymentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
- Overrides:
listDeploymentsPagedCallablein classGSuiteAddOnsStub
-
deleteDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDeploymentRequest,com.google.protobuf.Empty> deleteDeploymentCallable()
- Overrides:
deleteDeploymentCallablein classGSuiteAddOnsStub
-
installDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty> installDeploymentCallable()
- Overrides:
installDeploymentCallablein classGSuiteAddOnsStub
-
uninstallDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<UninstallDeploymentRequest,com.google.protobuf.Empty> uninstallDeploymentCallable()
- Overrides:
uninstallDeploymentCallablein classGSuiteAddOnsStub
-
getInstallStatusCallable
public com.google.api.gax.rpc.UnaryCallable<GetInstallStatusRequest,InstallStatus> 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
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-