Class ProjectServiceGrpc.ProjectServiceFutureStub (2.54.0)

public static final class ProjectServiceGrpc.ProjectServiceFutureStub extends AbstractFutureStub<ProjectServiceGrpc.ProjectServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ProjectService.

Service for settings at Project level.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ProjectServiceGrpc.ProjectServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getAlertConfig(GetAlertConfigRequest request)

public ListenableFuture<AlertConfig> getAlertConfig(GetAlertConfigRequest request)

Get the AlertConfig of the requested project.

Parameter
Name Description
request GetAlertConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AlertConfig>

updateAlertConfig(UpdateAlertConfigRequest request)

public ListenableFuture<AlertConfig> updateAlertConfig(UpdateAlertConfigRequest request)

Update the alert config of the requested project.

Parameter
Name Description
request UpdateAlertConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<AlertConfig>