Class GrpcOsConfigServiceStub (2.53.0)

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.

Inheritance

java.lang.Object > OsConfigServiceStub > GrpcOsConfigServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcOsConfigServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcOsConfigServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcOsConfigServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcOsConfigServiceStub
Exceptions
Type Description
IOException

create(OsConfigServiceStubSettings settings)

public static final GrpcOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Parameter
Name Description
settings OsConfigServiceStubSettings
Returns
Type Description
GrpcOsConfigServiceStub
Exceptions
Type Description
IOException

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
Name Description
settings OsConfigServiceStubSettings
clientContext ClientContext

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
Name Description
settings OsConfigServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelPatchJobCallable()

public UnaryCallable<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> cancelPatchJobCallable()
Returns
Type Description
UnaryCallable<CancelPatchJobRequest,PatchJob>
Overrides

close()

public final void close()
Overrides

createGuestPolicyCallable()

public UnaryCallable<GuestPolicies.CreateGuestPolicyRequest,GuestPolicies.GuestPolicy> createGuestPolicyCallable()
Returns
Type Description
UnaryCallable<CreateGuestPolicyRequest,GuestPolicy>
Overrides

createPatchDeploymentCallable()

public UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()
Returns
Type Description
UnaryCallable<CreatePatchDeploymentRequest,PatchDeployment>
Overrides

deleteGuestPolicyCallable()

public UnaryCallable<GuestPolicies.DeleteGuestPolicyRequest,Empty> deleteGuestPolicyCallable()
Returns
Type Description
UnaryCallable<DeleteGuestPolicyRequest,Empty>
Overrides

deletePatchDeploymentCallable()

public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentCallable()
Returns
Type Description
UnaryCallable<DeletePatchDeploymentRequest,Empty>
Overrides

executePatchJobCallable()

public UnaryCallable<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobCallable()
Returns
Type Description
UnaryCallable<ExecutePatchJobRequest,PatchJob>
Overrides

getGuestPolicyCallable()

public UnaryCallable<GuestPolicies.GetGuestPolicyRequest,GuestPolicies.GuestPolicy> getGuestPolicyCallable()
Returns
Type Description
UnaryCallable<GetGuestPolicyRequest,GuestPolicy>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getPatchDeploymentCallable()

public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()
Returns
Type Description
UnaryCallable<GetPatchDeploymentRequest,PatchDeployment>
Overrides

getPatchJobCallable()

public UnaryCallable<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobCallable()
Returns
Type Description
UnaryCallable<GetPatchJobRequest,PatchJob>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listGuestPoliciesCallable()

public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,GuestPolicies.ListGuestPoliciesResponse> listGuestPoliciesCallable()
Returns
Type Description
UnaryCallable<ListGuestPoliciesRequest,ListGuestPoliciesResponse>
Overrides

listGuestPoliciesPagedCallable()

public UnaryCallable<GuestPolicies.ListGuestPoliciesRequest,OsConfigServiceClient.ListGuestPoliciesPagedResponse> listGuestPoliciesPagedCallable()
Returns
Type Description
UnaryCallable<ListGuestPoliciesRequest,ListGuestPoliciesPagedResponse>
Overrides

listPatchDeploymentsCallable()

public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListPatchDeploymentsRequest,ListPatchDeploymentsResponse>
Overrides

listPatchDeploymentsPagedCallable()

public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListPatchDeploymentsRequest,ListPatchDeploymentsPagedResponse>
Overrides

listPatchJobInstanceDetailsCallable()

public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()
Returns
Type Description
UnaryCallable<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsResponse>
Overrides

listPatchJobInstanceDetailsPagedCallable()

public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()
Returns
Type Description
UnaryCallable<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsPagedResponse>
Overrides

listPatchJobsCallable()

public UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()
Returns
Type Description
UnaryCallable<ListPatchJobsRequest,ListPatchJobsResponse>
Overrides

listPatchJobsPagedCallable()

public UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListPatchJobsRequest,ListPatchJobsPagedResponse>
Overrides

lookupEffectiveGuestPolicyCallable()

public UnaryCallable<GuestPolicies.LookupEffectiveGuestPolicyRequest,GuestPolicies.EffectiveGuestPolicy> lookupEffectiveGuestPolicyCallable()
Returns
Type Description
UnaryCallable<LookupEffectiveGuestPolicyRequest,EffectiveGuestPolicy>
Overrides

pausePatchDeploymentCallable()

public UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()
Returns
Type Description
UnaryCallable<PausePatchDeploymentRequest,PatchDeployment>
Overrides

resumePatchDeploymentCallable()

public UnaryCallable<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()
Returns
Type Description
UnaryCallable<ResumePatchDeploymentRequest,PatchDeployment>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateGuestPolicyCallable()

public UnaryCallable<GuestPolicies.UpdateGuestPolicyRequest,GuestPolicies.GuestPolicy> updateGuestPolicyCallable()
Returns
Type Description
UnaryCallable<UpdateGuestPolicyRequest,GuestPolicy>
Overrides

updatePatchDeploymentCallable()

public UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()
Returns
Type Description
UnaryCallable<UpdatePatchDeploymentRequest,PatchDeployment>
Overrides