Class PoliciesGrpc (1.16.1)

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
TypeDescription
String

Static Methods

bindService(PoliciesGrpc.AsyncService service)

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

getCreatePolicyMethod()

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

getDeletePolicyMethod()

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

getGetPolicyMethod()

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

getListPoliciesMethod()

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

getServiceDescriptor()

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

getUpdatePolicyMethod()

public static MethodDescriptor<UpdatePolicyRequest,Operation> getUpdatePolicyMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PoliciesGrpc.PoliciesStub