Class AssetServiceGrpc.AssetServiceFutureStub (3.7.1)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateFeedRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Feed>

deleteFeed(DeleteFeedRequest request)

public ListenableFuture<Empty> deleteFeed(DeleteFeedRequest request)

Deletes an asset feed.

Parameter
NameDescription
requestDeleteFeedRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getFeed(GetFeedRequest request)

public ListenableFuture<Feed> getFeed(GetFeedRequest request)

Gets details about an asset feed.

Parameter
NameDescription
requestGetFeedRequest
Returns
TypeDescription
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
NameDescription
requestListFeedsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListFeedsResponse>

updateFeed(UpdateFeedRequest request)

public ListenableFuture<Feed> updateFeed(UpdateFeedRequest request)

Updates an asset feed configuration.

Parameter
NameDescription
requestUpdateFeedRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Feed>