Class AssetServiceGrpc.AssetServiceStub (3.6.0)

public static final class AssetServiceGrpc.AssetServiceStub extends AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>

Asset service definition.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AssetServiceGrpc.AssetServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createFeed(CreateFeedRequest request, StreamObserver<Feed> responseObserver)

public void createFeed(CreateFeedRequest request, StreamObserver<Feed> responseObserver)

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

Parameters
Name Description
request CreateFeedRequest
responseObserver io.grpc.stub.StreamObserver<Feed>

deleteFeed(DeleteFeedRequest request, StreamObserver<Empty> responseObserver)

public void deleteFeed(DeleteFeedRequest request, StreamObserver<Empty> responseObserver)

Deletes an asset feed.

Parameters
Name Description
request DeleteFeedRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getFeed(GetFeedRequest request, StreamObserver<Feed> responseObserver)

public void getFeed(GetFeedRequest request, StreamObserver<Feed> responseObserver)

Gets details about an asset feed.

Parameters
Name Description
request GetFeedRequest
responseObserver io.grpc.stub.StreamObserver<Feed>

listFeeds(ListFeedsRequest request, StreamObserver<ListFeedsResponse> responseObserver)

public void listFeeds(ListFeedsRequest request, StreamObserver<ListFeedsResponse> responseObserver)

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

Parameters
Name Description
request ListFeedsRequest
responseObserver io.grpc.stub.StreamObserver<ListFeedsResponse>

updateFeed(UpdateFeedRequest request, StreamObserver<Feed> responseObserver)

public void updateFeed(UpdateFeedRequest request, StreamObserver<Feed> responseObserver)

Updates an asset feed configuration.

Parameters
Name Description
request UpdateFeedRequest
responseObserver io.grpc.stub.StreamObserver<Feed>