Class AssetServiceGrpc.AssetServiceFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AssetServiceGrpc.AssetServiceFutureStub>
com.google.ads.googleads.v18.services.AssetServiceGrpc.AssetServiceFutureStub
Enclosing class:
AssetServiceGrpc

public static final class AssetServiceGrpc.AssetServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AssetServiceGrpc.AssetServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service AssetService.
 Service to manage assets. Asset types can be created with AssetService are
 YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be
 created with Ad inline.
 
  • 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)
     
    com.google.common.util.concurrent.ListenableFuture<MutateAssetsResponse>
    Creates assets.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

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

      public com.google.common.util.concurrent.ListenableFuture<MutateAssetsResponse> mutateAssets(MutateAssetsRequest request)
       Creates assets. Operation statuses are returned.
       List of thrown errors:
         [AssetError]()
         [AuthenticationError]()
         [AuthorizationError]()
         [CollectionSizeError]()
         [CurrencyCodeError]()
         [DatabaseError]()
         [DateError]()
         [DistinctError]()
         [FieldError]()
         [FieldMaskError]()
         [HeaderError]()
         [IdError]()
         [InternalError]()
         [ListOperationError]()
         [MediaUploadError]()
         [MutateError]()
         [NotAllowlistedError]()
         [NotEmptyError]()
         [OperatorError]()
         [QuotaError]()
         [RangeError]()
         [RequestError]()
         [SizeLimitError]()
         [StringFormatError]()
         [StringLengthError]()
         [UrlFieldError]()
         [YoutubeVideoRegistrationError]()