Class ProjectServiceGrpc.ProjectServiceStub (2.56.0)

public static final class ProjectServiceGrpc.ProjectServiceStub extends AbstractAsyncStub<ProjectServiceGrpc.ProjectServiceStub>

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

Service for settings at Project level.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ProjectServiceGrpc.ProjectServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProjectServiceGrpc.ProjectServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProjectServiceGrpc.ProjectServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getAlertConfig(GetAlertConfigRequest request, StreamObserver<AlertConfig> responseObserver)

public void getAlertConfig(GetAlertConfigRequest request, StreamObserver<AlertConfig> responseObserver)

Get the AlertConfig of the requested project.

Parameters
Name Description
request GetAlertConfigRequest
responseObserver io.grpc.stub.StreamObserver<AlertConfig>

updateAlertConfig(UpdateAlertConfigRequest request, StreamObserver<AlertConfig> responseObserver)

public void updateAlertConfig(UpdateAlertConfigRequest request, StreamObserver<AlertConfig> responseObserver)

Update the alert config of the requested project.

Parameters
Name Description
request UpdateAlertConfigRequest
responseObserver io.grpc.stub.StreamObserver<AlertConfig>