Class OsConfigServiceGrpc (2.42.0)

public final class OsConfigServiceGrpc

OS Config API The OS Config service is a server-side component that you can use to manage package installations and patch jobs for virtual machine instances.

Inheritance

java.lang.Object > OsConfigServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(OsConfigServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(OsConfigServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceOsConfigServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCancelPatchJobMethod()

public static MethodDescriptor<PatchJobs.CancelPatchJobRequest,PatchJobs.PatchJob> getCancelPatchJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CancelPatchJobRequest,PatchJob>

getCreatePatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.CreatePatchDeploymentRequest,PatchDeployments.PatchDeployment> getCreatePatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreatePatchDeploymentRequest,PatchDeployment>

getDeletePatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.DeletePatchDeploymentRequest,Empty> getDeletePatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeletePatchDeploymentRequest,Empty>

getExecutePatchJobMethod()

public static MethodDescriptor<PatchJobs.ExecutePatchJobRequest,PatchJobs.PatchJob> getExecutePatchJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ExecutePatchJobRequest,PatchJob>

getGetPatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.GetPatchDeploymentRequest,PatchDeployments.PatchDeployment> getGetPatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPatchDeploymentRequest,PatchDeployment>

getGetPatchJobMethod()

public static MethodDescriptor<PatchJobs.GetPatchJobRequest,PatchJobs.PatchJob> getGetPatchJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPatchJobRequest,PatchJob>

getListPatchDeploymentsMethod()

public static MethodDescriptor<PatchDeployments.ListPatchDeploymentsRequest,PatchDeployments.ListPatchDeploymentsResponse> getListPatchDeploymentsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPatchDeploymentsRequest,ListPatchDeploymentsResponse>

getListPatchJobInstanceDetailsMethod()

public static MethodDescriptor<PatchJobs.ListPatchJobInstanceDetailsRequest,PatchJobs.ListPatchJobInstanceDetailsResponse> getListPatchJobInstanceDetailsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPatchJobInstanceDetailsRequest,ListPatchJobInstanceDetailsResponse>

getListPatchJobsMethod()

public static MethodDescriptor<PatchJobs.ListPatchJobsRequest,PatchJobs.ListPatchJobsResponse> getListPatchJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPatchJobsRequest,ListPatchJobsResponse>

getPausePatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.PausePatchDeploymentRequest,PatchDeployments.PatchDeployment> getPausePatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PausePatchDeploymentRequest,PatchDeployment>

getResumePatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.ResumePatchDeploymentRequest,PatchDeployments.PatchDeployment> getResumePatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ResumePatchDeploymentRequest,PatchDeployment>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdatePatchDeploymentMethod()

public static MethodDescriptor<PatchDeployments.UpdatePatchDeploymentRequest,PatchDeployments.PatchDeployment> getUpdatePatchDeploymentMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdatePatchDeploymentRequest,PatchDeployment>

newBlockingStub(Channel channel)

public static OsConfigServiceGrpc.OsConfigServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
OsConfigServiceGrpc.OsConfigServiceBlockingStub

newFutureStub(Channel channel)

public static OsConfigServiceGrpc.OsConfigServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
OsConfigServiceGrpc.OsConfigServiceFutureStub

newStub(Channel channel)

public static OsConfigServiceGrpc.OsConfigServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
OsConfigServiceGrpc.OsConfigServiceStub