Class AssetServiceGrpc.AssetServiceStub

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateFeedRequest
responseObserverio.grpc.stub.StreamObserver<Feed>

deleteFeed(DeleteFeedRequest request, StreamObserver<Empty> responseObserver)

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

Deletes an asset feed.

Parameters
NameDescription
requestDeleteFeedRequest
responseObserverio.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
NameDescription
requestGetFeedRequest
responseObserverio.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
NameDescription
requestListFeedsRequest
responseObserverio.grpc.stub.StreamObserver<ListFeedsResponse>

updateFeed(UpdateFeedRequest request, StreamObserver<Feed> responseObserver)

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

Updates an asset feed configuration.

Parameters
NameDescription
requestUpdateFeedRequest
responseObserverio.grpc.stub.StreamObserver<Feed>