Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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.
Static Methods
create(ClientContext clientContext)
public static final GrpcOsConfigServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcOsConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(OsConfigServiceStubSettings settings)
public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Constructors
GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)
protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)
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.
GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
cancelPatchJobCallable()
public UnaryCallable<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobCallable()
Overrides
close()
public final void close()
Overrides
createGuestPolicyCallable()
public UnaryCallable<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicyCallable()
Overrides
createPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()
Overrides
deleteGuestPolicyCallable()
public UnaryCallable<GuestPolicies.DeleteGuestPolicyRequest,Empty> deleteGuestPolicyCallable()
Overrides
deletePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentCallable()
Overrides
executePatchJobCallable()
public UnaryCallable<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobCallable()
Overrides
getGuestPolicyCallable()
public UnaryCallable<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicyCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()
Overrides
getPatchJobCallable()
public UnaryCallable<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listGuestPoliciesCallable()
public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse> listGuestPoliciesCallable()
Overrides
listGuestPoliciesPagedCallable()
public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesPagedCallable()
Overrides
listPatchDeploymentsCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()
Overrides
listPatchDeploymentsPagedCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()
Overrides
listPatchJobInstanceDetailsCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()
Overrides
listPatchJobInstanceDetailsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()
Overrides
listPatchJobsCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()
Overrides
listPatchJobsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()
Overrides
lookupEffectiveGuestPolicyCallable()
public UnaryCallable<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicyCallable()
Overrides
pausePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()
Overrides
resumePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateGuestPolicyCallable()
public UnaryCallable<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicyCallable()
Overrides
updatePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()
Overrides