Class SystemPolicyV1Grpc.SystemPolicyV1Stub (1.27.0)

public static final class SystemPolicyV1Grpc.SystemPolicyV1Stub extends AbstractAsyncStub<SystemPolicyV1Grpc.SystemPolicyV1Stub>

A stub to allow clients to do asynchronous rpc calls to service SystemPolicyV1.

API for working with the system policy.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SystemPolicyV1Grpc.SystemPolicyV1Stub

Methods

build(Channel channel, CallOptions callOptions)

protected SystemPolicyV1Grpc.SystemPolicyV1Stub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SystemPolicyV1Grpc.SystemPolicyV1Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getSystemPolicy(Service.GetSystemPolicyRequest request, StreamObserver<Resources.Policy> responseObserver)

public void getSystemPolicy(Service.GetSystemPolicyRequest request, StreamObserver<Resources.Policy> responseObserver)

Gets the current system policy in the specified location.

Parameters
NameDescription
requestService.GetSystemPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Policy>