Class HttpJsonGSuiteAddOnsStub
- java.lang.Object
-
- com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStub
-
- com.google.cloud.gsuiteaddons.v1.stub.HttpJsonGSuiteAddOnsStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonGSuiteAddOnsStub extends GSuiteAddOnsStub
REST 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
HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonGSuiteAddOnsStub, using the given settings.protected
HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGSuiteAddOnsStub, 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 HttpJsonGSuiteAddOnsStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonGSuiteAddOnsStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonGSuiteAddOnsStub
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()
static List<com.google.api.gax.httpjson.ApiMethodDescriptor>
getMethodDescriptors()
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
-
HttpJsonGSuiteAddOnsStub
protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonGSuiteAddOnsStub, 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
-
HttpJsonGSuiteAddOnsStub
protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonGSuiteAddOnsStub, 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 HttpJsonGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGSuiteAddOnsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGSuiteAddOnsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
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
-
-