Class BuildsGrpc.BuildsFutureStub (0.55.0)

public static final class BuildsGrpc.BuildsFutureStub extends AbstractFutureStub<BuildsGrpc.BuildsFutureStub>

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

Cloud Run Build Control Plane API

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BuildsGrpc.BuildsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

submitBuild(SubmitBuildRequest request)

public ListenableFuture<SubmitBuildResponse> submitBuild(SubmitBuildRequest request)

Submits a build in a given project.

Parameter
Name Description
request SubmitBuildRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SubmitBuildResponse>