Class SystemPolicyV1Beta1Grpc (1.22.0)

public final class SystemPolicyV1Beta1Grpc

API for working with the system policy.

Inheritance

java.lang.Object > SystemPolicyV1Beta1Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(SystemPolicyV1Beta1Grpc.AsyncService service)

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

getGetSystemPolicyMethod()

public static MethodDescriptor<GetSystemPolicyRequest,Policy> getGetSystemPolicyMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSystemPolicyRequest,Policy>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub 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
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1BlockingStub

newFutureStub(Channel channel)

public static SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1FutureStub

newStub(Channel channel)

public static SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SystemPolicyV1Beta1Grpc.SystemPolicyV1Beta1Stub