Class AssetServiceGrpc.AssetServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
com.google.cloud.asset.v1p2beta1.AssetServiceGrpc.AssetServiceStub
Enclosing class:
AssetServiceGrpc

public static final class AssetServiceGrpc.AssetServiceStub extends io.grpc.stub.AbstractAsyncStub<AssetServiceGrpc.AssetServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AssetService.
 Asset service definition.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createFeed(CreateFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
    Creates a feed in a parent project/folder/organization to listen to its asset updates.
    void
    deleteFeed(DeleteFeedRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes an asset feed.
    void
    getFeed(GetFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
    Gets details about an asset feed.
    void
    listFeeds(ListFeedsRequest request, io.grpc.stub.StreamObserver<ListFeedsResponse> responseObserver)
    Lists all asset feeds in a parent project/folder/organization.
    void
    updateFeed(UpdateFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
    Updates an asset feed configuration.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected AssetServiceGrpc.AssetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceStub>
    • createFeed

      public void createFeed(CreateFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
       Creates a feed in a parent project/folder/organization to listen to its
       asset updates.
       
    • getFeed

      public void getFeed(GetFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
       Gets details about an asset feed.
       
    • listFeeds

      public void listFeeds(ListFeedsRequest request, io.grpc.stub.StreamObserver<ListFeedsResponse> responseObserver)
       Lists all asset feeds in a parent project/folder/organization.
       
    • updateFeed

      public void updateFeed(UpdateFeedRequest request, io.grpc.stub.StreamObserver<Feed> responseObserver)
       Updates an asset feed configuration.
       
    • deleteFeed

      public void deleteFeed(DeleteFeedRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes an asset feed.