Class GrpcOsConfigServiceStub
java.lang.Object
com.google.cloud.osconfig.v1.stub.OsConfigServiceStub
com.google.cloud.osconfig.v1.stub.GrpcOsConfigServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcOsConfigServiceStub
extends OsConfigServiceStub
gRPC stub implementation for the OsConfigService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcOsConfigServiceStub, using the given settings.protectedGrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcOsConfigServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcOsConfigServiceStubcreate(ClientContext clientContext) static final GrpcOsConfigServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcOsConfigServiceStubcreate(OsConfigServiceStubSettings settings) UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> voidshutdown()void
-
Constructor Details
-
GrpcOsConfigServiceStub
protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcOsConfigServiceStub, 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
-
GrpcOsConfigServiceStub
protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcOsConfigServiceStub, 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 Details
-
create
public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcOsConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
-
executePatchJobCallable
- Overrides:
executePatchJobCallablein classOsConfigServiceStub
-
getPatchJobCallable
- Overrides:
getPatchJobCallablein classOsConfigServiceStub
-
cancelPatchJobCallable
- Overrides:
cancelPatchJobCallablein classOsConfigServiceStub
-
listPatchJobsCallable
public UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()- Overrides:
listPatchJobsCallablein classOsConfigServiceStub
-
listPatchJobsPagedCallable
public UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()- Overrides:
listPatchJobsPagedCallablein classOsConfigServiceStub
-
listPatchJobInstanceDetailsCallable
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()- Overrides:
listPatchJobInstanceDetailsCallablein classOsConfigServiceStub
-
listPatchJobInstanceDetailsPagedCallable
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()- Overrides:
listPatchJobInstanceDetailsPagedCallablein classOsConfigServiceStub
-
createPatchDeploymentCallable
public UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()- Overrides:
createPatchDeploymentCallablein classOsConfigServiceStub
-
getPatchDeploymentCallable
public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()- Overrides:
getPatchDeploymentCallablein classOsConfigServiceStub
-
listPatchDeploymentsCallable
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()- Overrides:
listPatchDeploymentsCallablein classOsConfigServiceStub
-
listPatchDeploymentsPagedCallable
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()- Overrides:
listPatchDeploymentsPagedCallablein classOsConfigServiceStub
-
deletePatchDeploymentCallable
public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,com.google.protobuf.Empty> deletePatchDeploymentCallable()- Overrides:
deletePatchDeploymentCallablein classOsConfigServiceStub
-
updatePatchDeploymentCallable
public UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()- Overrides:
updatePatchDeploymentCallablein classOsConfigServiceStub
-
pausePatchDeploymentCallable
public UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()- Overrides:
pausePatchDeploymentCallablein classOsConfigServiceStub
-
resumePatchDeploymentCallable
public 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
- Throws:
InterruptedException
-