Class AssetServiceGrpc.AssetServiceBlockingV2Stub

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

public static final class AssetServiceGrpc.AssetServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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)
     
    Creates a feed in a parent project/folder/organization to listen to its asset updates.
    com.google.protobuf.Empty
    Deletes an asset feed.
    Gets details about an asset feed.
    Lists all asset feeds in a parent project/folder/organization.
    Updates an asset feed configuration.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    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.AssetServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AssetServiceGrpc.AssetServiceBlockingV2Stub>
    • createFeed

      public Feed createFeed(CreateFeedRequest request) throws io.grpc.StatusException
       Creates a feed in a parent project/folder/organization to listen to its
       asset updates.
       
      Throws:
      io.grpc.StatusException
    • getFeed

      public Feed getFeed(GetFeedRequest request) throws io.grpc.StatusException
       Gets details about an asset feed.
       
      Throws:
      io.grpc.StatusException
    • listFeeds

      public ListFeedsResponse listFeeds(ListFeedsRequest request) throws io.grpc.StatusException
       Lists all asset feeds in a parent project/folder/organization.
       
      Throws:
      io.grpc.StatusException
    • updateFeed

      public Feed updateFeed(UpdateFeedRequest request) throws io.grpc.StatusException
       Updates an asset feed configuration.
       
      Throws:
      io.grpc.StatusException
    • deleteFeed

      public com.google.protobuf.Empty deleteFeed(DeleteFeedRequest request) throws io.grpc.StatusException
       Deletes an asset feed.
       
      Throws:
      io.grpc.StatusException