Class HttpJsonOsConfigServiceStub (2.30.0)

public class HttpJsonOsConfigServiceStub extends OsConfigServiceStub

REST stub implementation for the OsConfigService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > OsConfigServiceStub > HttpJsonOsConfigServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonOsConfigServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonOsConfigServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonOsConfigServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonOsConfigServiceStub
Exceptions
TypeDescription
IOException

create(OsConfigServiceStubSettings settings)

public static final HttpJsonOsConfigServiceStub create(OsConfigServiceStubSettings settings)
Parameter
NameDescription
settingsOsConfigServiceStubSettings
Returns
TypeDescription
HttpJsonOsConfigServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonOsConfigServiceStub, 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
NameDescription
settingsOsConfigServiceStubSettings
clientContextClientContext

HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonOsConfigServiceStub(OsConfigServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonOsConfigServiceStub, 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
NameDescription
settingsOsConfigServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelPatchJobCallable()

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

close()

public final void close()
Overrides

createPatchDeploymentCallable()

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

deletePatchDeploymentCallable()

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

executePatchJobCallable()

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

getPatchDeploymentCallable()

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

getPatchJobCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listPatchDeploymentsCallable()

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

listPatchDeploymentsPagedCallable()

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

listPatchJobInstanceDetailsCallable()

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

listPatchJobInstanceDetailsPagedCallable()

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

listPatchJobsCallable()

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

listPatchJobsPagedCallable()

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

pausePatchDeploymentCallable()

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

resumePatchDeploymentCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updatePatchDeploymentCallable()

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