Class JobsGrpc (0.46.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
Type Description
String

Static Methods

bindService(JobsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(JobsGrpc.AsyncService service)
Parameter
Name Description
service JobsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateJobMethod()

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

getDeleteJobMethod()

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

getGetIamPolicyMethod()

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

getGetJobMethod()

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

getListJobsMethod()

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

getRunJobMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

getUpdateJobMethod()

public static MethodDescriptor<UpdateJobRequest,Operation> getUpdateJobMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
JobsGrpc.JobsStub