Class SystemPolicyV1Grpc (1.51.0)

public final class SystemPolicyV1Grpc

API for working with the system policy.

Inheritance

java.lang.Object > SystemPolicyV1Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SystemPolicyV1Grpc.AsyncService service)

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

getGetSystemPolicyMethod()

public static MethodDescriptor<Service.GetSystemPolicyRequest,Resources.Policy> getGetSystemPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSystemPolicyRequest,Policy>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static SystemPolicyV1Grpc.SystemPolicyV1BlockingStub 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
SystemPolicyV1Grpc.SystemPolicyV1BlockingStub

newFutureStub(Channel channel)

public static SystemPolicyV1Grpc.SystemPolicyV1FutureStub 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
SystemPolicyV1Grpc.SystemPolicyV1FutureStub

newStub(Channel channel)

public static SystemPolicyV1Grpc.SystemPolicyV1Stub 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
SystemPolicyV1Grpc.SystemPolicyV1Stub