Class AssetServiceGrpc.AssetServiceFutureStub (3.44.0)

public static final class AssetServiceGrpc.AssetServiceFutureStub extends AbstractFutureStub<AssetServiceGrpc.AssetServiceFutureStub>

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

Asset service definition.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AssetServiceGrpc.AssetServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createFeed(CreateFeedRequest request)

public ListenableFuture<Feed> createFeed(CreateFeedRequest request)

Creates a feed in a parent project/folder/organization to listen to its asset updates.

Parameter
Name Description
request CreateFeedRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Feed>

deleteFeed(DeleteFeedRequest request)

public ListenableFuture<Empty> deleteFeed(DeleteFeedRequest request)

Deletes an asset feed.

Parameter
Name Description
request DeleteFeedRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getFeed(GetFeedRequest request)

public ListenableFuture<Feed> getFeed(GetFeedRequest request)

Gets details about an asset feed.

Parameter
Name Description
request GetFeedRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Feed>

listFeeds(ListFeedsRequest request)

public ListenableFuture<ListFeedsResponse> listFeeds(ListFeedsRequest request)

Lists all asset feeds in a parent project/folder/organization.

Parameter
Name Description
request ListFeedsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListFeedsResponse>

updateFeed(UpdateFeedRequest request)

public ListenableFuture<Feed> updateFeed(UpdateFeedRequest request)

Updates an asset feed configuration.

Parameter
Name Description
request UpdateFeedRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Feed>