Class GrpcOsConfigServiceStub
- java.lang.Object
-
- com.google.cloud.osconfig.v1beta.stub.OsConfigServiceStub
-
- com.google.cloud.osconfig.v1beta.stub.GrpcOsConfigServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@BetaApi @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
Constructors Modifier Constructor Description protectedGrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcOsConfigServiceStub, using the given settings.protectedGrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcOsConfigServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcOsConfigServiceStub
protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 Detail
-
create
public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcOsConfigServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcOsConfigServiceStub 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()
-
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
-
createGuestPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicyCallable()
- Overrides:
createGuestPolicyCallablein classOsConfigServiceStub
-
getGuestPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicyCallable()
- Overrides:
getGuestPolicyCallablein classOsConfigServiceStub
-
listGuestPoliciesCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse> listGuestPoliciesCallable()
- Overrides:
listGuestPoliciesCallablein classOsConfigServiceStub
-
listGuestPoliciesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesPagedCallable()
- Overrides:
listGuestPoliciesPagedCallablein classOsConfigServiceStub
-
updateGuestPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicyCallable()
- Overrides:
updateGuestPolicyCallablein classOsConfigServiceStub
-
deleteGuestPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.DeleteGuestPolicyRequest,com.google.protobuf.Empty> deleteGuestPolicyCallable()
- Overrides:
deleteGuestPolicyCallablein classOsConfigServiceStub
-
lookupEffectiveGuestPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicyCallable()
- Overrides:
lookupEffectiveGuestPolicyCallablein 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
-
-