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 protectedHttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonGSuiteAddOnsStub, using the given settings.protectedHttpJsonGSuiteAddOnsStub(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 booleanawaitTermination(long duration, TimeUnit unit)voidclose()static HttpJsonGSuiteAddOnsStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonGSuiteAddOnsStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonGSuiteAddOnsStubcreate(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()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
-
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:
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
-
-