Class PoliciesGrpc (1.58.1)

publicfinalclass PoliciesGrpc

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

Inheritance

java.lang.Object > PoliciesGrpc

Static Fields

SERVICE_NAME

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(PoliciesGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(PoliciesGrpc.AsyncServiceservice)
Parameter
Name Description
service PoliciesGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreatePolicyMethod()

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

getDeletePolicyMethod()

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

getGetPolicyMethod()

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

getListPoliciesMethod()

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdatePolicyMethod()

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

newBlockingStub(Channel channel)

publicstaticPoliciesGrpc.PoliciesBlockingStubnewBlockingStub(Channelchannel)

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

newBlockingV2Stub(Channel channel)

publicstaticPoliciesGrpc.PoliciesBlockingV2StubnewBlockingV2Stub(Channelchannel)

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
PoliciesGrpc.PoliciesBlockingV2Stub

newFutureStub(Channel channel)

publicstaticPoliciesGrpc.PoliciesFutureStubnewFutureStub(Channelchannel)

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)

publicstaticPoliciesGrpc.PoliciesStubnewStub(Channelchannel)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.