- 2.49.0 (latest)
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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 | |
---|---|
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> |
close()
public final void close()
createPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> createPatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreatePatchDeploymentRequest,PatchDeployment> |
deletePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest,Empty> deletePatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeletePatchDeploymentRequest,Empty> |
executePatchJobCallable()
public UnaryCallable<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> executePatchJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ExecutePatchJobRequest,PatchJob> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getPatchDeploymentCallable()
public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getPatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPatchDeploymentRequest,PatchDeployment> |
getPatchJobCallable()
public UnaryCallable<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getPatchJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetPatchJobRequest,PatchJob> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listPatchDeploymentsCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchDeploymentsRequest,ListPatchDeploymentsResponse> |
listPatchDeploymentsPagedCallable()
public UnaryCallable<PatchDeployments.ListPatchDeploymentsRequest,OsConfigServiceClient.ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchDeploymentsRequest,ListPatchDeploymentsPagedResponse> |
listPatchJobInstanceDetailsCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsResponse> |
listPatchJobInstanceDetailsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobInstanceDetailsRequest,OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsPagedResponse> |
listPatchJobsCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchJobsRequest,ListPatchJobsResponse> |
listPatchJobsPagedCallable()
public UnaryCallable<PatchJobs.ListPatchJobsRequest,OsConfigServiceClient.ListPatchJobsPagedResponse> listPatchJobsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListPatchJobsRequest,ListPatchJobsPagedResponse> |
pausePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<PausePatchDeploymentRequest,PatchDeployment> |
resumePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResumePatchDeploymentRequest,PatchDeployment> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updatePatchDeploymentCallable()
public UnaryCallable<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdatePatchDeploymentRequest,PatchDeployment> |