Class JobsGrpc (0.30.0)

public final class JobsGrpc

Cloud Run Job Control Plane API.

Inheritance

java.lang.Object > JobsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(JobsGrpc.AsyncService service)

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

getCreateJobMethod()

public static MethodDescriptor<CreateJobRequest,Operation> getCreateJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateJobRequest,Operation>

getDeleteJobMethod()

public static MethodDescriptor<DeleteJobRequest,Operation> getDeleteJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteJobRequest,Operation>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetJobMethod()

public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetJobRequest,Job>

getListJobsMethod()

public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListJobsRequest,ListJobsResponse>

getRunJobMethod()

public static MethodDescriptor<RunJobRequest,Operation> getRunJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RunJobRequest,Operation>

getServiceDescriptor()

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

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateJobMethod()

public static MethodDescriptor<UpdateJobRequest,Operation> getUpdateJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateJobRequest,Operation>

newBlockingStub(Channel channel)

public static JobsGrpc.JobsBlockingStub 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
JobsGrpc.JobsBlockingStub

newFutureStub(Channel channel)

public static JobsGrpc.JobsFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobsGrpc.JobsFutureStub

newStub(Channel channel)

public static JobsGrpc.JobsStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
JobsGrpc.JobsStub