Class WorkerPoolsGrpc (0.72.0)

public final class WorkerPoolsGrpc

Cloud Run WorkerPool Control Plane API.

Inheritance

java.lang.Object > WorkerPoolsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(WorkerPoolsGrpc.AsyncService service)

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

getCreateWorkerPoolMethod()

public static MethodDescriptor<CreateWorkerPoolRequest,Operation> getCreateWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateWorkerPoolRequest,Operation>

getDeleteWorkerPoolMethod()

public static MethodDescriptor<DeleteWorkerPoolRequest,Operation> getDeleteWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteWorkerPoolRequest,Operation>

getGetIamPolicyMethod()

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

getGetWorkerPoolMethod()

public static MethodDescriptor<GetWorkerPoolRequest,WorkerPool> getGetWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetWorkerPoolRequest,WorkerPool>

getListWorkerPoolsMethod()

public static MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse> getListWorkerPoolsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListWorkerPoolsRequest,ListWorkerPoolsResponse>

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>

getUpdateWorkerPoolMethod()

public static MethodDescriptor<UpdateWorkerPoolRequest,Operation> getUpdateWorkerPoolMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateWorkerPoolRequest,Operation>

newBlockingStub(Channel channel)

public static WorkerPoolsGrpc.WorkerPoolsBlockingStub 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
WorkerPoolsGrpc.WorkerPoolsBlockingStub

newBlockingV2Stub(Channel channel)

public static WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
WorkerPoolsGrpc.WorkerPoolsBlockingV2Stub

newFutureStub(Channel channel)

public static WorkerPoolsGrpc.WorkerPoolsFutureStub 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
WorkerPoolsGrpc.WorkerPoolsFutureStub

newStub(Channel channel)

public static WorkerPoolsGrpc.WorkerPoolsStub 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
WorkerPoolsGrpc.WorkerPoolsStub