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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcOsConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(OsConfigServiceStubSettings settings)
public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
cancelPatchJobCallable()
public UnaryCallable<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobCallable()
Returns
Overrides
close()
public final void close()
Overrides
createGuestPolicyCallable()
public UnaryCallable<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicyCallable()
Returns
Overrides
createPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()
Returns
Overrides
deleteGuestPolicyCallable()
public UnaryCallable<GuestPolicies.DeleteGuestPolicyRequest,Empty> deleteGuestPolicyCallable()
Returns
Overrides
deletePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentCallable()
Returns
Overrides
executePatchJobCallable()
public UnaryCallable<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobCallable()
Returns
Overrides
getGuestPolicyCallable()
public UnaryCallable<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicyCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()
Returns
Overrides
getPatchJobCallable()
public UnaryCallable<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listGuestPoliciesCallable()
public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse> listGuestPoliciesCallable()
Returns
Overrides
listGuestPoliciesPagedCallable()
public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesPagedCallable()
Returns
Overrides
listPatchDeploymentsCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()
Returns
Overrides
listPatchDeploymentsPagedCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()
Returns
Overrides
listPatchJobInstanceDetailsCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()
Returns
Overrides
listPatchJobInstanceDetailsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()
Returns
Overrides
listPatchJobsCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()
Returns
Overrides
listPatchJobsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()
Returns
Overrides
lookupEffectiveGuestPolicyCallable()
public UnaryCallable<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicyCallable()
Returns
Overrides
pausePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()
Returns
Overrides
resumePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateGuestPolicyCallable()
public UnaryCallable<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicyCallable()
Returns
Overrides
updatePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()
Returns
Overrides