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 protected
GrpcGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcGSuiteAddOnsStub, using the given settings.protected
GrpcGSuiteAddOnsStub(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 boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static GrpcGSuiteAddOnsStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcGSuiteAddOnsStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcGSuiteAddOnsStub
create(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.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty>
installDeploymentCallable()
boolean
isShutdown()
boolean
isTerminated()
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()
void
shutdown()
void
shutdownNow()
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:
getAuthorizationCallable
in classGSuiteAddOnsStub
-
createDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
- Overrides:
createDeploymentCallable
in classGSuiteAddOnsStub
-
replaceDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<ReplaceDeploymentRequest,Deployment> replaceDeploymentCallable()
- Overrides:
replaceDeploymentCallable
in classGSuiteAddOnsStub
-
getDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
- Overrides:
getDeploymentCallable
in classGSuiteAddOnsStub
-
listDeploymentsCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
- Overrides:
listDeploymentsCallable
in classGSuiteAddOnsStub
-
listDeploymentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDeploymentsRequest,GSuiteAddOnsClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
- Overrides:
listDeploymentsPagedCallable
in classGSuiteAddOnsStub
-
deleteDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDeploymentRequest,com.google.protobuf.Empty> deleteDeploymentCallable()
- Overrides:
deleteDeploymentCallable
in classGSuiteAddOnsStub
-
installDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<InstallDeploymentRequest,com.google.protobuf.Empty> installDeploymentCallable()
- Overrides:
installDeploymentCallable
in classGSuiteAddOnsStub
-
uninstallDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<UninstallDeploymentRequest,com.google.protobuf.Empty> uninstallDeploymentCallable()
- Overrides:
uninstallDeploymentCallable
in classGSuiteAddOnsStub
-
getInstallStatusCallable
public com.google.api.gax.rpc.UnaryCallable<GetInstallStatusRequest,InstallStatus> getInstallStatusCallable()
- Overrides:
getInstallStatusCallable
in classGSuiteAddOnsStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-