Class PoliciesGrpc (1.36.0)

public final class PoliciesGrpc

An interface for managing Identity and Access Management (IAM) policies.

Inheritance

java.lang.Object > PoliciesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(PoliciesGrpc.AsyncService service)

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

getCreatePolicyMethod()

public static MethodDescriptor<CreatePolicyRequest,Operation> getCreatePolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreatePolicyRequest,Operation>

getDeletePolicyMethod()

public static MethodDescriptor<DeletePolicyRequest,Operation> getDeletePolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeletePolicyRequest,Operation>

getGetPolicyMethod()

public static MethodDescriptor<GetPolicyRequest,Policy> getGetPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetPolicyRequest,Policy>

getListPoliciesMethod()

public static MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse> getListPoliciesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListPoliciesRequest,ListPoliciesResponse>

getServiceDescriptor()

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

getUpdatePolicyMethod()

public static MethodDescriptor<UpdatePolicyRequest,Operation> getUpdatePolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdatePolicyRequest,Operation>

newBlockingStub(Channel channel)

public static PoliciesGrpc.PoliciesBlockingStub 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
PoliciesGrpc.PoliciesBlockingStub

newFutureStub(Channel channel)

public static PoliciesGrpc.PoliciesFutureStub 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
PoliciesGrpc.PoliciesFutureStub

newStub(Channel channel)

public static PoliciesGrpc.PoliciesStub 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
PoliciesGrpc.PoliciesStub