Class HttpJsonOsConfigServiceStub
- java.lang.Object
-
- com.google.cloud.osconfig.v1.stub.OsConfigServiceStub
-
- com.google.cloud.osconfig.v1.stub.HttpJsonOsConfigServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonOsConfigServiceStub extends OsConfigServiceStub
REST stub implementation for the OsConfigService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonOsConfigServiceStub, using the given settings.protectedHttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonOsConfigServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonOsConfigServiceStub
protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonOsConfigServiceStub, 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
-
HttpJsonOsConfigServiceStub
protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonOsConfigServiceStub, 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 HttpJsonOsConfigServiceStub create(OsConfigServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonOsConfigServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonOsConfigServiceStub 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()
-
executePatchJobCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobCallable()
- Overrides:
executePatchJobCallablein classOsConfigServiceStub
-
getPatchJobCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobCallable()
- Overrides:
getPatchJobCallablein classOsConfigServiceStub
-
cancelPatchJobCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobCallable()
- Overrides:
cancelPatchJobCallablein classOsConfigServiceStub
-
listPatchJobsCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()
- Overrides:
listPatchJobsCallablein classOsConfigServiceStub
-
listPatchJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()
- Overrides:
listPatchJobsPagedCallablein classOsConfigServiceStub
-
listPatchJobInstanceDetailsCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()
- Overrides:
listPatchJobInstanceDetailsCallablein classOsConfigServiceStub
-
listPatchJobInstanceDetailsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()
- Overrides:
listPatchJobInstanceDetailsPagedCallablein classOsConfigServiceStub
-
createPatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()
- Overrides:
createPatchDeploymentCallablein classOsConfigServiceStub
-
getPatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()
- Overrides:
getPatchDeploymentCallablein classOsConfigServiceStub
-
listPatchDeploymentsCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()
- Overrides:
listPatchDeploymentsCallablein classOsConfigServiceStub
-
listPatchDeploymentsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()
- Overrides:
listPatchDeploymentsPagedCallablein classOsConfigServiceStub
-
deletePatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,com.google.protobuf.Empty> deletePatchDeploymentCallable()
- Overrides:
deletePatchDeploymentCallablein classOsConfigServiceStub
-
updatePatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()
- Overrides:
updatePatchDeploymentCallablein classOsConfigServiceStub
-
pausePatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()
- Overrides:
pausePatchDeploymentCallablein classOsConfigServiceStub
-
resumePatchDeploymentCallable
public com.google.api.gax.rpc.UnaryCallable<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()
- Overrides:
resumePatchDeploymentCallablein classOsConfigServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classOsConfigServiceStub
-
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
-
-